summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-18 18:45:55 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-18 18:45:55 +0000
commitb939448ae6fc933ac382bc602c9cdea05a4c9ad1 (patch)
treeaf9a8cf2001d204e747ddb909f1decd3a38a41c4 /tools
parent4baf1c4dc1a9c340a7c837f0073b0724e06832d2 (diff)
downloadchromium_src-b939448ae6fc933ac382bc602c9cdea05a4c9ad1.zip
chromium_src-b939448ae6fc933ac382bc602c9cdea05a4c9ad1.tar.gz
chromium_src-b939448ae6fc933ac382bc602c9cdea05a4c9ad1.tar.bz2
Add valgrind suppressions which cover zlib inflate and deflate.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2077007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/valgrind/memcheck/suppressions.txt105
1 files changed, 46 insertions, 59 deletions
diff --git a/tools/valgrind/memcheck/suppressions.txt b/tools/valgrind/memcheck/suppressions.txt
index d876d12..119d25c 100644
--- a/tools/valgrind/memcheck/suppressions.txt
+++ b/tools/valgrind/memcheck/suppressions.txt
@@ -409,27 +409,57 @@
fun:_Znw*
fun:_ZN13TCMallocGuardC1Ev
}
+# zlib-1.2.x uses uninitialised memory in some tricky way which
+# apparently is harmless (it must amount to a vectorised while-loop,
+# nothing else makes sense). Fools Memcheck though. See the mentioned
+# URL for details.
+# Valgrind already suppresses deflate-related errors. These rules
+# filter "*flate", capturing issues with both deflate and inflate.
+{
+ zlib-1.2.x trickyness (1a): See http://www.zlib.net/zlib_faq.html#faq36
+ Memcheck:Cond
+ obj:/*lib*/libz.so.1.2.*
+ ...
+ obj:/*lib*/libz.so.1.2.*
+ fun:*flate
+}
{
- # zlib is smarter than we are:
- # http://www.zlib.net/zlib_faq.html#faq36
- zlib_conditional_jump_performance_a
- Memcheck:Value4
- ...
- fun:inflate
- fun:_ZN4spdy10SpdyFramer15DecompressFrameEPKNS_9SpdyFrameE
- ...
+ zlib-1.2.x trickyness (1b): See http://www.zlib.net/zlib_faq.html#faq36
+ Memcheck:Cond
+ obj:/*lib*/libz.so.1.2.*
+ fun:*flate
+}
+
+{
+ zlib-1.2.x trickyness (2a): See http://www.zlib.net/zlib_faq.html#faq36
+ Memcheck:Value8
+ obj:/*lib*/libz.so.1.2.*
+ ...
+ obj:/*lib*/libz.so.1.2.*
+ fun:*flate
}
{
- # zlib is smarter than we are:
- # http://www.zlib.net/zlib_faq.html#faq36
- zlib_conditional_jump_performance_b
- Memcheck:Value8
- ...
- fun:inflate
- fun:_ZN4spdy10SpdyFramer15DecompressFrameEPKNS_9SpdyFrameE
- ...
+ zlib-1.2.x trickyness (2b): See http://www.zlib.net/zlib_faq.html#faq36
+ Memcheck:Value8
+ obj:/*lib*/libz.so.1.2.*
+ fun:*flate
}
{
+ zlib-1.2.x trickyness (3a): See http://www.zlib.net/zlib_faq.html#faq36
+ Memcheck:Value4
+ obj:/*lib*/libz.so.1.2.*
+ ...
+ obj:/*lib*/libz.so.1.2.*
+ fun:*flate
+}
+{
+ zlib-1.2.x trickyness (3b): See http://www.zlib.net/zlib_faq.html#faq36
+ Memcheck:Value4
+ obj:/*lib*/libz.so.1.2.*
+ fun:*flate
+}
+#-- end of zlib filters
+{
bug_33394
Memcheck:Leak
fun:calloc
@@ -1891,49 +1921,6 @@
fun:_ZN7WebCore11RenderLayer38updateCompositingAndLayerListsIfNeededEv
}
{
- bug_30667a
- Memcheck:Value4
- fun:inflate
- fun:_ZN4spdy10SpdyFramer15DecompressFrameEPKNS_9SpdyFrameE
- ...
- fun:_ZN7testing4Test3RunEv
- fun:_ZN7testing8internal12TestInfoImpl3RunEv
- fun:_ZN7testing8TestCase3RunEv
- fun:_ZN7testing8internal12UnitTestImpl11RunAllTestsEv
- fun:_ZN7testing8UnitTest3RunEv
- fun:_ZN9TestSuite3RunEv
- fun:main
-}
-{
- bug_30667b
- Memcheck:Cond
- fun:inflate_fast
- fun:inflate
- fun:_ZN4spdy10SpdyFramer15DecompressFrameEPKNS_9SpdyFrameE
- ...
- fun:_ZN7testing4Test3RunEv
- fun:_ZN7testing8internal12TestInfoImpl3RunEv
- fun:_ZN7testing8TestCase3RunEv
- fun:_ZN7testing8internal12UnitTestImpl11RunAllTestsEv
- fun:_ZN7testing8UnitTest3RunEv
- fun:_ZN9TestSuite3RunEv
- fun:main
-}
-{
- bug_30667c
- Memcheck:Cond
- fun:inflate
- fun:_ZN4spdy10SpdyFramer15DecompressFrameEPKNS_9SpdyFrameE
- ...
- fun:_ZN7testing4Test3RunEv
- fun:_ZN7testing8internal12TestInfoImpl3RunEv
- fun:_ZN7testing8TestCase3RunEv
- fun:_ZN7testing8internal12UnitTestImpl11RunAllTestsEv
- fun:_ZN7testing8UnitTest3RunEv
- fun:_ZN9TestSuite3RunEv
- fun:main
-}
-{
bug_30703a
Memcheck:Param
write(buf)