add suppressions for dlopen() and friends

This commit is contained in:
Axel Kohlmeyer
2025-04-06 03:02:34 -04:00
parent 0cc6fb8e18
commit 860a3cbbd3
2 changed files with 83 additions and 12 deletions

69
tools/valgrind/libc.supp Normal file
View File

@ -0,0 +1,69 @@
{
libc_dlopen1
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:malloc
fun:strdup
fun:_dl_load_cache_lookup
fun:_dl_map_object
fun:dl_open_worker_begin
fun:_dl_catch_exception
fun:dl_open_worker
fun:_dl_catch_exception
fun:_dl_open
fun:do_dlopen
fun:_dl_catch_exception
fun:_dl_catch_error
}
{
libc_dlopen2
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:*
fun:_dl_new_object
fun:_dl_map_object_from_fd
fun:_dl_map_object
fun:dl_open_worker_begin
fun:_dl_catch_exception
fun:dl_open_worker
fun:_dl_catch_exception
fun:_dl_open
fun:do_dlopen
fun:_dl_catch_exception
fun:_dl_catch_error
}
{
libc_dlopen3
Memcheck:Leak
match-leak-kinds: reachable
fun:calloc
fun:*
fun:_dl_check_map_versions
fun:dl_open_worker_begin
fun:_dl_catch_exception
fun:dl_open_worker
fun:_dl_catch_exception
fun:_dl_open
fun:do_dlopen
...
}
{
libc_dlopen4
Memcheck:Leak
match-leak-kinds: reachable
fun:calloc
fun:*
fun:_dl_new_object
fun:_dl_map_object_from_fd
fun:_dl_map_object
fun:dl_open_worker_begin
fun:_dl_catch_exception
fun:dl_open_worker
fun:_dl_catch_exception
fun:_dl_open
fun:do_dlopen
fun:_dl_catch_exception
fun:_dl_catch_error
}