daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 1 | |
| 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 |
nethercote | 137bc55 | 2003-11-14 17:47:54 +0000 | [diff] [blame] | 9 | # tool_name:supp_kind |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 10 | # (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 | # |
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 |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +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) |
| 26 | |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 27 | { |
| 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 | } |
daywalker | e187999 | 2003-06-03 14:49:54 +0000 | [diff] [blame] | 47 | { |
| 48 | strlen/*dl_map_object*(Cond) |
| 49 | Memcheck:Cond |
| 50 | fun:strlen |
| 51 | fun:*dl_map_object* |
| 52 | } |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 53 | |
daywalker | e187999 | 2003-06-03 14:49:54 +0000 | [diff] [blame] | 54 | { |
| 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 |
njn | 1d0825f | 2006-03-27 11:37:07 +0000 | [diff] [blame] | 69 | Memcheck:Overlap |
daywalker | e187999 | 2003-06-03 14:49:54 +0000 | [diff] [blame] | 70 | fun:memcpy |
daywalker | 777aff5 | 2003-07-18 08:06:27 +0000 | [diff] [blame] | 71 | fun:realpath* |
daywalker | e187999 | 2003-06-03 14:49:54 +0000 | [diff] [blame] | 72 | } |
| 73 | |
| 74 | { |
| 75 | realpath stupidity part II |
njn | 1d0825f | 2006-03-27 11:37:07 +0000 | [diff] [blame] | 76 | Memcheck:Overlap |
daywalker | e187999 | 2003-06-03 14:49:54 +0000 | [diff] [blame] | 77 | fun:strcpy |
daywalker | 777aff5 | 2003-07-18 08:06:27 +0000 | [diff] [blame] | 78 | fun:realpath* |
daywalker | e187999 | 2003-06-03 14:49:54 +0000 | [diff] [blame] | 79 | } |
| 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 | } |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 93 | |
| 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 | } |
daywalker | e187999 | 2003-06-03 14:49:54 +0000 | [diff] [blame] | 102 | { |
| 103 | dl_relocate/dl_open_worker |
| 104 | Memcheck:Cond |
| 105 | fun:_dl_relocate_object_internal |
| 106 | fun:dl_open_worker |
| 107 | } |
| 108 | |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 109 | #-------- glibc 2.3.2/ Fedora Core 1 |
| 110 | { |
| 111 | dl_relocate/dl_main |
| 112 | Memcheck:Cond |
| 113 | fun:_dl_relocate_object_internal |
| 114 | fun:dl_main |
| 115 | } |
| 116 | |
rjwalsh | 923e7d6 | 2004-04-29 08:50:44 +0000 | [diff] [blame] | 117 | #-------- glibc 2.3.3/ Fedora Core 2 |
| 118 | { |
| 119 | dl_relocate_object/dl_main |
| 120 | Memcheck:Cond |
| 121 | fun:_dl_relocate_object |
| 122 | fun:dl_main |
| 123 | } |
thughes | e931fd4 | 2004-06-03 18:42:34 +0000 | [diff] [blame] | 124 | { |
| 125 | _dl_relocate_object/dl_open_worker |
| 126 | Memcheck:Cond |
| 127 | fun:_dl_relocate_object |
| 128 | fun:dl_open_worker |
| 129 | } |
rjwalsh | 923e7d6 | 2004-04-29 08:50:44 +0000 | [diff] [blame] | 130 | |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 131 | #-------- glibc 2.3.4/ Fedora Core 3 |
| 132 | { |
| 133 | dl_relocate_object |
| 134 | Memcheck:Cond |
| 135 | fun:_dl_relocate_object |
| 136 | } |
| 137 | |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 138 | #-------- Data races |
| 139 | { |
| 140 | _dl_lookup_symbol_internal/fixup/_dl_runtime_resolve |
| 141 | Helgrind:Eraser |
| 142 | fun:_dl_lookup_symbol_internal |
| 143 | fun:fixup |
| 144 | fun:_dl_runtime_resolve |
| 145 | } |
| 146 | { |
rjwalsh | 923e7d6 | 2004-04-29 08:50:44 +0000 | [diff] [blame] | 147 | _dl_lookup_symbol_x/fixup/_dl_runtime_resolve |
| 148 | Helgrind:Eraser |
| 149 | fun:_dl_lookup_symbol_x |
| 150 | fun:fixup |
| 151 | fun:_dl_runtime_resolve |
| 152 | } |
| 153 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 154 | _dl_lookup_versioned_symbol_internal/fixup/_dl_runtime_resolve |
| 155 | Helgrind:Eraser |
| 156 | fun:_dl_lookup_versioned_symbol_internal |
| 157 | fun:fixup |
| 158 | fun:_dl_runtime_resolve |
| 159 | } |
fitzhardinge | 47735af | 2004-01-21 01:27:27 +0000 | [diff] [blame] | 160 | { |
thughes | 5518387 | 2004-02-29 12:42:12 +0000 | [diff] [blame] | 161 | _dl_lookup_versioned_symbol/ld-2.3.2.so/ld-2.3.2.so |
| 162 | Helgrind:Eraser |
| 163 | fun:_dl_lookup_versioned_symbol |
| 164 | obj:/lib/ld-2.3.2.so |
| 165 | obj:/lib/ld-2.3.2.so |
| 166 | } |
| 167 | { |
thughes | 489281a | 2004-10-31 10:18:23 +0000 | [diff] [blame] | 168 | _dl_lookup_symbol/ld-2.3.2.so/ld-2.3.2.so |
| 169 | Helgrind:Eraser |
| 170 | fun:_dl_lookup_symbol |
| 171 | obj:/lib/ld-2.3.2.so |
| 172 | obj:/lib/ld-2.3.2.so |
| 173 | } |
| 174 | { |
fitzhardinge | 47735af | 2004-01-21 01:27:27 +0000 | [diff] [blame] | 175 | _dl_fini |
| 176 | Helgrind:Eraser |
| 177 | fun:_dl_fini |
| 178 | } |
thughes | 489281a | 2004-10-31 10:18:23 +0000 | [diff] [blame] | 179 | { |
| 180 | ld-2.3.2.so/exit/__libc_start_main |
| 181 | Helgrind:Eraser |
| 182 | obj:/lib/ld-2.3.2.so |
| 183 | fun:exit |
| 184 | fun:__libc_start_main |
| 185 | } |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 186 | |
| 187 | #-------- Threading bugs? |
| 188 | # glibc 'knows' that destroying a locked mutex will unlock it |
| 189 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 190 | pthread_error/pthread_mutex_destroy/__closedir |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 191 | core:PThread |
| 192 | fun:pthread_error |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 193 | fun:pthread_mutex_destroy |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 194 | fun:__closedir |
| 195 | } |
| 196 | |
| 197 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 198 | pthread_error/pthread_mutex_destroy/_IO_default_finish |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 199 | core:PThread |
| 200 | fun:pthread_error |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 201 | fun:pthread_mutex_destroy |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 202 | fun:_IO_default_finish* |
| 203 | } |
| 204 | |
| 205 | { |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 206 | pthread_mutex_unlock/_IO_funlockfile |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 207 | core:PThread |
fitzhardinge | 1c76dc4 | 2003-12-15 09:00:21 +0000 | [diff] [blame] | 208 | fun:pthread_mutex_unlock |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 209 | fun:_IO_funlockfile |
| 210 | } |
| 211 | |
| 212 | ##----------------------------------------------------------------------## |
sewardj | 7c874c7 | 2003-09-27 21:25:30 +0000 | [diff] [blame] | 213 | ## Bugs in helper library supplied with Intel Icc 7.0 (65) |
| 214 | ## in /opt/intel/compiler70/ia32/lib/libcxa.so.3 |
| 215 | { |
| 216 | Intel compiler70/ia32/lib/libcxa.so.3 below-esp accesses |
njn | 1d0825f | 2006-03-27 11:37:07 +0000 | [diff] [blame] | 217 | Memcheck:Addr4 |
sewardj | 7c874c7 | 2003-09-27 21:25:30 +0000 | [diff] [blame] | 218 | obj:/opt/intel/compiler70/ia32/lib/libcxa.so.3 |
| 219 | } |
jseward | f93e847 | 2003-12-24 11:45:16 +0000 | [diff] [blame] | 220 | |
| 221 | ##----------------------------------------------------------------------## |
| 222 | ## SuSE 9 after FV changes (post 2.1.0) |
| 223 | |
| 224 | { |
| 225 | strlen/_dl_init_paths/dl_main/_dl_sysdep_start(Cond) |
| 226 | Memcheck:Cond |
| 227 | fun:strlen |
| 228 | fun:_dl_init_paths |
| 229 | fun:dl_main |
| 230 | fun:_dl_sysdep_start |
| 231 | } |
| 232 | |
| 233 | { |
| 234 | Ugly strchr error in /lib/ld-2.3.2.so |
| 235 | Memcheck:Cond |
| 236 | obj:/lib/ld-2.3.2.so |
| 237 | } |
fitzhardinge | 47735af | 2004-01-21 01:27:27 +0000 | [diff] [blame] | 238 | |
| 239 | ##----------------------------------------------------------------------## |
jseward | 38276e8 | 2004-07-20 22:42:44 +0000 | [diff] [blame] | 240 | ## SuSE 9.1 with post 2.1.2 |
fitzhardinge | 47735af | 2004-01-21 01:27:27 +0000 | [diff] [blame] | 241 | { |
jseward | 38276e8 | 2004-07-20 22:42:44 +0000 | [diff] [blame] | 242 | Ugly strchr error in /lib/ld-2.3.3.so |
fitzhardinge | 47735af | 2004-01-21 01:27:27 +0000 | [diff] [blame] | 243 | Memcheck:Cond |
jseward | 38276e8 | 2004-07-20 22:42:44 +0000 | [diff] [blame] | 244 | obj:/lib/ld-2.3.3.so |
fitzhardinge | 47735af | 2004-01-21 01:27:27 +0000 | [diff] [blame] | 245 | } |
sewardj | 0d683fe | 2005-03-14 19:25:49 +0000 | [diff] [blame] | 246 | |
| 247 | ##----------------------------------------------------------------------## |
| 248 | ## SuSE 9.1 with 3.0 branch (x86) |
| 249 | { |
| 250 | Strstr dubiousness in pthread_initialize |
| 251 | Memcheck:Cond |
| 252 | fun:strstr |
| 253 | fun:pthread_initialize |
| 254 | obj:/lib/libpthread.so.0 |
| 255 | obj:/lib/libpthread.so.0 |
| 256 | } |
| 257 | |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 258 | ##----------------------------------------------------------------------## |
| 259 | ## glibc-2.3.3 on FC2 |
| 260 | ## Assumes that sysctl returns \0-terminated strings in is_smp_system |
sewardj | f8033c7 | 2005-05-16 16:39:28 +0000 | [diff] [blame] | 261 | #{ |
| 262 | # Unterminated strstr string in is_smp_system() (NPTL) |
| 263 | # Memcheck:Cond |
| 264 | # fun:strstr |
| 265 | # fun:__pthread_initialize_minimal |
| 266 | # obj:/lib/tls/libpthread*.so* |
| 267 | # obj:/lib/tls/libpthread*.so* |
| 268 | #} |
| 269 | #{ |
| 270 | # Unterminated strstr string in is_smp_system() (LinuxThreads) |
| 271 | # Memcheck:Cond |
| 272 | # fun:strstr |
| 273 | # fun:pthread_initialize |
| 274 | # obj:/lib/i686/libpthread*.so* |
| 275 | # obj:/lib/i686/libpthread*.so* |
| 276 | #} |
| 277 | #{ |
| 278 | # Unterminated strstr string in is_smp_system() (LinuxThreads) |
| 279 | # Memcheck:Cond |
| 280 | # fun:strstr |
| 281 | # fun:pthread_initialize |
| 282 | # obj:/lib/libpthread-0.10.so |
| 283 | # obj:/lib/libpthread-0.10.so |
| 284 | #} |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 285 | |
| 286 | ## Bug in PRE(sys_clone), really. Some args are not used. |
| 287 | { |
| 288 | LinuxThread clone use (parent_tidptr) |
| 289 | Memcheck:Param |
| 290 | clone(parent_tidptr) |
| 291 | fun:clone |
| 292 | fun:pthread_create |
| 293 | } |
| 294 | { |
| 295 | LinuxThread clone use (child_tidptr) |
| 296 | Memcheck:Param |
| 297 | clone(child_tidptr) |
| 298 | fun:clone |
| 299 | fun:pthread_create |
| 300 | } |
| 301 | { |
| 302 | LinuxThread clone use (tlsinfo) |
| 303 | Memcheck:Param |
| 304 | clone(tlsinfo) |
| 305 | fun:clone |
| 306 | fun:pthread_create |
| 307 | } |
| 308 | { |
| 309 | LinuxThread clone use (parent_tidptr) |
| 310 | Memcheck:Param |
| 311 | clone(parent_tidptr) |
| 312 | fun:clone |
| 313 | fun:pthread_create@@GLIBC_2.1 |
| 314 | } |
| 315 | { |
| 316 | LinuxThread clone use (child_tidptr) |
| 317 | Memcheck:Param |
| 318 | clone(child_tidptr) |
| 319 | fun:clone |
| 320 | fun:pthread_create@@GLIBC_2.1 |
| 321 | } |
| 322 | { |
| 323 | LinuxThread clone use (tlsinfo) |
| 324 | Memcheck:Param |
| 325 | clone(tlsinfo) |
| 326 | fun:clone |
| 327 | fun:pthread_create@@GLIBC_2.1 |
| 328 | } |
| 329 | |
| 330 | ## LinuxThreads manager writes messages containing undefined bytes |
| 331 | { |
| 332 | LinuxThreads: write/pthread_onexit_process |
| 333 | Memcheck:Param |
| 334 | write(buf) |
| 335 | fun:pthread_onexit_process |
| 336 | fun:exit |
| 337 | } |
| 338 | { |
| 339 | LinuxThreads: write/pthread_join |
| 340 | Memcheck:Param |
| 341 | write(buf) |
| 342 | fun:pthread_join |
| 343 | } |
| 344 | { |
| 345 | LinuxThreads: write/pthread_create |
| 346 | Memcheck:Param |
| 347 | write(buf) |
| 348 | fun:pthread_create@@GLIBC_2.1 |
| 349 | } |
| 350 | { |
| 351 | LinuxThreads: write/__pthread_initialize_manager/pthread_create |
| 352 | Memcheck:Param |
| 353 | write(buf) |
| 354 | fun:__pthread_initialize_manager |
| 355 | fun:pthread_create@@GLIBC_2.1 |
| 356 | } |
| 357 | |
| 358 | { |
| 359 | LinuxThreads: write/pthread_create |
| 360 | Memcheck:Param |
| 361 | write(buf) |
| 362 | fun:write |
| 363 | fun:pthread_create |
| 364 | } |
| 365 | |
tom | f7e9d87 | 2005-08-20 12:05:32 +0000 | [diff] [blame] | 366 | ## LinuxThreads leaks the stack and TLS data for the manager thread |
| 367 | { |
| 368 | LinuxThreads: leaks stack of manager thread |
| 369 | Memcheck:Leak |
| 370 | fun:malloc |
| 371 | fun:__pthread_initialize_manager |
| 372 | fun:pthread_create@@GLIBC_2.1 |
| 373 | } |
| 374 | { |
| 375 | LinuxThreads: leaks TLS data for manager thread |
| 376 | Memcheck:Leak |
| 377 | fun:calloc |
| 378 | fun:_dl_allocate_tls |
| 379 | fun:__pthread_initialize_minimal |
| 380 | } |
| 381 | { |
| 382 | LinuxThreads: leaks TLS data for manager thread |
| 383 | Memcheck:Leak |
| 384 | fun:memalign |
| 385 | fun:_dl_allocate_tls |
| 386 | fun:__pthread_initialize_minimal |
| 387 | } |
| 388 | |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 389 | ##----------------------------------------------------------------------## |
| 390 | ## glibc-2.3.4 on FC3 |
| 391 | ## Assumes that sysctl returns \0-terminated strings in is_smp_system |
sewardj | f8033c7 | 2005-05-16 16:39:28 +0000 | [diff] [blame] | 392 | #{ |
| 393 | # Unterminated strstr string in is_smp_system() (NPTL) |
| 394 | # Memcheck:Cond |
| 395 | # fun:strstr |
| 396 | # fun:__pthread_initialize_minimal |
| 397 | # obj:/lib/tls/libpthread-2.3.4.so |
| 398 | # obj:/lib/tls/libpthread-2.3.4.so |
| 399 | #} |
| 400 | #{ |
| 401 | # Unterminated strstr string in is_smp_system() (NPTL) |
| 402 | # Memcheck:Cond |
| 403 | # fun:strstr |
| 404 | # fun:__pthread_initialize_minimal |
| 405 | # obj:/lib64/tls/libpthread*.so* |
| 406 | #} |
sewardj | 24b4634 | 2005-05-12 18:00:12 +0000 | [diff] [blame] | 407 | |
sewardj | 917701d | 2005-05-15 17:18:40 +0000 | [diff] [blame] | 408 | ##----------------------------------------------------------------------## |
| 409 | ## glibc-2.3.5 on FC4 |
| 410 | ## Assumes that sysctl returns \0-terminated strings in is_smp_system |
sewardj | f8033c7 | 2005-05-16 16:39:28 +0000 | [diff] [blame] | 411 | #{ |
| 412 | # Unterminated strstr string in is_smp_system() (NPTL) |
| 413 | # Memcheck:Cond |
| 414 | # fun:strstr |
| 415 | # fun:__pthread_initialize_minimal |
| 416 | # obj:*/libpthread-2.3.5.so |
| 417 | # obj:*/libpthread-2.3.5.so |
| 418 | #} |
sewardj | 24b4634 | 2005-05-12 18:00:12 +0000 | [diff] [blame] | 419 | |
| 420 | |
| 421 | ##----------------------------------------------------------------------## |
sewardj | 31d8342 | 2005-10-15 02:00:41 +0000 | [diff] [blame] | 422 | # |
| 423 | # I don't know why this is needed, but still: |
| 424 | { |
dirk | 671ccb2 | 2006-02-22 16:10:16 +0000 | [diff] [blame] | 425 | glibc-2.3.x-on-SuSE-10.0-(PPC)-1 |
sewardj | 31d8342 | 2005-10-15 02:00:41 +0000 | [diff] [blame] | 426 | Memcheck:Cond |
| 427 | fun:_dl_start |
| 428 | fun:_start |
| 429 | } |
sewardj | 285c0b7 | 2005-11-18 00:15:18 +0000 | [diff] [blame] | 430 | { |
dirk | 671ccb2 | 2006-02-22 16:10:16 +0000 | [diff] [blame] | 431 | glibc-2.3.x-on-SuSE-10.1-(PPC)-1 |
| 432 | Memcheck:Cond |
| 433 | fun:_dl_start_final |
| 434 | fun:_dl_start |
| 435 | fun:_start |
| 436 | } |
| 437 | { |
dirk | b4fdb12 | 2006-02-21 18:04:16 +0000 | [diff] [blame] | 438 | glibc-2.3.x-on-SuSE-10.0/10.1-(PPC)-2a |
sewardj | 285c0b7 | 2005-11-18 00:15:18 +0000 | [diff] [blame] | 439 | Memcheck:Cond |
| 440 | fun:index |
dirk | b4fdb12 | 2006-02-21 18:04:16 +0000 | [diff] [blame] | 441 | obj:*ld-2.3.*.so |
sewardj | 285c0b7 | 2005-11-18 00:15:18 +0000 | [diff] [blame] | 442 | } |
| 443 | { |
dirk | b4fdb12 | 2006-02-21 18:04:16 +0000 | [diff] [blame] | 444 | glibc-2.3.x-on-SuSE-10.0/10.1-(PPC)-2b |
sewardj | 285c0b7 | 2005-11-18 00:15:18 +0000 | [diff] [blame] | 445 | Memcheck:Addr4 |
| 446 | fun:index |
| 447 | fun:expand_dynamic_string_token |
| 448 | } |
| 449 | { |
dirk | b4fdb12 | 2006-02-21 18:04:16 +0000 | [diff] [blame] | 450 | glibc-2.3.5-on-SuSE-10.0/10.1-(PPC)-2c |
sewardj | 37a1fc1 | 2005-11-18 18:33:28 +0000 | [diff] [blame] | 451 | Memcheck:Addr4 |
| 452 | fun:index |
dirk | b4fdb12 | 2006-02-21 18:04:16 +0000 | [diff] [blame] | 453 | obj:*ld-2.3.*.so |
sewardj | 37a1fc1 | 2005-11-18 18:33:28 +0000 | [diff] [blame] | 454 | } |
| 455 | { |
dirk | b4fdb12 | 2006-02-21 18:04:16 +0000 | [diff] [blame] | 456 | glibc-2.3.5-on-SuSE-10.0/10.1-(PPC)-3 |
sewardj | 285c0b7 | 2005-11-18 00:15:18 +0000 | [diff] [blame] | 457 | Memcheck:Addr4 |
| 458 | fun:*wordcopy_fwd_dest_aligned* |
| 459 | fun:mem*cpy |
dirk | b4fdb12 | 2006-02-21 18:04:16 +0000 | [diff] [blame] | 460 | obj:*lib*2.3.*.so |
sewardj | 285c0b7 | 2005-11-18 00:15:18 +0000 | [diff] [blame] | 461 | } |
sewardj | d1e697a | 2006-05-07 23:38:23 +0000 | [diff] [blame] | 462 | { |
| 463 | glibc-2.3.5-on-SuSE-10.0/10.1-(PPC)-4 |
| 464 | Memcheck:Addr4 |
| 465 | fun:bcmp |
| 466 | fun:*rpath* |
| 467 | fun:*rpath* |
| 468 | fun:*rpath* |
| 469 | } |
sewardj | 31d8342 | 2005-10-15 02:00:41 +0000 | [diff] [blame] | 470 | |
| 471 | ##----------------------------------------------------------------------## |
sewardj | 24b4634 | 2005-05-12 18:00:12 +0000 | [diff] [blame] | 472 | # Hacks pertaining to the fact that our intercept mechanism can't |
| 473 | # always get hold of strlen early enough, due to idiocy in the low |
| 474 | # level memory manager. |
| 475 | |
| 476 | ## HACK to do with strlen not being intercepted early enough |
| 477 | { |
| 478 | strlen-not-intercepted-early-enough-HACK-1 |
| 479 | Memcheck:Addr4 |
| 480 | fun:strlen |
| 481 | fun:_dl_map_object_from_fd |
| 482 | fun:_dl_map_object |
| 483 | } |
| 484 | |
| 485 | { |
| 486 | strlen-not-intercepted-early-enough-HACK-2 |
| 487 | Memcheck:Addr4 |
| 488 | fun:strlen |
| 489 | fun:decompose_rpath |
| 490 | fun:cache_rpath |
| 491 | fun:_dl_map_object |
| 492 | } |
| 493 | |
| 494 | { |
| 495 | strlen-not-intercepted-early-enough-HACK-3 |
| 496 | Memcheck:Cond |
| 497 | fun:strlen |
| 498 | fun:_dl_new_object |
| 499 | fun:_dl_map_object_from_fd |
| 500 | fun:_dl_map_object |
| 501 | } |
| 502 | |
| 503 | { |
| 504 | strlen-not-intercepted-early-enough-HACK-4 |
| 505 | Memcheck:Cond |
| 506 | fun:strlen |
| 507 | fun:expand_dynamic_string_token |
| 508 | fun:_dl_map_object |
| 509 | } |
| 510 | |
| 511 | { |
| 512 | strlen-not-intercepted-early-enough-HACK-5 |
| 513 | Memcheck:Cond |
| 514 | fun:strlen |
| 515 | fun:fillin_rpath |
| 516 | fun:_dl_init_paths |
| 517 | } |
| 518 | |
| 519 | |
| 520 | ## HACK to do with index not being intercepted early enough |
| 521 | { |
| 522 | index-not-intercepted-early-enough-HACK-1 |
| 523 | Memcheck:Cond |
| 524 | fun:index |
dirk | 59b559a | 2005-08-19 20:23:49 +0000 | [diff] [blame] | 525 | obj:* |
sewardj | 24b4634 | 2005-05-12 18:00:12 +0000 | [diff] [blame] | 526 | fun:_dl_map_object |
| 527 | } |
| 528 | { |
| 529 | index-not-intercepted-early-enough-HACK-2 |
| 530 | Memcheck:Cond |
| 531 | fun:index |
| 532 | fun:_dl_map_object |
dirk | 59b559a | 2005-08-19 20:23:49 +0000 | [diff] [blame] | 533 | obj:* |
sewardj | 24b4634 | 2005-05-12 18:00:12 +0000 | [diff] [blame] | 534 | fun:_dl_catch_error |
| 535 | } |
| 536 | { |
| 537 | index-not-intercepted-early-enough-HACK-3 |
| 538 | Memcheck:Cond |
| 539 | fun:index |
| 540 | fun:_dl_map_object |
dirk | 59b559a | 2005-08-19 20:23:49 +0000 | [diff] [blame] | 541 | obj:* |
sewardj | 24b4634 | 2005-05-12 18:00:12 +0000 | [diff] [blame] | 542 | fun:_dl_sysdep_start |
| 543 | } |
sewardj | f36e99a | 2005-11-13 02:42:23 +0000 | [diff] [blame] | 544 | |
sewardj | 59f1811 | 2006-02-10 12:42:46 +0000 | [diff] [blame] | 545 | { |
| 546 | index-not-intercepted-early-enough-HACK-4 |
| 547 | Memcheck:Cond |
| 548 | fun:index |
| 549 | fun:expand_dynamic_string_token |
| 550 | } |
| 551 | |
| 552 | |
sewardj | f36e99a | 2005-11-13 02:42:23 +0000 | [diff] [blame] | 553 | ##----------------------------------------------------------------------## |
| 554 | ## MontaVista 3.1 on ppc32 integer only |
| 555 | { |
| 556 | MontaVista-3.1-ppc32-#1 |
| 557 | Memcheck:Value4 |
| 558 | obj:/lib/ld-2.3.2.so |
| 559 | obj:/lib/ld-2.3.2.so |
| 560 | fun:*dl_map_object* |
| 561 | obj:/lib/libc-2.3.2.so |
| 562 | } |
| 563 | |
| 564 | { |
| 565 | MontaVista-3.1-ppc32-#2 |
| 566 | Memcheck:Value4 |
| 567 | fun:malloc |
| 568 | obj:/lib/ld-2.3.2.so |
| 569 | obj:/lib/ld-2.3.2.so |
| 570 | obj:/lib/libc-2.3.2.so |
| 571 | } |
| 572 | |
| 573 | { |
| 574 | MontaVista-3.1-ppc32-#3 |
| 575 | Memcheck:Value4 |
| 576 | obj:/lib/ld-2.3.2.so |
| 577 | obj:/lib/ld-2.3.2.so |
| 578 | } |
njn | 1132e82 | 2005-11-18 17:09:36 +0000 | [diff] [blame] | 579 | |
| 580 | ##----------------------------------------------------------------------## |
| 581 | ## Ubuntu something (based on Debian 3.0?) on x86 |
| 582 | |
| 583 | { |
| 584 | Ubuntu-stripped-ld.so |
| 585 | Memcheck:Cond |
dirk | ff0a32a | 2006-02-27 08:41:32 +0000 | [diff] [blame] | 586 | obj:/lib/ld-2.3.*.so |
| 587 | obj:/lib/ld-2.3.*.so |
| 588 | obj:/lib/ld-2.3.*.so |
| 589 | obj:/lib/ld-2.3.*.so |
| 590 | obj:/lib/ld-2.3.*.so |
njn | 1132e82 | 2005-11-18 17:09:36 +0000 | [diff] [blame] | 591 | } |
| 592 | |