1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
{
Supressions because the memory leak detector will print content of memory but can't know whether it is initialized or not
Memcheck:Cond
fun:strnlen
fun:vfprintf
fun:__vsnprintf_chk
}
{
Same as the above, but this one is more specific for clang. This allows the clang to fail on other vprintf errors where it is suppressed at gcc
Memcheck:Cond
...
fun:_ZN18SimpleStringBuffer3addEPKcz
...
fun:_ZN18MemoryLeakDetector25ConstructMemoryLeakReportE13MemLeakPeriod
fun:_ZN18MemoryLeakDetector6reportE13MemLeakPeriod
...
}
{
Supression because it checks whether the memory was set invalid after a de-alloc
Memcheck:Addr1
fun:_ZN45TEST_BasicBehavior_freeInvalidatesMemory_Test8testBodyEv
fun:PlatformSpecificSetJmp
...
}
{
Supression because it checks whether the memory was set invalid after a de-alloc
Memcheck:Addr1
fun:_ZN47TEST_BasicBehavior_deleteInvalidatesMemory_Test8testBodyEv
fun:PlatformSpecificSetJmp
...
}
{
Supression because it checks whether the memory was set invalid after a de-alloc
Memcheck:Addr1
fun:_ZN52TEST_BasicBehavior_deleteArrayInvalidatesMemory_Test8testBodyEv
fun:PlatformSpecificSetJmp
...
}
|