Merge branch 'upstream' into tizen
[platform/upstream/gnutls.git] / tests / suppressions.valgrind
1 # suppressions -- Valgrind suppresion file for libgcrypt
2
3 # Copyright (C) 2008-2012 Free Software Foundation, Inc.
4
5 # Copying and distribution of this file, with or without modification,
6 # are permitted in any medium without royalty provided the copyright
7 # notice and this notice are preserved.
8
9 {
10    zlib inflateInit
11    Memcheck:Cond
12    fun:inflateReset2
13    fun:inflateInit2_
14    fun:_gnutls_comp_init
15    fun:_gnutls_init_record_state
16    fun:_gnutls_epoch_set_keys
17    fun:_gnutls_write_connection_state_init
18    fun:_gnutls_send_handshake_final
19 }
20
21 {
22    libgcrypt1
23    Memcheck:Leak
24    fun:malloc
25    fun:_gcry_private_malloc
26    fun:do_malloc
27    fun:_gcry_malloc
28    fun:_gcry_module_add
29    fun:gcry_pk_register_default
30    fun:_gcry_pk_init
31    fun:global_init
32    fun:_gcry_check_version
33    fun:gcry_check_version
34    fun:gnutls_global_init
35 }
36
37 {
38    libgcrypt1-new
39    Memcheck:Leak
40    fun:malloc
41    fun:_gcry_private_malloc
42    fun:do_malloc
43    fun:_gcry_malloc
44    fun:_gcry_module_add
45    fun:pk_register_default
46    fun:_gcry_pk_init
47    fun:global_init
48    fun:_gcry_check_version
49    fun:gcry_check_version
50    fun:gnutls_global_init
51 }
52
53 {
54    libgcrypt2
55    Memcheck:Leak
56    fun:malloc
57    fun:_gcry_private_malloc
58    fun:do_malloc
59    fun:_gcry_malloc
60    fun:_gcry_module_add
61    fun:gcry_md_register_default
62    fun:_gcry_md_init
63    fun:global_init
64    fun:_gcry_check_version
65    fun:gcry_check_version
66    fun:gnutls_global_init
67 }
68
69 {
70    libgcrypt2-new
71    Memcheck:Leak
72    fun:malloc
73    fun:_gcry_private_malloc
74    fun:do_malloc
75    fun:_gcry_malloc
76    fun:_gcry_module_add
77    fun:md_register_default
78    fun:_gcry_md_init
79    fun:global_init
80    fun:_gcry_check_version
81    fun:gcry_check_version
82    fun:gnutls_global_init
83 }
84
85 {
86    libgcrypt3
87    Memcheck:Leak
88    fun:malloc
89    fun:_gcry_private_malloc
90    fun:do_malloc
91    fun:_gcry_malloc
92    fun:_gcry_module_add
93    fun:gcry_cipher_register_default
94    fun:_gcry_cipher_init
95    fun:global_init
96    fun:_gcry_check_version
97    fun:gcry_check_version
98    fun:gnutls_global_init
99 }
100
101 {
102    libgcrypt3-new
103    Memcheck:Leak
104    fun:malloc
105    fun:_gcry_private_malloc
106    fun:do_malloc
107    fun:_gcry_malloc
108    fun:_gcry_module_add
109    fun:cipher_register_default
110    fun:_gcry_cipher_init
111    fun:global_init
112    fun:_gcry_check_version
113    fun:gcry_check_version
114    fun:gnutls_global_init
115 }
116
117 {
118    libgcrypt4
119    Memcheck:Leak
120    fun:malloc
121    fun:do_malloc
122    fun:_gcry_malloc
123    fun:_gcry_xmalloc
124    fun:_gcry_xcalloc
125    fun:initialize
126    fun:_gcry_randomize
127    fun:gcry_randomize
128    fun:gc_pseudo_random
129    fun:_gnutls_rnd_init
130    fun:gnutls_global_init
131 }
132
133 {
134    libgcrypt5
135    Memcheck:Leak
136    fun:malloc
137    fun:_gcry_private_malloc
138    fun:do_malloc
139    fun:_gcry_malloc
140    fun:_gcry_xmalloc
141    fun:_gcry_xcalloc
142    fun:initialize
143    fun:_gcry_randomize
144    fun:gcry_randomize
145    fun:gc_pseudo_random
146    fun:_gnutls_rnd_init
147    fun:gnutls_global_init
148 }
149
150 {
151    libgcrypt6
152    Memcheck:Leak
153    fun:malloc
154    fun:do_malloc
155    fun:_gcry_malloc
156    fun:_gcry_xmalloc
157    fun:_gcry_xcalloc
158    fun:initialize
159    fun:_gcry_create_nonce
160    fun:gcry_create_nonce
161    fun:wrap_gcry_rnd_init
162    fun:_gnutls_rnd_init
163    fun:gnutls_global_init
164 }
165
166 {
167    libgcrypt7
168    Memcheck:Leak
169    fun:malloc
170    fun:_gcry_private_malloc
171    fun:do_malloc
172    fun:_gcry_malloc
173    fun:_gcry_xmalloc
174    fun:_gcry_xcalloc
175    fun:initialize
176    fun:_gcry_create_nonce
177    fun:gcry_create_nonce
178    fun:wrap_gcry_rnd_init
179    fun:_gnutls_rnd_init
180    fun:gnutls_global_init
181 }
182
183 {
184    libgcrypt7-new
185    Memcheck:Leak
186    fun:malloc
187    fun:_gcry_private_malloc
188    fun:do_malloc
189    fun:_gcry_malloc
190    fun:_gcry_xmalloc
191    fun:_gcry_xcalloc
192    fun:initialize
193    fun:_gcry_rngcsprng_create_nonce
194    fun:_gcry_create_nonce
195    fun:gcry_create_nonce
196    fun:wrap_gcry_rnd_init
197    fun:_gnutls_rnd_init
198    fun:gnutls_global_init
199 }
200
201 {
202    ignore p11 leaks
203    Memcheck:Leak
204    fun:calloc
205    obj:*
206    obj:*
207    obj:*
208    obj:*
209    fun:p11_kit_initialize_registered
210    fun:gnutls_pkcs11_init
211    fun:gnutls_global_init
212 }
213
214 {
215    nettle memxor3
216    Memcheck:Addr8
217    fun:memxor3
218    obj:*
219 }
220
221 {
222    nettle memxor
223    Memcheck:Addr8
224    fun:memxor
225    obj:*
226 }
227
228 {
229    memxor_different_alignment
230    Memcheck:Addr8
231    fun:memxor_different_alignment
232    obj:*
233 }
234
235 {
236    libidn-strlen
237    Memcheck:Addr4
238    fun:idna_to_ascii_4z
239    fun:idna_to_ascii_8z
240    fun:gnutls_x509_crt_check_hostname2
241    ...
242 }
243
244 {
245    libidn-strlen2
246    Memcheck:Addr4
247    fun:idna_to_ascii_4z
248    fun:idna_to_ascii_8z
249    fun:gnutls_server_name_set
250    ...
251 }
252
253 {
254    libidn-strlen2
255    Memcheck:Addr4
256    fun:idna_to_ascii_4z
257    fun:idna_to_ascii_8z
258    fun:gnutls_server_name_get
259    ...
260 }
261
262 {
263    bash leak
264    Memcheck:Leak
265    match-leak-kinds: definite
266    fun:malloc
267    fun:xmalloc
268    fun:set_default_locale
269    fun:main
270 }