2020-01-30 14:37:50 +01:00
|
|
|
# Valgrind suppressions file for Dash.
|
2017-11-13 14:59:29 +01:00
|
|
|
#
|
|
|
|
# Includes known Valgrind warnings in our dependencies that cannot be fixed
|
|
|
|
# in-tree.
|
|
|
|
#
|
|
|
|
# Example use:
|
2020-01-30 14:37:50 +01:00
|
|
|
# $ valgrind --suppressions=contrib/valgrind.supp src/test/test_dash
|
2017-11-13 14:59:29 +01:00
|
|
|
# $ valgrind --suppressions=contrib/valgrind.supp --leak-check=full \
|
2020-01-30 14:37:50 +01:00
|
|
|
# --show-leak-kinds=all src/test/test_dash --log_level=test_suite
|
2017-11-13 14:59:29 +01:00
|
|
|
{
|
|
|
|
Suppress libstdc++ warning - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434
|
|
|
|
Memcheck:Leak
|
|
|
|
match-leak-kinds: reachable
|
|
|
|
fun:malloc
|
|
|
|
obj:*/libstdc++.*
|
|
|
|
fun:call_init.part.0
|
|
|
|
fun:call_init
|
|
|
|
fun:_dl_init
|
|
|
|
obj:*/ld-*.so
|
|
|
|
}
|
|
|
|
{
|
|
|
|
Suppress libdb warning - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662917
|
|
|
|
Memcheck:Cond
|
|
|
|
obj:*/libdb_cxx-*.so
|
|
|
|
fun:__log_put
|
|
|
|
obj:*/libdb_cxx-*.so
|
|
|
|
fun:__log_put_record
|
|
|
|
}
|
|
|
|
{
|
|
|
|
Suppress leveldb warning (leveldb::InitModule()) - https://github.com/google/leveldb/issues/113
|
|
|
|
Memcheck:Leak
|
|
|
|
match-leak-kinds: reachable
|
|
|
|
fun:_Znwm
|
|
|
|
fun:_ZN7leveldbL10InitModuleEv
|
|
|
|
}
|
|
|
|
{
|
|
|
|
Suppress leveldb warning (leveldb::Env::Default()) - https://github.com/google/leveldb/issues/113
|
|
|
|
Memcheck:Leak
|
|
|
|
match-leak-kinds: reachable
|
|
|
|
fun:_Znwm
|
|
|
|
...
|
|
|
|
fun:_ZN7leveldbL14InitDefaultEnvEv
|
|
|
|
}
|