diff options
author | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 14:43:56 +0000 |
---|---|---|
committer | timurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 14:43:56 +0000 |
commit | b5442cec207913616828e46f490c9242df8ffb86 (patch) | |
tree | 8439fd2402e0b2f899d364f7e63850e5e705aa58 /tools/valgrind/drmemory_analyze.py | |
parent | 4e5625e38cc2033aa6ad074c3754d47e4f8cd0cc (diff) | |
download | chromium_src-b5442cec207913616828e46f490c9242df8ffb86.zip chromium_src-b5442cec207913616828e46f490c9242df8ffb86.tar.gz chromium_src-b5442cec207913616828e46f490c9242df8ffb86.tar.bz2 |
Update Dr. Memory suppressions and analyzer
TBR=glider
Review URL: http://codereview.chromium.org/3461030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60644 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/valgrind/drmemory_analyze.py')
-rwxr-xr-x | tools/valgrind/drmemory_analyze.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/valgrind/drmemory_analyze.py b/tools/valgrind/drmemory_analyze.py index 05b9bd7..9dfbe6c 100755 --- a/tools/valgrind/drmemory_analyze.py +++ b/tools/valgrind/drmemory_analyze.py @@ -65,6 +65,16 @@ class DrMemoryAnalyze: self.ReadLine() continue + # Dr. Memory sometimes prints adjacent malloc'ed regions next to the + # 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: + result.append(tmp_line) + self.ReadLine() + continue + match_binary_fname = re.search("(0x[0-9a-fA-F]+) <.*> (.*)!([^+]*)" "(?:\+0x[0-9a-fA-F]+)?\n", tmp_line) self.ReadLine() |