blob: ef85328b44d5f16c69bcae85f6a6bf016ba8c3c8 [file] [log] [blame]
dirk07596a22008-04-25 11:33:30 +00001
2##----------------------------------------------------------------------##
3
4# Errors to suppress by default with glibc @GLIBC_VERSION@.x
5
sewardj84eb4872008-06-03 20:58:46 +00006# IMPORTANT: DO NOT EDIT glibc-2.X.supp, as it is as a generated
7# file. Instead edit glibc-2.X.supp.in.
8
dirk07596a22008-04-25 11:33:30 +00009# Format of this file is:
10# {
11# name_of_suppression
12# tool_name:supp_kind
13# (optional extra info for some suppression types)
14# caller0 name, or /name/of/so/file.so
15# caller1 name, or ditto
16# (optionally: caller2 name)
17# (optionally: caller3 name)
18# }
19#
20# For Memcheck, the supp_kinds are:
21#
22# Param Value1 Value2 Value4 Value8 Value16 Jump
23# Free Addr1 Addr2 Addr4 Addr8 Addr16
24# Cond (previously known as Value0)
25#
26# and the optional extra info is:
27# if Param: name of system call param
28
sewardj84eb4872008-06-03 20:58:46 +000029##----------------------------------------------------------------------##
30##--- generic suppressions ---##
31##----------------------------------------------------------------------##
dirk07596a22008-04-25 11:33:30 +000032
33{
sewardj113fca22008-10-21 23:09:25 +000034 dl-hack3-cond-0
35 Memcheck:Cond
36 fun:_dl_start
37 fun:_start
38}
39{
sewardj84eb4872008-06-03 20:58:46 +000040 dl-hack3-cond-1
dirk07596a22008-04-25 11:33:30 +000041 Memcheck:Cond
42 obj:/lib*/ld-@GLIBC_VERSION@*.so*
43 obj:/lib*/ld-@GLIBC_VERSION@*.so*
44 obj:/lib*/ld-@GLIBC_VERSION@*.so*
45}
46{
sewardj84eb4872008-06-03 20:58:46 +000047 dl-hack3-cond-2
dirk07596a22008-04-25 11:33:30 +000048 Memcheck:Cond
49 obj:/lib*/ld-@GLIBC_VERSION@*.so*
50 obj:/lib*/ld-@GLIBC_VERSION@*.so*
51 obj:/lib*/libc-@GLIBC_VERSION@*.so*
52}
sewardj84eb4872008-06-03 20:58:46 +000053{
54 dl-hack3-cond-3
55 Memcheck:Cond
56 obj:/lib*/ld-@GLIBC_VERSION@*.so*
57 obj:/lib*/libc-@GLIBC_VERSION@*.so*
58 obj:/lib*/libc-@GLIBC_VERSION@*.so*
59}
60{
61 dl-hack3-cond-4
62 Memcheck:Cond
63 obj:/lib*/ld-@GLIBC_VERSION@*.so*
64 obj:/lib*/ld-@GLIBC_VERSION@*.so*
65 obj:/lib*/libdl-@GLIBC_VERSION@*.so*
66}
dirk07596a22008-04-25 11:33:30 +000067
68{
sewardj84eb4872008-06-03 20:58:46 +000069 dl-hack4-64bit-addr-1
dirk07596a22008-04-25 11:33:30 +000070 Memcheck:Addr8
sewardj84eb4872008-06-03 20:58:46 +000071 obj:/lib*/ld-@GLIBC_VERSION@*.so*
72 obj:/lib*/ld-@GLIBC_VERSION@*.so*
73 obj:/lib*/ld-@GLIBC_VERSION@*.so*
dirk07596a22008-04-25 11:33:30 +000074}
75{
sewardj84eb4872008-06-03 20:58:46 +000076 dl-hack4-64bit-addr-2
dirk07596a22008-04-25 11:33:30 +000077 Memcheck:Addr8
sewardj84eb4872008-06-03 20:58:46 +000078 obj:/lib*/ld-@GLIBC_VERSION@*.so*
79 obj:/lib*/ld-@GLIBC_VERSION@*.so*
80 obj:/lib*/libc-@GLIBC_VERSION@*.so*
dirk07596a22008-04-25 11:33:30 +000081}
82{
sewardj84eb4872008-06-03 20:58:46 +000083 dl-hack4-64bit-addr-3
dirk07596a22008-04-25 11:33:30 +000084 Memcheck:Addr8
sewardj84eb4872008-06-03 20:58:46 +000085 obj:/lib*/ld-@GLIBC_VERSION@*.so*
86 obj:/lib*/ld-@GLIBC_VERSION@*.so*
87 obj:/lib*/libdl-@GLIBC_VERSION@*.so*
88}
89
90{
91 dl-hack5-32bit-addr-1
92 Memcheck:Addr4
93 obj:/lib*/ld-@GLIBC_VERSION@*.so
94 obj:/lib*/ld-@GLIBC_VERSION@*.so
95 obj:/lib*/ld-@GLIBC_VERSION@*.so
96}
97{
98 dl-hack5-32bit-addr-3
99 Memcheck:Addr4
100 obj:/lib*/ld-@GLIBC_VERSION@*.so
101 obj:/lib*/ld-@GLIBC_VERSION@*.so
102 obj:/lib*/libdl-@GLIBC_VERSION@*.so*
103}
104{
105 dl-hack5-32bit-addr-4
106 Memcheck:Addr4
107 obj:/lib*/ld-@GLIBC_VERSION@*.so
108 obj:/lib*/libdl-@GLIBC_VERSION@*.so*
109 obj:/lib*/ld-@GLIBC_VERSION@*.so
dirk07596a22008-04-25 11:33:30 +0000110}
111
112
sewardj84eb4872008-06-03 20:58:46 +0000113##----------------------------------------------------------------------##
114##--- Misc ad-hoc hacks ---##
dirk07596a22008-04-25 11:33:30 +0000115##----------------------------------------------------------------------##
116{
117 glibc-2.5.x-on-SUSE-10.2-(PPC)-1
118 Memcheck:Cond
119 fun:_dl_start_final
120 fun:_dl_start
121 fun:_start
122}
123{
124 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
125 Memcheck:Cond
126 fun:index
127 obj:*ld-@GLIBC_VERSION@.*.so
128}
129{
130 glibc-2.5.x-on-SuSE-10.2-(PPC)-2b
131 Memcheck:Addr4
132 fun:index
133 fun:expand_dynamic_string_token
134}
135{
136 glibc-2.5.5-on-SuSE-10.2-(PPC)-2c
137 Memcheck:Addr4
138 fun:index
139 obj:*ld-@GLIBC_VERSION@.*.so
140}
141{
142 glibc-2.3.5-on-SuSE-10.1-(PPC)-3
143 Memcheck:Addr4
144 fun:*wordcopy_fwd_dest_aligned*
145 fun:mem*cpy
146 obj:*lib*@GLIBC_VERSION@.*.so
147}
148
149{
150 glibc-@GLIBC_VERSION@-on-SUSE-10.3-(x86)
151 Memcheck:Addr4
152 obj:/lib/ld-@GLIBC_VERSION@*.so
153 obj:/lib/ld-@GLIBC_VERSION@*.so
154 obj:/lib/ld-@GLIBC_VERSION@*.so
155}
156
157{
158 glibc24-64bit-padding-1a
159 Memcheck:Param
160 socketcall.sendto(msg)
161 fun:send
162 fun:get_mapping
163 fun:__nscd_get_map_ref
164 fun:nscd*
165}
166{
167 glibc24-64bit-padding-1b
168 Memcheck:Param
169 socketcall.sendto(msg)
170 fun:__sendto_nocancel
171 obj:/*libc-@GLIBC_VERSION@.so
172 obj:/*libc-@GLIBC_VERSION@.so
173 obj:/*libc-@GLIBC_VERSION@.so
174}
175{
176 glibc24-64bit-padding-1c
177 Memcheck:Param
178 socketcall.send(msg)
179 fun:send
180 fun:__nscd_get_map_ref
181 fun:nscd_get*_r
182 fun:*nscd*
183 obj:/*libc-@GLIBC_VERSION@.so
184}
185
186
187{
188 X11-64bit-padding-3a
189 Memcheck:Param
190 write(buf)
191 obj:/*libpthread-2.4.so*
192 obj:/usr/lib*/libX11.so*
193 obj:/usr/lib*/libX11.so*
194 obj:/usr/lib*/libX11.so*
195}
196
197{
198 X11-64bit-padding-4a
199 Memcheck:Param
200 socketcall.sendto(msg)
201 fun:send
202 obj:/*libc-@GLIBC_VERSION@.so
203 obj:/*libc-@GLIBC_VERSION@.so
204 obj:/*libc-@GLIBC_VERSION@.so
205}
206{
207 X11-64bit-padding-4b
208 Memcheck:Param
209 socketcall.send(msg)
210 fun:send
211 obj:/*libc-@GLIBC_VERSION@.so
212 obj:/*libc-@GLIBC_VERSION@.so
213 obj:/*libc-@GLIBC_VERSION@.so
214}
215
216##----------------------------------------------------------------------##
217# MontaVista Linux 4.0.1 on ppc32
218{
219 MVL-401-linuxthreads-pthread_create
220 Memcheck:Param
221 write(buf)
222 fun:pthread_create
223}
224{
225 MVL-401-linuxthreads-pthread_create
226 Memcheck:Param
227 write(buf)
228 obj:/lib/libpthread-0.10.so
229 fun:pthread_create
230}