summaryrefslogtreecommitdiffstats
path: root/tools/vg-suppressions
blob: d778cc3290d8444f4877bc20e525047082dcc64d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
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
}