summaryrefslogtreecommitdiffstats
path: root/tools/vg-suppressions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /tools/vg-suppressions
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/vg-suppressions')
-rw-r--r--tools/vg-suppressions119
1 files changed, 119 insertions, 0 deletions
diff --git a/tools/vg-suppressions b/tools/vg-suppressions
new file mode 100644
index 0000000..d778cc3
--- /dev/null
+++ b/tools/vg-suppressions
@@ -0,0 +1,119 @@
+# This file lists suppressions to hide valgrind errors in libraries we don't
+# control. Be careful adding to it, since overly-broad suppressions may hide
+# real errors in Wireshark!
+#
+# This is primarily targeted towards the set of libraries on the fuzz-bot (which
+# runs a valgrind step) but other entries are welcome as long as they are
+# sufficiently commented.
+{
+ Libgcrypt leak (gcry_control)
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:malloc
+ ...
+ fun:gcry_control
+ fun:epan_init
+ fun:main
+}
+
+{
+ Libgcrypt leak (gcry_check_version)
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:malloc
+ ...
+ fun:epan_get_runtime_version_info
+ fun:get_tshark_runtime_version_info
+ fun:get_runtime_version_info
+ fun:main
+}
+
+{
+ Glib Leak (g_get_charset)
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:*alloc
+ ...
+ fun:g_get_charset
+}
+
+{
+ Glib Leak (g_get_filename_charsets)
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:*alloc
+ ...
+ fun:g_get_filename_charsets
+}
+
+{
+ Glib Leak (g_strerror)
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:*alloc
+ ...
+ fun:g_strerror
+}
+
+{
+ Glib leak (g_get_home_dir)
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ ...
+ fun:g_get_home_dir
+}
+
+{
+ Glib leak (get_global_random) - requires glib debug symbols
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ ...
+ fun:get_global_random
+ fun:g_random_*
+}
+
+{
+ Glib leak (g_get_user_config_dir)
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ ...
+ fun:g_get_user_config_dir
+}
+
+{
+ Glib leak (g_module)
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ ...
+ fun:g_module_*
+ ...
+}
+
+{
+ Glib leak (g_private_get) - requires glib debugging symbols installed
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:malloc
+ ...
+ fun:g_private_get*
+}
+
+{
+ Glib leak (g_log)
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:malloc
+ fun:g_malloc
+ ...
+ fun:g_log_set_handler_full
+}
+
+{
+ Libc and GLib leak (dl_init)
+ Memcheck:Leak
+ fun:*alloc
+ ...
+ fun:call_init.part.0
+ ...
+ fun:_dl_init
+}