Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: tools/valgrind/drmemory_analyze.py

Issue 7491093: Suppress uninitialized read reports below GetStandardColorSpaceProfile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/valgrind/drmemory/suppressions.txt ('k') | tools/valgrind/valgrind_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/drmemory_analyze.py
===================================================================
--- tools/valgrind/drmemory_analyze.py (revision 95071)
+++ tools/valgrind/drmemory_analyze.py (working copy)
@@ -50,7 +50,7 @@
"chromium\\src\\",
"crt_bld\\self_x86\\",
]
- CUT_STACK_BELOW = ".*testing.*Test.*Run.*"
+ CUT_STACK_BELOW = ".*testing.*Test.*Run.*|testing::internal.*"
result = [self.line_]
self.ReadLine()
@@ -70,8 +70,8 @@
# access address in the UNADDRESSABLE ACCESS reports like this:
# Note: next higher malloc: <address range>
# Note: prev lower malloc: <address range>
- match_malloc_info = re.search("Note: .* malloc: +0x.*", tmp_line)
- if match_malloc_info:
+ # Note: 0x1234-0x5678 overlaps freed memory 0x1000-0x6000
+ if tmp_line.startswith("Note: "):
result.append(tmp_line)
self.ReadLine()
continue
@@ -87,7 +87,8 @@
if re.search(CUT_STACK_BELOW, fname):
break
report_line = (" #%2i %-50s" % (cnt, fname))
- if not re.search("\.exe\+0x", binary):
+ if (not re.search("\.exe\+0x", binary) and
+ not re.search("chrome\.dll", binary)):
# Print the DLL name
report_line += " " + binary
src, lineno = match_src_line.groups()
« no previous file with comments | « tools/valgrind/drmemory/suppressions.txt ('k') | tools/valgrind/valgrind_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698