Debian Codegraph @

tools/valgrind_suppressions_armhf

raw
1 # ld
2
3 {
4 ld_value4
5 Memcheck:Value4
6 obj:/lib/arm-linux-gnueabihf/ld-2.*.so
7 }
8
9 {
10 ld_cond
11 Memcheck:Cond
12 obj:/lib/arm-linux-gnueabihf/ld-2.*.so
13 }
14
15
16 {
17 ld_open
18 Memcheck:Param
19 open(filename)
20 obj:/lib/arm-linux-gnueabihf/ld-2.*.so
21 }
22
23 {
24 ld_getcwd
25 Memcheck:Param
26 getcwd(buf)
27 obj:/lib/arm-linux-gnueabihf/ld-2.*.so
28 }
29
30 {
31 ld_stat64
32 Memcheck:Param
33 stat64(file_name)
34 obj:/lib/arm-linux-gnueabihf/ld-2.*.so
35 }
36
37 # libc
38
39 {
40 libc_freeres_value4
41 Memcheck:Value4
42 ...
43 fun:__libc_freeres
44 ...
45 }
46
47 {
48 libc_freeres_cond
49 Memcheck:Cond
50 ...
51 fun:__libc_freeres
52 ...
53 }
54
55 {
56 libc_udivmoddi4_cond
57 Memcheck:Cond
58 fun:__udivmoddi4
59 }
60
61 {
62 libc_udivmoddi4_value4
63 Memcheck:Value4
64 fun:__udivmoddi4
65 }
66
67 # It's unfortunate that we need these, since they will
68 # suppress errors Addr4 and Value4 from libc regardless
69 # of call depth
70 {
71 libc_addr4
72 Memcheck:Addr4
73 obj:/lib/arm-linux-gnueabihf/libc-2.*.so
74 }
75
76 {
77 libc_value4
78 Memcheck:Value4
79 obj:/lib/arm-linux-gnueabihf/libc-2.*.so
80 }
81
82 # libgcc_s
83
84 {
85 libgcc_s_value4
86 Memcheck:Value4
87 ...
88 obj:/lib/arm-linux-gnueabihf/libgcc_s.so.1
89 }
90
91 {
92 libgcc_s_addr4
93 Memcheck:Addr4
94 ...
95 obj:/lib/arm-linux-gnueabihf/libgcc_s.so.1
96 }
97
98 {
99 libgcc_s_cond
100 Memcheck:Cond
101 ...
102 obj:/lib/arm-linux-gnueabihf/libgcc_s.so.1
103 }
104
105 # libdl
106 # Valgrind thinks that dlopen returns an uninitialized
107 # value, so all dlsym calls cause spurious memory errors
108 # since they use that value.
109
110 {
111 dlopen_cond
112 Memcheck:Cond
113 ...
114 fun:dlopen@@GLIBC_2.4
115 ...
116 }
117
118 {
119 dlsym_value4
120 Memcheck:Value4
121 ...
122 fun:dlsym
123 ...
124 }
125
126 {
127 dlvsym_value4
128 Memcheck:Addr4
129 ...
130 fun:dlvsym
131 ...
132 }
133
134 {
135 dlsym_cond
136 Memcheck:Cond
137 ...
138 fun:dlsym
139 ...
140 }
141
142 {
143 dlopen_cond
144 Memcheck:Cond
145 fun:calloc
146 fun:_dl_new_object
147 ...
148 }
149
150 # mir::SharedLibrary
151 # Valgrind thinks that dlopen returns an uninitialized
152 # value, so all checks using that value cause spurious
153 # memory errors.
154
155 {
156 spurious_strlen_addr4
157 Memcheck:Addr4
158 ...
159 fun:dlsym
160 ...
161 fun:_ZN50SharedLibrary_load_nonexistent_function_fails_Test8TestBodyEv
162 }
163
164 {
165 mir_sharedlibrary_cond
166 Memcheck:Cond
167 fun:_ZN3mir13SharedLibraryC1EPKc
168 ...
169 }
170
171 # glib is not valgrind-friendly
172
173 {
174 glib_create_type_instance
175 Memcheck:Addr4
176 fun:g_type_create_instance
177 }
178
179 {
180 glib_slice_alloc0
181 Memcheck:Addr4
182 fun:memset
183 fun:g_slice_alloc0
184 }
185
186 # futex
187
188 {
189 futex_utime
190 Memcheck:Param
191 futex(utime)
192 fun:syscall
193 fun:_ZNSt28__atomic_futex_unsigned_base19_M_futex_wait_untilEPjjbNSt6chrono8durationIxSt5ratioILx1ELx1EEEENS2*
194 }
195
196 {
197 futex_timeout
198 Memcheck:Param
199 futex(timeout)
200 fun:syscall
201 fun:_ZNSt28__atomic_futex_unsigned_base19_M_futex_wait_untilEPjjbNSt6chrono8durationIxSt5ratioILx1ELx1EEEENS2*
202 }
203
204 # remove_if_stale, false positive due to '-O2' optimization level
205
206 {
207 remove_if_stale
208 Memcheck:Cond
209 fun:remove_if_stale
210 }