gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 1 | |
| 2 | ##----------------------------------------------------------------------## |
| 3 | |
sewardj | 4532839 | 2002-05-16 20:57:26 +0000 | [diff] [blame] | 4 | # Errors to suppress by default with glibc 2.2.4 / 2.2.5 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 5 | |
| 6 | # Format of this file is: |
| 7 | # { |
| 8 | # name_of_suppression |
nethercote | 137bc55 | 2003-11-14 17:47:54 +0000 | [diff] [blame] | 9 | # tool_name:supp_kind |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 10 | # (optional extra info for some suppression types) |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 11 | # caller0 name, or /name/of/so/file.so |
| 12 | # caller1 name, or ditto |
| 13 | # (optionally: caller2 name) |
| 14 | # (optionally: caller3 name) |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 15 | # } |
| 16 | # |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 17 | # For Memcheck, the supp_kinds are: |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 18 | # |
njn | c061666 | 2003-06-12 09:58:41 +0000 | [diff] [blame] | 19 | # Param Value1 Value2 Value4 Value8 Value16 |
| 20 | # Free Addr1 Addr2 Addr4 Addr8 Addr16 |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 21 | # 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) |
sewardj | 9bf05a8 | 2002-06-06 09:02:11 +0000 | [diff] [blame] | 26 | |
sewardj | 3a751df | 2003-03-16 10:55:06 +0000 | [diff] [blame] | 27 | #-------- For SuSE 8.2 (gcc 3.3, glibc 2.3.2) |
| 28 | { |
| 29 | __GI___stpcpy/* |
| 30 | Memcheck:Cond |
| 31 | fun:__GI___stpcpy |
| 32 | fun:* |
| 33 | } |
| 34 | { |
| 35 | strlen/__GI__dl_open/dlopen_doit |
| 36 | Memcheck:Cond |
| 37 | fun:strlen |
| 38 | fun:__GI__dl_open |
| 39 | fun:dlopen_doit |
| 40 | } |
| 41 | { |
| 42 | strlen/_dl_signal_cerror/_dl_lookup_symbol_internal/do_dlsym |
| 43 | Memcheck:Cond |
| 44 | fun:_dl_signal_cerror |
| 45 | fun:_dl_lookup_symbol_internal |
| 46 | fun:do_dlsym |
| 47 | } |
| 48 | |
| 49 | |
sewardj | ef0227c | 2002-12-15 23:09:24 +0000 | [diff] [blame] | 50 | #-------- For R H 8.0 |
| 51 | { |
| 52 | elf_dynamic_do_rel.7/_dl_relocate_object_internal/dl_open_worker(Cond) |
| 53 | Memcheck:Cond |
| 54 | fun:elf_dynamic_do_rel.7 |
| 55 | fun:_dl_relocate_object_internal |
| 56 | fun:dl_open_worker |
| 57 | } |
| 58 | |
| 59 | |
sewardj | c26044b | 2002-10-20 16:27:43 +0000 | [diff] [blame] | 60 | #-------- For R H 7.3 on i686 |
| 61 | { |
| 62 | _dl_relocate_object*/*libc-2.2.?.so/_dl_catch_error*(Cond) |
| 63 | Memcheck:Cond |
| 64 | fun:_dl_relocate_object* |
| 65 | obj:*libc-2.2.?.so |
| 66 | fun:_dl_catch_error* |
| 67 | } |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 68 | { |
| 69 | _dl_relocate_object_internal |
| 70 | Memcheck:Cond |
| 71 | fun:_dl_relocate_object_internal |
| 72 | } |
sewardj | 31f7f26 | 2005-03-15 03:00:46 +0000 | [diff] [blame] | 73 | { |
| 74 | index/*-2.2.5.so/*-2.2.5.so |
| 75 | Memcheck:Cond |
| 76 | fun:index |
| 77 | obj:*-2.2.5.so |
| 78 | obj:*-2.2.5.so |
| 79 | } |
| 80 | |
sewardj | c26044b | 2002-10-20 16:27:43 +0000 | [diff] [blame] | 81 | |
sewardj | 20719f6 | 2002-09-27 00:58:10 +0000 | [diff] [blame] | 82 | #-------- SuSE 8.1 stuff (gcc-3.2, glibc-2.2.5 + SuSE's hacks) |
| 83 | { |
| 84 | __stpcpy/* |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 85 | Memcheck:Cond |
sewardj | 20719f6 | 2002-09-27 00:58:10 +0000 | [diff] [blame] | 86 | fun:__stpcpy |
| 87 | fun:* |
| 88 | } |
| 89 | { |
| 90 | strlen/decompose_rpath/_dl_map_object |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 91 | Memcheck:Cond |
sewardj | 20719f6 | 2002-09-27 00:58:10 +0000 | [diff] [blame] | 92 | fun:strlen |
| 93 | fun:decompose_rpath |
| 94 | fun:_dl_map_object |
| 95 | } |
| 96 | { |
| 97 | strlen/_dl_sym/dlsym_doit |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 98 | Memcheck:Cond |
sewardj | 20719f6 | 2002-09-27 00:58:10 +0000 | [diff] [blame] | 99 | fun:strlen |
| 100 | fun:_dl_sym |
| 101 | fun:dlsym_doit |
| 102 | } |
| 103 | { |
| 104 | trecurse/__gconv_release_shlib(Addr4) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 105 | Addrcheck,Memcheck:Addr4 |
sewardj | 20719f6 | 2002-09-27 00:58:10 +0000 | [diff] [blame] | 106 | fun:trecurse |
| 107 | fun:__gconv_release_shlib |
| 108 | } |
| 109 | { |
| 110 | do_release_shlib/trecurse(Addr4) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 111 | Addrcheck,Memcheck:Addr4 |
sewardj | 20719f6 | 2002-09-27 00:58:10 +0000 | [diff] [blame] | 112 | fun:do_release_shlib |
| 113 | fun:trecurse |
| 114 | } |
| 115 | |
sewardj | 7545264 | 2002-07-25 02:21:53 +0000 | [diff] [blame] | 116 | #-------- R H Limbo (glibc-2.2.90) stuff |
| 117 | { |
| 118 | elf_dynamic_do_rela.8/_dl_relocate_object_internal |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 119 | Memcheck:Cond |
sewardj | 7545264 | 2002-07-25 02:21:53 +0000 | [diff] [blame] | 120 | fun:elf_dynamic_do_rela.8 |
| 121 | fun:_dl_relocate_object_internal |
| 122 | } |
| 123 | |
| 124 | { |
| 125 | __strnlen/_nl_make_l10nflist(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 126 | Memcheck:Cond |
sewardj | 7545264 | 2002-07-25 02:21:53 +0000 | [diff] [blame] | 127 | fun:__strnlen |
| 128 | fun:_nl_make_l10nflist |
| 129 | } |
| 130 | |
| 131 | { |
| 132 | __strnlen/*vfprintf* |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 133 | Memcheck:Cond |
sewardj | 7545264 | 2002-07-25 02:21:53 +0000 | [diff] [blame] | 134 | fun:__strnlen |
| 135 | fun:*vfprintf* |
| 136 | } |
| 137 | |
| 138 | { |
| 139 | libXaw.so.7.0(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 140 | Memcheck:Cond |
sewardj | 7545264 | 2002-07-25 02:21:53 +0000 | [diff] [blame] | 141 | obj:*libXaw.so.7.0 |
| 142 | } |
sewardj | 9bf05a8 | 2002-06-06 09:02:11 +0000 | [diff] [blame] | 143 | |
sewardj | 1fe7b00 | 2002-07-16 01:43:15 +0000 | [diff] [blame] | 144 | #-------- Suppress errors appearing as a result of calling |
| 145 | #-------- __libc_freeres() |
| 146 | |
| 147 | { |
| 148 | __twalk/*(Addr4) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 149 | Addrcheck,Memcheck:Addr4 |
sewardj | 1fe7b00 | 2002-07-16 01:43:15 +0000 | [diff] [blame] | 150 | fun:__twalk |
| 151 | } |
| 152 | |
| 153 | { |
| 154 | do_release_shlib/__twalk(Addr4) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 155 | Addrcheck,Memcheck:Addr4 |
sewardj | 1fe7b00 | 2002-07-16 01:43:15 +0000 | [diff] [blame] | 156 | fun:do_release_shlib |
| 157 | fun:__twalk |
| 158 | } |
| 159 | |
| 160 | { |
| 161 | __libc_freeres/free_mem/free(Free) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 162 | Addrcheck,Memcheck:Free |
sewardj | 1fe7b00 | 2002-07-16 01:43:15 +0000 | [diff] [blame] | 163 | fun:free |
| 164 | fun:free_mem |
| 165 | fun:__libc_freeres |
| 166 | } |
| 167 | |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 168 | #-------- Data races |
mueller | 1c2d065 | 2004-02-28 21:21:46 +0000 | [diff] [blame] | 169 | { |
| 170 | _dl_lookup_symbol/fixup/_dl_runtime_resolve |
| 171 | Helgrind:Eraser |
| 172 | fun:_dl_lookup_symbol |
| 173 | fun:fixup |
| 174 | fun:_dl_runtime_resolve |
| 175 | } |
| 176 | |
| 177 | { |
thughes | 53459ef | 2004-10-31 10:13:18 +0000 | [diff] [blame] | 178 | _dl_lookup_symbol_internal/fixup/_dl_runtime_resolve |
| 179 | Helgrind:Eraser |
| 180 | fun:_dl_lookup_symbol_internal |
| 181 | fun:fixup |
| 182 | fun:_dl_runtime_resolve |
| 183 | } |
| 184 | |
| 185 | { |
mueller | 1c2d065 | 2004-02-28 21:21:46 +0000 | [diff] [blame] | 186 | _dl_lookup_versioned_symbol/fixup/_dl_runtime_resolve |
| 187 | Helgrind:Eraser |
| 188 | fun:_dl_lookup_versioned_symbol |
| 189 | fun:fixup |
| 190 | fun:_dl_runtime_resolve |
| 191 | } |
| 192 | |
| 193 | { |
thughes | f3feaaf | 2004-02-29 13:00:51 +0000 | [diff] [blame] | 194 | _dl_lookup_versioned_symbol_internal/fixup/_dl_runtime_resolve |
| 195 | Helgrind:Eraser |
| 196 | fun:_dl_lookup_versioned_symbol_internal |
| 197 | fun:fixup |
| 198 | fun:_dl_runtime_resolve |
| 199 | } |
| 200 | |
| 201 | { |
mueller | 1c2d065 | 2004-02-28 21:21:46 +0000 | [diff] [blame] | 202 | _dl_fini/exit/__libc_start_main |
| 203 | Helgrind:Eraser |
| 204 | fun:_dl_fini |
| 205 | fun:exit |
| 206 | fun:__libc_start_main |
| 207 | } |
sewardj | 9bf05a8 | 2002-06-06 09:02:11 +0000 | [diff] [blame] | 208 | |
thughes | 361cda7 | 2004-10-30 20:39:10 +0000 | [diff] [blame] | 209 | { |
| 210 | _dl_map_object_deps/dl_open_worker/_dl_catch_error/_dl_open |
| 211 | Helgrind:Eraser |
| 212 | fun:_dl_map_object_deps |
| 213 | fun:dl_open_worker |
| 214 | fun:_dl_catch_error |
| 215 | fun:_dl_open |
| 216 | } |
| 217 | |
thughes | 53459ef | 2004-10-31 10:13:18 +0000 | [diff] [blame] | 218 | { |
| 219 | _dl_map_object_deps_internal/dl_open_worker/_dl_catch_error_internal/_dl_open |
| 220 | Helgrind:Eraser |
| 221 | fun:_dl_map_object_deps_internal |
| 222 | fun:dl_open_worker |
| 223 | fun:_dl_catch_error_internal |
| 224 | fun:_dl_open |
| 225 | } |
| 226 | |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 227 | #-------- Threading bugs? |
sewardj | d8acdf2 | 2002-11-13 21:57:52 +0000 | [diff] [blame] | 228 | # glibc 'knows' that destroying a locked mutex will unlock it |
sewardj | 9bf05a8 | 2002-06-06 09:02:11 +0000 | [diff] [blame] | 229 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 230 | pthread_error/pthread_mutex_destroy/__closedir |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 231 | core:PThread |
sewardj | 9bf05a8 | 2002-06-06 09:02:11 +0000 | [diff] [blame] | 232 | fun:pthread_error |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 233 | fun:pthread_mutex_destroy |
sewardj | 9bf05a8 | 2002-06-06 09:02:11 +0000 | [diff] [blame] | 234 | fun:__closedir |
| 235 | } |
| 236 | |
| 237 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 238 | pthread_error/pthread_mutex_destroy/_IO_default_finish |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 239 | core:PThread |
sewardj | 9bf05a8 | 2002-06-06 09:02:11 +0000 | [diff] [blame] | 240 | fun:pthread_error |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 241 | fun:pthread_mutex_destroy |
sewardj | 924bc00 | 2002-06-07 00:29:39 +0000 | [diff] [blame] | 242 | fun:_IO_default_finish* |
sewardj | 9bf05a8 | 2002-06-06 09:02:11 +0000 | [diff] [blame] | 243 | } |
| 244 | |
| 245 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 246 | pthread_mutex_unlock/_IO_funlockfile |
njn | c40c3a8 | 2002-10-02 11:02:27 +0000 | [diff] [blame] | 247 | core:PThread |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 248 | fun:pthread_mutex_unlock |
sewardj | 9bf05a8 | 2002-06-06 09:02:11 +0000 | [diff] [blame] | 249 | fun:_IO_funlockfile |
| 250 | } |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 251 | |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 252 | # even more glibc suppressions ? |
| 253 | { |
| 254 | libc-2.2.4.so/libc-2.2.4.so/libc-2.2.4.so(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 255 | Memcheck:Cond |
sewardj | 4532839 | 2002-05-16 20:57:26 +0000 | [diff] [blame] | 256 | obj:*libc-2.2.?.so |
| 257 | obj:*libc-2.2.?.so |
| 258 | obj:*libc-2.2.?.so |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 259 | } |
| 260 | { |
| 261 | libc-2.2.4.so/libc-2.2.4.so/libc-2.2.4.so(Value4) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 262 | Memcheck:Value4 |
sewardj | 4532839 | 2002-05-16 20:57:26 +0000 | [diff] [blame] | 263 | obj:*libc-2.2.?.so |
| 264 | obj:*libc-2.2.?.so |
| 265 | obj:*libc-2.2.?.so |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 266 | } |
| 267 | |
| 268 | ##### glibc 2.2.5 stuff perhaps? |
| 269 | ##### suppressions for coolo |
| 270 | { |
| 271 | strchr/dl_open_worker(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 272 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 273 | fun:strchr |
| 274 | fun:dl_open_worker |
| 275 | } |
| 276 | { |
sewardj | b55fc4e | 2002-07-14 13:04:38 +0000 | [diff] [blame] | 277 | __rawmemchr(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 278 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 279 | fun:__rawmemchr |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 280 | } |
| 281 | { |
| 282 | _IO_vfprintf/__strnlen(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 283 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 284 | fun:__strnlen |
| 285 | fun:_IO_vfprintf |
| 286 | } |
| 287 | { |
| 288 | __strchrnul/gethostbyname*(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 289 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 290 | fun:__strchrnul |
| 291 | fun:gethostbyname* |
| 292 | } |
| 293 | |
| 294 | |
| 295 | ##---- |
| 296 | { |
| 297 | strlen/*dl_map_object*(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 298 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 299 | fun:strlen |
| 300 | fun:*dl_map_object* |
| 301 | } |
| 302 | |
| 303 | { |
| 304 | strlen/*dl_open_worker*(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 305 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 306 | fun:strlen |
| 307 | fun:*dl_open_worker* |
| 308 | } |
| 309 | |
| 310 | { |
| 311 | *rawmemchr*/*nss*(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 312 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 313 | fun:*rawmemchr* |
| 314 | fun:*nss* |
| 315 | } |
| 316 | |
| 317 | { |
| 318 | *strchrnul*/*nss*(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 319 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 320 | fun:*strchrnul* |
| 321 | fun:*nss* |
| 322 | } |
| 323 | |
| 324 | # gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) |
| 325 | # on Red Hat 7.2 (x86) miscompiles __mpn_construct_double in |
| 326 | # __mpn_construct_double (../sysdeps/ieee754/dbl-64/mpn2dbl.c:45) |
| 327 | # (glibc-2.2.4) to read and write below %esp. Hence the following |
| 328 | # two: |
| 329 | { |
| 330 | __mpn_construct_double/*(Addr4) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 331 | Addrcheck,Memcheck:Addr4 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 332 | fun:__mpn_construct_double |
| 333 | fun:* |
| 334 | } |
| 335 | { |
| 336 | __mpn_construct_double/*(Addr8) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 337 | Addrcheck,Memcheck:Addr8 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 338 | fun:__mpn_construct_double |
| 339 | fun:* |
| 340 | } |
| 341 | |
| 342 | # More of the same (gcc bug, I'm pretty sure) |
| 343 | { |
| 344 | __fabs/*(Addr4) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 345 | Addrcheck,Memcheck:Addr4 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 346 | fun:__fabs |
| 347 | fun:* |
| 348 | } |
| 349 | { |
| 350 | __fabs/*(Addr8) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 351 | Addrcheck,Memcheck:Addr8 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 352 | fun:__fabs |
| 353 | fun:* |
| 354 | } |
| 355 | |
| 356 | |
| 357 | # Not sure what this is about ... but anyway |
| 358 | { |
| 359 | pthread_sighandler/*(Addr4) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 360 | Addrcheck,Memcheck:Addr4 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 361 | fun:pthread_sighandler |
| 362 | fun:* |
| 363 | } |
| 364 | |
| 365 | |
| 366 | # More glibc stuff, AFAICS |
| 367 | |
| 368 | { |
| 369 | __strnlen/__argz_stringify/_nl_make_l10nflist(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 370 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 371 | fun:__strnlen |
| 372 | fun:__argz_stringify |
| 373 | fun:_nl_make_l10nflist |
| 374 | } |
| 375 | |
| 376 | #-------------- |
| 377 | { |
sewardj | 924bc00 | 2002-06-07 00:29:39 +0000 | [diff] [blame] | 378 | _dl_relocate_object*/dl_open_worker/_dl_catch_error*(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 379 | Memcheck:Cond |
sewardj | 924bc00 | 2002-06-07 00:29:39 +0000 | [diff] [blame] | 380 | fun:_dl_relocate_object* |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 381 | fun:dl_open_worker |
sewardj | 924bc00 | 2002-06-07 00:29:39 +0000 | [diff] [blame] | 382 | fun:_dl_catch_error* |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 383 | } |
| 384 | { |
| 385 | _dl_relocate_object/libc-2.2.4.so/_dl_catch_error(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 386 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 387 | fun:_dl_relocate_object |
sewardj | 4532839 | 2002-05-16 20:57:26 +0000 | [diff] [blame] | 388 | obj:*libc-2.2.?.so |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 389 | fun:_dl_catch_error |
| 390 | } |
mueller | 1c2d065 | 2004-02-28 21:21:46 +0000 | [diff] [blame] | 391 | { |
thughes | ac0692a | 2004-07-17 14:16:03 +0000 | [diff] [blame] | 392 | _dl_relocate_object/dl_main(Cond) |
mueller | 1c2d065 | 2004-02-28 21:21:46 +0000 | [diff] [blame] | 393 | Memcheck:Cond |
| 394 | fun:_dl_relocate_object |
| 395 | fun:dl_main |
mueller | 1c2d065 | 2004-02-28 21:21:46 +0000 | [diff] [blame] | 396 | } |
thughes | f3feaaf | 2004-02-29 13:00:51 +0000 | [diff] [blame] | 397 | { |
thughes | ac0692a | 2004-07-17 14:16:03 +0000 | [diff] [blame] | 398 | _dl_relocate_object_internal/dl_main(Cond) |
thughes | f3feaaf | 2004-02-29 13:00:51 +0000 | [diff] [blame] | 399 | Memcheck:Cond |
| 400 | fun:_dl_relocate_object_internal |
| 401 | fun:dl_main |
thughes | f3feaaf | 2004-02-29 13:00:51 +0000 | [diff] [blame] | 402 | } |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 403 | |
| 404 | { |
| 405 | strrchr/_dl_map_object_from_fd/_dl_map_object(Cond) |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 406 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 407 | fun:strrchr |
| 408 | fun:_dl_map_object_from_fd |
| 409 | fun:_dl_map_object |
| 410 | } |
| 411 | |
mueller | 1c2d065 | 2004-02-28 21:21:46 +0000 | [diff] [blame] | 412 | { |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 413 | _dl_start/ld-2.2.4.so(Cond) |
mueller | 1c2d065 | 2004-02-28 21:21:46 +0000 | [diff] [blame] | 414 | Memcheck:Cond |
| 415 | fun:_dl_start |
| 416 | obj:/lib/ld-2.2.4.so |
| 417 | } |
| 418 | |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 419 | #-------- glibc 2.2.5/ Debian 3.0 |
| 420 | { |
njn | 364350e | 2005-06-24 03:26:54 +0000 | [diff] [blame] | 421 | _dl_start(Cond) |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 422 | Memcheck:Cond |
| 423 | fun:_dl_start |
njn | 364350e | 2005-06-24 03:26:54 +0000 | [diff] [blame] | 424 | } |
| 425 | |
| 426 | { |
| 427 | _dl_start(Cond) |
| 428 | Memcheck:Cond |
| 429 | fun:_dl_relocate_object |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 430 | } |
| 431 | |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 432 | #------------------- |
| 433 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 434 | socketcall.connect(serv_addr)/connect/* |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 435 | Addrcheck,Memcheck:Param |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 436 | socketcall.connect(serv_addr) |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 437 | fun:connect |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 438 | fun:* |
| 439 | } |
| 440 | { |
| 441 | socketcall.connect(serv_addr)/libc-2.2.4.so/libc-2.2.4.so |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 442 | Addrcheck,Memcheck:Param |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 443 | socketcall.connect(serv_addr) |
sewardj | 4532839 | 2002-05-16 20:57:26 +0000 | [diff] [blame] | 444 | obj:*libc-2.2.?.so |
| 445 | obj:*libc-2.2.?.so |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 446 | } |
| 447 | |
| 448 | #---------------------- |
| 449 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 450 | write(buf)/write/libX11.so.6.2/libX11.so.6.2(Param) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 451 | Addrcheck,Memcheck:Param |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 452 | write(buf) |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 453 | fun:write |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 454 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 455 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 456 | } |
| 457 | { |
| 458 | write(buf)/libc-2.2.4.so/libX11.so.6.2/libX11.so.6.2(Param) |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 459 | Addrcheck,Memcheck:Param |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 460 | write(buf) |
sewardj | 4532839 | 2002-05-16 20:57:26 +0000 | [diff] [blame] | 461 | obj:*libc-2.2.?.so |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 462 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 463 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 464 | } |
| 465 | |
| 466 | #{ |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 467 | # llseek(result)/lseek64/_IO_file_seek(Param) |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 468 | # Param |
| 469 | # llseek(result) |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 470 | # fun:lseek64 |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 471 | # fun:_IO_file_seek |
| 472 | #} |
| 473 | |
| 474 | { |
| 475 | writev(vector[...])/__writev/libX11.so.6.2/libX11.so.6.2 |
njn | 11cc925 | 2002-10-07 14:42:59 +0000 | [diff] [blame] | 476 | Addrcheck,Memcheck:Param |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 477 | writev(vector[...]) |
| 478 | fun:__writev |
| 479 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 480 | obj:/usr/X11R6/lib/libX11.so.6.2 |
| 481 | } |
| 482 | |
| 483 | #---------------- |
| 484 | { |
| 485 | __rawmemchr/libXt.so.6.0/libXt.so.6.0 |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 486 | Memcheck:Cond |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 487 | fun:__rawmemchr |
| 488 | obj:/usr/X11R6/lib/libXt.so.6.0 |
| 489 | obj:/usr/X11R6/lib/libXt.so.6.0 |
| 490 | } |
| 491 | { |
| 492 | libc-2.2.4.so/libXt.so.6.0/libXt.so.6.0 |
sewardj | 34eccb1 | 2002-10-05 16:49:09 +0000 | [diff] [blame] | 493 | Memcheck:Cond |
sewardj | 4532839 | 2002-05-16 20:57:26 +0000 | [diff] [blame] | 494 | obj:*libc-2.2.?.so |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 495 | obj:/usr/X11R6/lib/libXt.so.6.0 |
| 496 | obj:/usr/X11R6/lib/libXt.so.6.0 |
| 497 | } |
| 498 | |
tom | deb0f0f | 2005-08-20 11:46:57 +0000 | [diff] [blame] | 499 | ## Bug in PRE(sys_clone), really. Some args are not used. |
| 500 | { |
| 501 | LinuxThread clone use (child_tidptr) |
| 502 | Memcheck:Param |
| 503 | clone(child_tidptr) |
| 504 | fun:clone |
| 505 | fun:__pthread_initialize_manager |
| 506 | fun:pthread_create@@GLIBC_2.2.5 |
| 507 | } |
| 508 | |
| 509 | ## LinuxThreads manager writes messages containing undefined bytes |
njn | 866db0d | 2003-05-08 07:53:52 +0000 | [diff] [blame] | 510 | { |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 511 | LinuxThreads: write/pthread_create |
| 512 | Memcheck:Param |
| 513 | write(buf) |
| 514 | fun:pthread_create@@GLIBC_2.1 |
njn | 866db0d | 2003-05-08 07:53:52 +0000 | [diff] [blame] | 515 | } |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 516 | { |
| 517 | LinuxThreads: write/pthread_create |
| 518 | Memcheck:Param |
| 519 | write(buf) |
| 520 | fun:write |
| 521 | fun:pthread_create@@GLIBC_2.1 |
| 522 | } |
tom | deb0f0f | 2005-08-20 11:46:57 +0000 | [diff] [blame] | 523 | { |
| 524 | LinuxThreads: write/pthread_onexit_process |
| 525 | Memcheck:Param |
| 526 | write(buf) |
| 527 | fun:write |
| 528 | fun:pthread_onexit_process |
| 529 | fun:exit |
| 530 | } |
| 531 | { |
| 532 | LinuxThreads: write/pthread_join |
| 533 | Memcheck:Param |
| 534 | write(buf) |
| 535 | fun:write |
| 536 | fun:pthread_join |
| 537 | } |
| 538 | { |
| 539 | LinuxThreads: write/pthread_create |
| 540 | Memcheck:Param |
| 541 | write(buf) |
| 542 | fun:write |
| 543 | fun:pthread_create@@GLIBC_2.2.5 |
| 544 | } |
| 545 | { |
| 546 | LinuxThreads: write/__pthread_initialize_manager/pthread_create |
| 547 | Memcheck:Param |
| 548 | write(buf) |
| 549 | fun:write |
| 550 | fun:__pthread_initialize_manager |
| 551 | fun:pthread_create@@GLIBC_2.2.5 |
| 552 | } |
tom | f7e9d87 | 2005-08-20 12:05:32 +0000 | [diff] [blame] | 553 | |
| 554 | ## LinuxThreads leaks the stack and TLS data for the manager thread |
| 555 | { |
| 556 | LinuxThreads: leaks stack of manager thread |
| 557 | Memcheck:Leak |
| 558 | fun:malloc |
| 559 | fun:__pthread_initialize_manager |
| 560 | fun:pthread_create@@GLIBC_2.1 |
| 561 | } |
| 562 | { |
| 563 | LinuxThreads: leaks TLS data for manager thread |
| 564 | Memcheck:Leak |
| 565 | fun:calloc |
| 566 | fun:_dl_allocate_tls |
| 567 | fun:__pthread_initialize_minimal |
| 568 | } |
| 569 | { |
| 570 | LinuxThreads: leaks TLS data for manager thread |
| 571 | Memcheck:Leak |
| 572 | fun:memalign |
| 573 | fun:_dl_allocate_tls |
| 574 | fun:__pthread_initialize_minimal |
| 575 | } |
| 576 | { |
| 577 | LinuxThreads: leaks stack of manager thread |
| 578 | Memcheck:Leak |
| 579 | fun:malloc |
| 580 | fun:__pthread_initialize_manager |
| 581 | fun:pthread_create@@GLIBC_2.2.5 |
| 582 | } |
| 583 | { |
| 584 | LinuxThreads: leaks TLS data for manager thread |
| 585 | Memcheck:Leak |
| 586 | fun:calloc |
| 587 | fun:allocate_dtv |
| 588 | fun:_dl_allocate_tls_storage |
| 589 | fun:_dl_allocate_tls |
| 590 | fun:__pthread_initialize_minimal |
| 591 | } |
| 592 | { |
| 593 | LinuxThreads: leaks TLS data for manager thread |
| 594 | Memcheck:Leak |
| 595 | fun:memalign |
| 596 | fun:_dl_allocate_tls_storage |
| 597 | fun:_dl_allocate_tls |
| 598 | fun:__pthread_initialize_minimal |
| 599 | } |