summaryrefslogtreecommitdiffstats
path: root/valgrind.supp
blob: 0691e808953736c18935b1a8bafeca5f10e42d0a (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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# pacman suppressions for valgrind.
#
# To have valgrind use this file (and have pactest use it as well),
# just create a ~/.valgrindrc containing the following line:
# --suppressions=/full/path/to/valgrind.supp
#
# Format of this file is:
# {
#     name_of_suppression
#     tool_name:supp_kind
#     (optional extra info for some suppression types)
#     caller0 name, or /name/of/so/file.so
#     caller1 name, or ditto
#     (optionally: caller2 name)
#     (optionally: caller3 name)
#  }
#
# For Memcheck, the supp_kinds are:
#
#     Param Value1 Value2 Value4 Value8 Value16
#     Free Addr1 Addr2 Addr4 Addr8 Addr16
#     Cond (previously known as Value0)
#
# and the optional extra info is:
#     if Param: name of system call param
#     if Free: name of free-ing fn)

## OpenSSL suppressions, seen when invoking libfetch on a HTTPS URL
{
   openssl-supp-bin2bn
   Memcheck:Cond
   fun:BN_bin2bn
}
{
   openssl-supp-bits-word-cond
   Memcheck:Cond
   fun:BN_num_bits_word
}
{
   openssl-supp-bits-word-value
   Memcheck:Value8
   fun:BN_num_bits_word
}
{
   openssl-supp-mod-exp
   Memcheck:Value8
   fun:BN_mod_exp_mont_consttime
}
{
   openssl-supp-load-compressions
   Memcheck:Leak
   fun:malloc
   fun:CRYPTO_malloc
   ...
   fun:load_builtin_compressions
   fun:SSL_COMP_get_compression_methods
   fun:SSL_library_init
}
{
   gpgme-static-get-engine-info
   Memcheck:Leak
   fun:malloc
   ...
   fun:gpgme_get_engine_info
}
{
   gpgme-static-get-key
   Memcheck:Leak
   fun:calloc
   ...
   fun:gpgme_get_key
}
{
   gpgme-static-set-engine-info
   Memcheck:Leak
   fun:malloc
   ...
   fun:gpgme_set_engine_info
}
{
   gpgme-static-set-locale
   Memcheck:Leak
   fun:malloc
   fun:strdup
   fun:gpgme_set_locale
}
{
   memcpy-is-really-memmove-stupid-glibc
   Memcheck:Overlap
   fun:memcpy
   fun:strtrim
   fun:_parseconfig
   ...
   fun:parseconfig
}
{
   memcpy-inside-readdir
   Memcheck:Overlap
   fun:memcpy
   obj:/lib/libc-2.14.so
   ...
   fun:readdir
}
{
   memcpy-inside-regexec
   Memcheck:Overlap
   fun:memcpy
   obj:/lib/libc-2.14.so
   ...
   fun:regexec
}
{
   fakeroot-msgsnd
   Memcheck:Param
   msgsnd(msgp->mtext)
   fun:__msgsnd_nocancel
}
{
   fakechroot-add-to-environ
   Memcheck:Leak
   fun:malloc
   fun:__add_to_environ
}
{
   fakechroot-static-fakechroot-init-malloc
   Memcheck:Leak
   fun:malloc
   ...
   fun:fakechroot_init
}
{
   fakechroot-static-fakechroot-init-calloc
   Memcheck:Leak
   fun:calloc
   ...
   fun:fakechroot_init
}
{
   fakechroot-static-bindtextdomain
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:malloc
   obj:/usr/lib/libfakeroot/fakechroot/libfakechroot.so
   obj:/usr/lib/libfakeroot/fakechroot/libfakechroot.so
   fun:bindtextdomain
}
{
   fakechroot-uninitialized-var-lxstat
   Memcheck:Cond
   fun:__lxstat
}
{
   bash-is-a-sieve
   Memcheck:Leak
   match-leak-kinds: reachable,definite,indirect
   ...
   obj:*/bash
}
{
   fakechroot-call-init
   Memcheck:Leak
   match-leak-kinds: reachable
   fun:malloc
   obj:/usr/lib/libfakeroot/fakechroot/libfakechroot.so
   fun:call_init.part.0
   fun:_dl_init
   obj:/usr/lib/ld-*.so
   ...
}