-
Notifications
You must be signed in to change notification settings - Fork 12
/
glibc-2.3.supp
563 lines (522 loc) · 11 KB
/
glibc-2.3.supp
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
##----------------------------------------------------------------------##
# Errors to suppress by default with glibc 2.3.x
# 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 Jump
# Free Addr1 Addr2 Addr4 Addr8 Addr16
# Cond (previously known as Value0)
#
# and the optional extra info is:
# if Param: name of system call param
{
__GI___stpcpy/*
Memcheck:Cond
fun:__GI___stpcpy
fun:*
}
{
strlen/__GI__dl_open/dlopen_doit
Memcheck:Cond
fun:strlen
fun:__GI__dl_open
fun:dlopen_doit
}
{
strlen/_dl_signal_cerror/_dl_lookup_symbol_internal/do_dlsym
Memcheck:Cond
fun:_dl_signal_cerror
fun:_dl_lookup_symbol_internal
fun:do_dlsym
}
{
strlen/*dl_map_object*(Cond)
Memcheck:Cond
fun:strlen
fun:*dl_map_object*
}
{
strlen/*dl_open_worker*(Cond)
Memcheck:Cond
fun:strlen
fun:*dl_open_worker*
}
{
strlen/_dl_sym/dlsym_doit
Memcheck:Cond
fun:strlen
fun:_dl_sym
fun:dlsym_doit
}
{
realpath is inefficiently coded
Memcheck:Overlap
fun:memcpy
fun:realpath*
}
{
realpath stupidity part II
Memcheck:Overlap
fun:strcpy
fun:realpath*
}
{
strlen/decompose_rpath/_dl_map_object
Memcheck:Cond
fun:strlen
fun:decompose_rpath
fun:*dl_map_object*
}
{
stpcpy/_dl_sym*
Memcheck:Cond
fun:__stpcpy
fun:_dl_*
}
#-------- For R H 8.0
{
elf_dynamic_do_rel.7/_dl_relocate_object_internal/dl_open_worker(Cond)
Memcheck:Cond
fun:elf_dynamic_do_rel.7
fun:_dl_relocate_object_internal
fun:dl_open_worker
}
{
dl_relocate/dl_open_worker
Memcheck:Cond
fun:_dl_relocate_object_internal
fun:dl_open_worker
}
{
RedHat8-1
Memcheck:Cond
fun:elf_dynamic_do_rela.8
fun:_dl_relocate_object
fun:dl_main
fun:_dl_sysdep_start
}
{
RedHat8-2
Memcheck:Cond
fun:elf_dynamic_do_rel.7
fun:_dl_relocate_object
fun:dl_main
fun:_dl_sysdep_start
}
{
RedHat8-3
Memcheck:Cond
fun:elf_dynamic_do_rela.8
fun:_dl_relocate_object
fun:dl_open_worker
}
#-------- glibc 2.3.2/ Fedora Core 1
{
dl_relocate/dl_main
Memcheck:Cond
fun:_dl_relocate_object_internal
fun:dl_main
}
#-------- glibc 2.3.3/ Fedora Core 2
{
dl_relocate_object/dl_main
Memcheck:Cond
fun:_dl_relocate_object
fun:dl_main
}
{
_dl_relocate_object/dl_open_worker
Memcheck:Cond
fun:_dl_relocate_object
fun:dl_open_worker
}
#-------- glibc 2.3.4/ Fedora Core 3
{
dl_relocate_object
Memcheck:Cond
fun:_dl_relocate_object
}
##----------------------------------------------------------------------##
## Bugs in helper library supplied with Intel Icc 7.0 (65)
## in /opt/intel/compiler70/ia32/lib/libcxa.so.3
{
Intel compiler70/ia32/lib/libcxa.so.3 below-esp accesses
Memcheck:Addr4
obj:/opt/intel/compiler70/ia32/lib/libcxa.so.3
}
##----------------------------------------------------------------------##
## SuSE 9 after FV changes (post 2.1.0)
{
strlen/_dl_init_paths/dl_main/_dl_sysdep_start(Cond)
Memcheck:Cond
fun:strlen
fun:_dl_init_paths
fun:dl_main
fun:_dl_sysdep_start
}
{
Ugly strchr error in /lib/ld-2.3.2.so
Memcheck:Cond
obj:/lib/ld-2.3.2.so
}
##----------------------------------------------------------------------##
## SuSE 9.1 with post 2.1.2
{
Ugly strchr error in /lib/ld-2.3.3.so
Memcheck:Cond
obj:/lib/ld-2.3.3.so
}
##----------------------------------------------------------------------##
## SuSE 9.1 with 3.0 branch (x86)
{
Strstr dubiousness in pthread_initialize
Memcheck:Cond
fun:strstr
fun:pthread_initialize
obj:/lib/libpthread.so.0
obj:/lib/libpthread.so.0
}
##----------------------------------------------------------------------##
## glibc-2.3.3 on FC2
## Assumes that sysctl returns \0-terminated strings in is_smp_system
#{
# Unterminated strstr string in is_smp_system() (NPTL)
# Memcheck:Cond
# fun:strstr
# fun:__pthread_initialize_minimal
# obj:/lib/tls/libpthread*.so*
# obj:/lib/tls/libpthread*.so*
#}
#{
# Unterminated strstr string in is_smp_system() (LinuxThreads)
# Memcheck:Cond
# fun:strstr
# fun:pthread_initialize
# obj:/lib/i686/libpthread*.so*
# obj:/lib/i686/libpthread*.so*
#}
#{
# Unterminated strstr string in is_smp_system() (LinuxThreads)
# Memcheck:Cond
# fun:strstr
# fun:pthread_initialize
# obj:/lib/libpthread-0.10.so
# obj:/lib/libpthread-0.10.so
#}
## Bug in PRE(sys_clone), really. Some args are not used.
{
LinuxThread clone use (parent_tidptr)
Memcheck:Param
clone(parent_tidptr)
fun:clone
fun:pthread_create
}
{
LinuxThread clone use (child_tidptr)
Memcheck:Param
clone(child_tidptr)
fun:clone
fun:pthread_create
}
{
LinuxThread clone use (tlsinfo)
Memcheck:Param
clone(tlsinfo)
fun:clone
fun:pthread_create
}
{
LinuxThread clone use (parent_tidptr)
Memcheck:Param
clone(parent_tidptr)
fun:clone
fun:pthread_create@@GLIBC_2.1
}
{
LinuxThread clone use (child_tidptr)
Memcheck:Param
clone(child_tidptr)
fun:clone
fun:pthread_create@@GLIBC_2.1
}
{
LinuxThread clone use (tlsinfo)
Memcheck:Param
clone(tlsinfo)
fun:clone
fun:pthread_create@@GLIBC_2.1
}
## LinuxThreads manager writes messages containing undefined bytes
{
LinuxThreads: write/pthread_onexit_process
Memcheck:Param
write(buf)
fun:pthread_onexit_process
fun:exit
}
{
LinuxThreads: write/pthread_join
Memcheck:Param
write(buf)
fun:pthread_join
}
{
LinuxThreads: write/pthread_create
Memcheck:Param
write(buf)
fun:pthread_create@@GLIBC_2.1
}
{
LinuxThreads: write/pthread_create 2
Memcheck:Param
write(buf)
fun:write
fun:pthread_create@@GLIBC_2.1
fun:main
}
{
LinuxThreads: write/__pthread_initialize_manager/pthread_create
Memcheck:Param
write(buf)
fun:__pthread_initialize_manager
fun:pthread_create@@GLIBC_2.1
}
{
LinuxThreads: write/pthread_create
Memcheck:Param
write(buf)
fun:write
fun:pthread_create
}
## LinuxThreads leaks the stack and TLS data for the manager thread
{
LinuxThreads: leaks stack of manager thread
Memcheck:Leak
fun:malloc
fun:__pthread_initialize_manager
fun:pthread_create@@GLIBC_2.1
}
{
LinuxThreads: leaks TLS data for manager thread
Memcheck:Leak
fun:calloc
fun:_dl_allocate_tls
fun:__pthread_initialize_minimal
}
{
LinuxThreads: leaks TLS data for manager thread
Memcheck:Leak
fun:memalign
fun:_dl_allocate_tls
fun:__pthread_initialize_minimal
}
##----------------------------------------------------------------------##
## glibc-2.3.4 on FC3
## Assumes that sysctl returns \0-terminated strings in is_smp_system
#{
# Unterminated strstr string in is_smp_system() (NPTL)
# Memcheck:Cond
# fun:strstr
# fun:__pthread_initialize_minimal
# obj:/lib/tls/libpthread-2.3.4.so
# obj:/lib/tls/libpthread-2.3.4.so
#}
#{
# Unterminated strstr string in is_smp_system() (NPTL)
# Memcheck:Cond
# fun:strstr
# fun:__pthread_initialize_minimal
# obj:/lib64/tls/libpthread*.so*
#}
##----------------------------------------------------------------------##
## glibc-2.3.5 on FC4
## Assumes that sysctl returns \0-terminated strings in is_smp_system
#{
# Unterminated strstr string in is_smp_system() (NPTL)
# Memcheck:Cond
# fun:strstr
# fun:__pthread_initialize_minimal
# obj:*/libpthread-2.3.5.so
# obj:*/libpthread-2.3.5.so
#}
##----------------------------------------------------------------------##
#
# I don't know why this is needed, but still:
{
glibc-2.3.x-on-SuSE-10.0-(PPC)-1
Memcheck:Cond
fun:_dl_start
fun:_start
}
{
glibc-2.3.x-on-SuSE-10.1-(PPC)-1
Memcheck:Cond
fun:_dl_start_final
fun:_dl_start
fun:_start
}
{
glibc-2.3.x-on-SuSE-10.0/10.1-(PPC)-2a
Memcheck:Cond
fun:index
obj:*ld-2.3.*.so
}
{
glibc-2.3.x-on-SuSE-10.0/10.1-(PPC)-2b
Memcheck:Addr4
fun:index
fun:expand_dynamic_string_token
}
{
glibc-2.3.5-on-SuSE-10.0/10.1-(PPC)-2c
Memcheck:Addr4
fun:index
obj:*ld-2.3.*.so
}
{
glibc-2.3.5-on-SuSE-10.0/10.1-(PPC)-3
Memcheck:Addr4
fun:*wordcopy_fwd_dest_aligned*
fun:mem*cpy
obj:*lib*2.3.*.so
}
{
glibc-2.3.5-on-SuSE-10.0/10.1-(PPC)-4
Memcheck:Addr4
fun:bcmp
fun:*rpath*
fun:*rpath*
fun:*rpath*
}
##----------------------------------------------------------------------##
# Hacks pertaining to the fact that our intercept mechanism can't
# always get hold of strlen early enough, due to idiocy in the low
# level memory manager.
## HACK to do with strlen not being intercepted early enough
{
strlen-not-intercepted-early-enough-HACK-1
Memcheck:Addr4
fun:strlen
fun:_dl_map_object_from_fd
fun:_dl_map_object
}
{
strlen-not-intercepted-early-enough-HACK-2
Memcheck:Addr4
fun:strlen
fun:decompose_rpath
fun:cache_rpath
fun:_dl_map_object
}
{
strlen-not-intercepted-early-enough-HACK-3
Memcheck:Cond
fun:strlen
fun:_dl_new_object
fun:_dl_map_object_from_fd
fun:_dl_map_object
}
{
strlen-not-intercepted-early-enough-HACK-4
Memcheck:Cond
fun:strlen
fun:expand_dynamic_string_token
fun:_dl_map_object
}
{
strlen-not-intercepted-early-enough-HACK-5
Memcheck:Cond
fun:strlen
fun:fillin_rpath
fun:_dl_init_paths
}
## HACK to do with index not being intercepted early enough
{
index-not-intercepted-early-enough-HACK-1
Memcheck:Cond
fun:index
obj:*
fun:_dl_map_object
}
{
index-not-intercepted-early-enough-HACK-2
Memcheck:Cond
fun:index
fun:_dl_map_object
obj:*
fun:_dl_catch_error
}
{
index-not-intercepted-early-enough-HACK-3
Memcheck:Cond
fun:index
fun:_dl_map_object
obj:*
fun:_dl_sysdep_start
}
{
index-not-intercepted-early-enough-HACK-4
Memcheck:Cond
fun:index
fun:expand_dynamic_string_token
}
##----------------------------------------------------------------------##
## MontaVista 3.1 on ppc32 integer only
{
MontaVista-3.1-ppc32-#1
Memcheck:Value4
obj:/lib/ld-2.3.2.so
obj:/lib/ld-2.3.2.so
fun:*dl_map_object*
obj:/lib/libc-2.3.2.so
}
{
MontaVista-3.1-ppc32-#2
Memcheck:Value4
fun:malloc
obj:/lib/ld-2.3.2.so
obj:/lib/ld-2.3.2.so
obj:/lib/libc-2.3.2.so
}
{
MontaVista-3.1-ppc32-#3
Memcheck:Value4
obj:/lib/ld-2.3.2.so
obj:/lib/ld-2.3.2.so
}
##----------------------------------------------------------------------##
## Ubuntu something (based on Debian 3.0?) on x86
{
Ubuntu-stripped-ld.so
Memcheck:Cond
obj:/lib/ld-2.3.*.so
obj:/lib/ld-2.3.*.so
obj:/lib/ld-2.3.*.so
obj:/lib/ld-2.3.*.so
obj:/lib/ld-2.3.*.so
}
##----------------------------------------------------------------------##
# MontaVista Linux 4.0.1 on ppc32
{
MVL-401-linuxthreads-pthread_create
Memcheck:Param
write(buf)
fun:pthread_create
}
{
MVL-401-linuxthreads-pthread_create
Memcheck:Param
write(buf)
obj:/lib/libpthread-0.10.so
fun:pthread_create
}