enhunce the valgrind theme
less red sections highlight null adresses
This commit is contained in:
parent
f7ae2118e7
commit
d47272663d
1 changed files with 8 additions and 1 deletions
|
|
@ -4,11 +4,18 @@ def theme(context):
|
|||
|
||||
return context, [
|
||||
# section title
|
||||
["^(==[0-9]+==\s{1})(Memcheck|Copyright|Using)(.*)$","blue",""],
|
||||
["^(==[0-9]+==\s{1}Command: )(\S*)(.*)$","green,white","normal,bold,normal"],
|
||||
["^(==[0-9]+==\s{1})(HEAP SUMMARY:)(.*)$","green",""],
|
||||
["^(==[0-9]+==\s{1})(All heap blocks were freed)(.*)$","green",""],
|
||||
["^(==[0-9]+==\s{1})(For counts of detected and suppressed errors, rerun with: -v)(.*)$","blue",""],
|
||||
["^(==[0-9]+==\s{1}\S+.*)$","red",""],
|
||||
# section explanation
|
||||
["^==[0-9]+==\s{2}(\S+.*)$","orange",""],
|
||||
# locations adresses
|
||||
["^==[0-9]+==\s{4}([atby]{2}) (0x)([^:]*): (\S+) ",
|
||||
["^==[0-9]+==\s{4}([atby]{2}) (0x0): (\?{3})",
|
||||
"blue,yellow,red", "normal,normal,bold"],
|
||||
["^==[0-9]+==\s{4}([atby]{2}) (0x)([^:]*:) (\S+)",
|
||||
"blue,blue,blue,none", "normal"],
|
||||
# locations: library
|
||||
["\(in (.*)\)", "cyan", "normal"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue