From b93d0753c68cce6f1d47261a33ac1b415c43fd1f Mon Sep 17 00:00:00 2001 From: Arkturius <63616260+Arkturius@users.noreply.github.com> Date: Wed, 22 May 2024 18:30:59 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(vsupp):=20dl=20and=20dbus=20?= =?UTF-8?q?errors=20suppressed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- valgrind.supp | 75 ++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 54 insertions(+), 21 deletions(-) diff --git a/valgrind.supp b/valgrind.supp index 04fc934..0e5f6fa 100644 --- a/valgrind.supp +++ b/valgrind.supp @@ -73,29 +73,62 @@ ... } { - name - Memcheck:Leak - fun:* - obj:* - ... - fun:_dl_* - ... + memcheck_malloc_suppressions + Memcheck:Leak + fun:malloc + ... + obj:/var/cache/nscd/passwd } { - name - Memcheck:Leak - fun:* - obj:* - ... - fun:dl_* - ... + memcheck_calloc_suppressions + Memcheck:Leak + fun:calloc + ... + obj:/var/cache/nscd/passwd } { - name - Memcheck:Addr8 - fun:* - obj:* - ... - fun:dl_* - ... + memcheck_realloc_suppressions + Memcheck:Leak + fun:realloc + ... + obj:/var/cache/nscd/passwd +} +{ + dl_catch_exception_suppressions + Memcheck:Leak + ... + fun:_dl_catch_exception + ... +} +{ + dl_catch_exception_suppressions_addr8 + Memcheck:Addr8 + ... + fun:_dl_catch_exception + ... +} +{ + dlopen_malloc-suppressions + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + ... + fun:_dl_open + ... +} +{ + _dl_init_suppressions + Memcheck:Leak + match-leak-kinds: reachable + fun:_Znwm + ... + fun:_dl_init +} +{ + dbus_suppressions + Memcheck:Leak + match-leak-kinds: reachable + ... + fun:_dbus* + ... }