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

Unified Diff: tools/valgrind/memcheck/suppressions.txt

Issue 1242008: Implement more sanity tests for Memcheck/Valgrind (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | « base/tools_sanity_unittest.cc ('k') | tools/valgrind/memcheck_analyze.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/valgrind/memcheck/suppressions.txt
===================================================================
--- tools/valgrind/memcheck/suppressions.txt (revision 42598)
+++ tools/valgrind/memcheck/suppressions.txt (working copy)
@@ -459,12 +459,90 @@
# 2. intentional unit test errors, or stuff that is somehow a false positive
# in our own code, or stuff that is so trivial it's not worth fixing
{
- Memcheck sanity test (ToolsSanityTest.MemoryLeak).
+ Memcheck sanity test (memory leak).
Memcheck:Leak
fun:_Zna*
fun:_ZN31ToolsSanityTest_MemoryLeak_Test8TestBodyEv
}
{
+ Memcheck sanity test (malloc/read left).
+ Memcheck:Addr1
+ fun:_Z29ReadValueOutOfArrayBoundsLeftPc
+ fun:_Z14MakeSomeErrorsPc*
+ fun:_ZN43ToolsSanityTest_AccessesToMallocMemory_Test8TestBodyEv
+}
+{
+ Memcheck sanity test (malloc/read right).
+ Memcheck:Addr1
+ fun:_Z30ReadValueOutOfArrayBoundsRightPc*
+ fun:_Z14MakeSomeErrorsPc*
+ fun:_ZN43ToolsSanityTest_AccessesToMallocMemory_Test8TestBodyEv
+}
+{
+ Memcheck sanity test (malloc/write left).
+ Memcheck:Addr1
+ fun:_Z30WriteValueOutOfArrayBoundsLeftPc
+ fun:_Z14MakeSomeErrorsPc*
+ fun:_ZN43ToolsSanityTest_AccessesToMallocMemory_Test8TestBodyEv
+}
+{
+ Memcheck sanity test (malloc/write right).
+ Memcheck:Addr1
+ fun:_Z31WriteValueOutOfArrayBoundsRightPc*
+ fun:_Z14MakeSomeErrorsPc*
+ fun:_ZN43ToolsSanityTest_AccessesToMallocMemory_Test8TestBodyEv
+}
+{
+ Memcheck sanity test (new/read left).
+ Memcheck:Addr1
+ fun:_Z29ReadValueOutOfArrayBoundsLeftPc
+ fun:_Z14MakeSomeErrorsPc*
+ fun:_ZN40ToolsSanityTest_AccessesToNewMemory_Test8TestBodyEv
+}
+{
+ Memcheck sanity test (new/read right).
+ Memcheck:Addr1
+ fun:_Z30ReadValueOutOfArrayBoundsRightPc*
+ fun:_Z14MakeSomeErrorsPc*
+ fun:_ZN40ToolsSanityTest_AccessesToNewMemory_Test8TestBodyEv
+}
+{
+ Memcheck sanity test (new/write left).
+ Memcheck:Addr1
+ fun:_Z30WriteValueOutOfArrayBoundsLeftPc
+ fun:_Z14MakeSomeErrorsPc*
+ fun:_ZN40ToolsSanityTest_AccessesToNewMemory_Test8TestBodyEv
+}
+{
+ Memcheck sanity test (new/write right).
+ Memcheck:Addr1
+ fun:_Z31WriteValueOutOfArrayBoundsRightPc*
+ fun:_Z14MakeSomeErrorsPc*
+ fun:_ZN40ToolsSanityTest_AccessesToNewMemory_Test8TestBodyEv
+}
+{
+ Memcheck sanity test (write after free).
+ Memcheck:Addr1
+ fun:_ZN43ToolsSanityTest_AccessesToMallocMemory_Test8TestBodyEv
+}
+{
+ Memcheck sanity test (write after delete).
+ Memcheck:Addr1
+ fun:_ZN40ToolsSanityTest_AccessesToNewMemory_Test8TestBodyEv
+}
+{
+ Memcheck sanity test (array deleted without []).
+ Memcheck:Free
+ ...
+ fun:_ZN46ToolsSanityTest_ArrayDeletedWithoutBraces_Test8TestBodyEv
+}
+{
+ Memcheck sanity test (single element deleted with []).
+ Memcheck:Free
+ ...
+ fun:_ZN51ToolsSanityTest_SingleElementDeletedWithBraces_Test8TestBodyEv
+}
+{
logging::InitLogging never frees filename. It would be hard to free properly.
Memcheck:Leak
...
« no previous file with comments | « base/tools_sanity_unittest.cc ('k') | tools/valgrind/memcheck_analyze.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698