From b4f072faf32066d21f553e45e628ddeafd853c79 Mon Sep 17 00:00:00 2001 From: Ryozuki Date: Thu, 9 Apr 2020 12:08:16 +0200 Subject: [PATCH] some valgrind suppressions --- valgrind.supp | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 valgrind.supp diff --git a/valgrind.supp b/valgrind.supp new file mode 100644 index 000000000..b4b137bc7 --- /dev/null +++ b/valgrind.supp @@ -0,0 +1,74 @@ +{ + io_write false positive + Memcheck:Param + write(buf) + fun:write + fun:_IO_file_write@@GLIBC* + fun:new_do_write + fun:_IO_do_write@@GLIBC* + fun:_IO_file_xsputn@@GLIBC* + fun:fwrite + fun:io_write + fun:_ZN13CDemoRecorder5StartEP8IStorageP8IConsolePKcS5_S5_P13SHA256_DIGESTjS5_jPhP10IOINTERNALPFbPKviPvESD_ + fun:_ZN7CClient18DemoRecorder_StartEPKcbi + fun:_ZN7CClient28DemoRecorder_HandleAutoStartEv + fun:_ZN7CClient19ProcessServerPacketEP9CNetChunk + fun:_ZN7CClient11PumpNetworkEv +} + +{ + curl leak + Memcheck:Leak + ... + fun:malloc + fun:strdup + obj:/usr/lib/libcurl.so.* + ... +} + +{ + libdl leak + Memcheck:Leak + ... + obj:/usr/lib/libdl-*.so + ... +} + +{ + libLLVM leak + Memcheck:Leak + ... + fun:malloc + ... + obj:/usr/lib/libLLVM-*.so + ... +} + +{ + driver leak + Memcheck:Leak + ... + fun:malloc + ... + obj:/usr/lib/dri/*_dri.so + ... +} + +{ + libssl leak + Memcheck:Leak + ... + fun:malloc + obj:/usr/lib/libssl.so.* + ... +} + +{ + libcrypto leak + Memcheck:Leak + match-leak-kinds: possible + fun:malloc + fun:CRYPTO_zalloc + obj:/usr/lib/libcrypto.so.* + ... +}