blob: 72b346a4fb4752ba9ea2550383682e3e44bef74d [file] [log] [blame]
daywalker63f6f782003-05-27 00:19:52 +00001
2##----------------------------------------------------------------------##
3
4# Errors to suppress by default with glibc 2.3.x
5
6# Format of this file is:
7# {
8# name_of_suppression
nethercote137bc552003-11-14 17:47:54 +00009# tool_name:supp_kind
daywalker63f6f782003-05-27 00:19:52 +000010# (optional extra info for some suppression types)
11# caller0 name, or /name/of/so/file.so
12# caller1 name, or ditto
13# (optionally: caller2 name)
14# (optionally: caller3 name)
15# }
16#
17# For Memcheck, the supp_kinds are:
18#
njnc0616662003-06-12 09:58:41 +000019# Param Value1 Value2 Value4 Value8 Value16
20# Free Addr1 Addr2 Addr4 Addr8 Addr16
daywalker63f6f782003-05-27 00:19:52 +000021# Cond (previously known as Value0)
22#
23# and the optional extra info is:
24# if Param: name of system call param
25# if Free: name of free-ing fn)
26
daywalker63f6f782003-05-27 00:19:52 +000027{
28 __GI___stpcpy/*
29 Memcheck:Cond
30 fun:__GI___stpcpy
31 fun:*
32}
33{
34 strlen/__GI__dl_open/dlopen_doit
35 Memcheck:Cond
36 fun:strlen
37 fun:__GI__dl_open
38 fun:dlopen_doit
39}
40{
41 strlen/_dl_signal_cerror/_dl_lookup_symbol_internal/do_dlsym
42 Memcheck:Cond
43 fun:_dl_signal_cerror
44 fun:_dl_lookup_symbol_internal
45 fun:do_dlsym
46}
daywalkere1879992003-06-03 14:49:54 +000047{
48 strlen/*dl_map_object*(Cond)
49 Memcheck:Cond
50 fun:strlen
51 fun:*dl_map_object*
52}
daywalker63f6f782003-05-27 00:19:52 +000053
daywalkere1879992003-06-03 14:49:54 +000054{
55 strlen/*dl_open_worker*(Cond)
56 Memcheck:Cond
57 fun:strlen
58 fun:*dl_open_worker*
59}
60{
61 strlen/_dl_sym/dlsym_doit
62 Memcheck:Cond
63 fun:strlen
64 fun:_dl_sym
65 fun:dlsym_doit
66}
67{
68 realpath is inefficiently coded
njnd84bde72003-09-15 07:19:19 +000069 Addrcheck,Memcheck:Overlap
daywalkere1879992003-06-03 14:49:54 +000070 fun:memcpy
daywalker777aff52003-07-18 08:06:27 +000071 fun:realpath*
daywalkere1879992003-06-03 14:49:54 +000072}
73
74{
75 realpath stupidity part II
njnd84bde72003-09-15 07:19:19 +000076 Addrcheck,Memcheck:Overlap
daywalkere1879992003-06-03 14:49:54 +000077 fun:strcpy
daywalker777aff52003-07-18 08:06:27 +000078 fun:realpath*
daywalkere1879992003-06-03 14:49:54 +000079}
80{
81 strlen/decompose_rpath/_dl_map_object
82 Memcheck:Cond
83 fun:strlen
84 fun:decompose_rpath
85 fun:*dl_map_object*
86}
87{
88 stpcpy/_dl_sym*
89 Memcheck:Cond
90 fun:__stpcpy
91 fun:_dl_*
92}
daywalker63f6f782003-05-27 00:19:52 +000093
94#-------- For R H 8.0
95{
96 elf_dynamic_do_rel.7/_dl_relocate_object_internal/dl_open_worker(Cond)
97 Memcheck:Cond
98 fun:elf_dynamic_do_rel.7
99 fun:_dl_relocate_object_internal
100 fun:dl_open_worker
101}
daywalkere1879992003-06-03 14:49:54 +0000102{
103 dl_relocate/dl_open_worker
104 Memcheck:Cond
105 fun:_dl_relocate_object_internal
106 fun:dl_open_worker
107}
108
daywalker63f6f782003-05-27 00:19:52 +0000109
110#-------- Threading bugs?
111# glibc 'knows' that destroying a locked mutex will unlock it
112{
113 pthread_error/__pthread_mutex_destroy/__closedir
114 core:PThread
115 fun:pthread_error
116 fun:__pthread_mutex_destroy
117 fun:__closedir
118}
119
120{
121 pthread_error/__pthread_mutex_destroy/_IO_default_finish
122 core:PThread
123 fun:pthread_error
124 fun:__pthread_mutex_destroy
125 fun:_IO_default_finish*
126}
127
128{
129 __pthread_mutex_unlock/_IO_funlockfile
130 core:PThread
131 fun:__pthread_mutex_unlock
132 fun:_IO_funlockfile
133}
134
135##----------------------------------------------------------------------##
136## For a leak in Valgrind's own libpthread.so :(
137{
138 my_malloc/get_or_allocate_specifics_ptr/__pthread_key_create(Leak)
139 Memcheck:Leak
140 fun:my_malloc
141 fun:get_or_allocate_specifics_ptr
142 fun:__pthread_key_create
143}
144
sewardj7c874c72003-09-27 21:25:30 +0000145##----------------------------------------------------------------------##
146## Bugs in helper library supplied with Intel Icc 7.0 (65)
147## in /opt/intel/compiler70/ia32/lib/libcxa.so.3
148{
149 Intel compiler70/ia32/lib/libcxa.so.3 below-esp accesses
150 Addrcheck,Memcheck:Addr4
151 obj:/opt/intel/compiler70/ia32/lib/libcxa.so.3
152}