]>
Commit | Line | Data |
---|---|---|
9918d43a | 1 | # pacman suppressions for valgrind. |
8ffa6fa7 CX |
2 | # |
3 | # To have valgrind use this file (and have pactest use it as well), | |
4 | # just create a ~/.valgrindrc containing the following line: | |
5 | # --suppressions=/full/path/to/valgrind.supp | |
9918d43a AG |
6 | # |
7 | # Format of this file is: | |
8 | # { | |
9 | # name_of_suppression | |
10 | # tool_name:supp_kind | |
11 | # (optional extra info for some suppression types) | |
12 | # caller0 name, or /name/of/so/file.so | |
13 | # caller1 name, or ditto | |
14 | # (optionally: caller2 name) | |
15 | # (optionally: caller3 name) | |
16 | # } | |
17 | # | |
18 | # For Memcheck, the supp_kinds are: | |
19 | # | |
20 | # Param Value1 Value2 Value4 Value8 Value16 | |
21 | # Free Addr1 Addr2 Addr4 Addr8 Addr16 | |
22 | # Cond (previously known as Value0) | |
23 | # | |
24 | # and the optional extra info is: | |
25 | # if Param: name of system call param | |
26 | # if Free: name of free-ing fn) | |
27 | ||
b40c8e29 | 28 | ## OpenSSL suppressions, seen when invoking libfetch on a HTTPS URL |
9918d43a | 29 | { |
b40c8e29 | 30 | openssl-supp-bin2bn |
9918d43a | 31 | Memcheck:Cond |
b40c8e29 | 32 | fun:BN_bin2bn |
9918d43a | 33 | } |
8ffa6fa7 | 34 | { |
b40c8e29 DM |
35 | openssl-supp-bits-word-cond |
36 | Memcheck:Cond | |
37 | fun:BN_num_bits_word | |
38 | } | |
39 | { | |
40 | openssl-supp-bits-word-value | |
41 | Memcheck:Value8 | |
42 | fun:BN_num_bits_word | |
8ffa6fa7 | 43 | } |
8ffa6fa7 | 44 | { |
b40c8e29 DM |
45 | openssl-supp-mod-exp |
46 | Memcheck:Value8 | |
47 | fun:BN_mod_exp_mont_consttime | |
8ffa6fa7 | 48 | } |
82a70140 DM |
49 | { |
50 | openssl-supp-load-compressions | |
51 | Memcheck:Leak | |
52 | fun:malloc | |
53 | fun:CRYPTO_malloc | |
54 | ... | |
55 | fun:load_builtin_compressions | |
56 | fun:SSL_COMP_get_compression_methods | |
57 | fun:SSL_library_init | |
58 | } | |
1187edb3 DM |
59 | { |
60 | gpgme-static-get-engine-info | |
61 | Memcheck:Leak | |
62 | fun:malloc | |
63 | ... | |
64 | fun:gpgme_get_engine_info | |
65 | } | |
66 | { | |
67 | gpgme-static-set-engine-info | |
68 | Memcheck:Leak | |
69 | fun:malloc | |
70 | ... | |
1187edb3 DM |
71 | fun:gpgme_set_engine_info |
72 | } | |
73 | { | |
74 | gpgme-static-set-locale | |
75 | Memcheck:Leak | |
76 | fun:malloc | |
77 | fun:strdup | |
78 | fun:gpgme_set_locale | |
79 | } | |
83f99bfb DM |
80 | { |
81 | memcpy-is-really-memmove-stupid-glibc | |
82 | Memcheck:Overlap | |
83 | fun:memcpy | |
84 | fun:strtrim | |
85 | fun:_parseconfig | |
86 | ... | |
87 | fun:parseconfig | |
88 | } | |
89 | { | |
90 | memcpy-inside-readdir | |
91 | Memcheck:Overlap | |
92 | fun:memcpy | |
93 | obj:/lib/libc-2.14.so | |
94 | ... | |
95 | fun:readdir | |
96 | } | |
97 | { | |
98 | memcpy-inside-regexec | |
99 | Memcheck:Overlap | |
100 | fun:memcpy | |
101 | obj:/lib/libc-2.14.so | |
102 | ... | |
103 | fun:regexec | |
104 | } |