| OLD | NEW |
| (Empty) |
| 1 # These three happen if valgrind doesn't notice and handle speculative | |
| 2 # implementations of strchr/strlen/strcat properly. | |
| 3 { | |
| 4 visual_c_ignore_strchr | |
| 5 Memcheck:Cond | |
| 6 fun:strchr | |
| 7 } | |
| 8 { | |
| 9 visual_c_ignore_strlen | |
| 10 Memcheck:Cond | |
| 11 fun:strlen | |
| 12 } | |
| 13 { | |
| 14 visual_c_ignore_strcat | |
| 15 Memcheck:Cond | |
| 16 fun:strcat | |
| 17 } | |
| 18 # These two are because ioctl often involves structs with holes. | |
| 19 # We need to either add one of these per ioctl, or | |
| 20 # just make it apply for *any* call to NtFsControlFile. | |
| 21 { | |
| 22 wine_struct_hole_FILE_PIPE_WAIT_FOR_BUFFER | |
| 23 Memcheck:Param | |
| 24 writev(vector[1]) | |
| 25 obj:* | |
| 26 fun:wine_server_call | |
| 27 fun:server_ioctl_file | |
| 28 fun:NtFsControlFile | |
| 29 fun:WaitNamedPipeW | |
| 30 } | |
| 31 { | |
| 32 wine_struct_hole_FILE_PIPE_WAIT_FOR_BUFFER_NONOPTIMIZED | |
| 33 Memcheck:Param | |
| 34 writev(vector[1]) | |
| 35 obj:* | |
| 36 fun:send_request | |
| 37 fun:wine_server_call | |
| 38 fun:server_ioctl_file | |
| 39 fun:NtFsControlFile | |
| 40 fun:WaitNamedPipeW | |
| 41 } | |
| 42 { | |
| 43 # See http://www.winehq.org/pipermail/wine-devel/2008-November/070539.html | |
| 44 # We might want to add an annotationto WriteConsoleInputW | |
| 45 # for the hole someday. | |
| 46 wine_struct_hole_WriteConsoleInput | |
| 47 Memcheck:Param | |
| 48 writev(vector[...]) | |
| 49 fun:writev | |
| 50 fun:send_request | |
| 51 fun:wine_server_call | |
| 52 fun:wine_server_call_err | |
| 53 fun:WriteConsoleInputW | |
| 54 } | |
| 55 # We sure got a lot of these in the logs when I first started. | |
| 56 # I suppressed them to avoid dispair. | |
| 57 { | |
| 58 todo_wine_arrgh_wcstombs | |
| 59 Memcheck:Value4 | |
| 60 fun:wine_cp_wcstombs | |
| 61 } | |
| 62 # Now on to system bugs that aren't Wine's fault. | |
| 63 { | |
| 64 suppress_nss_leak | |
| 65 Memcheck:Leak | |
| 66 fun:malloc | |
| 67 obj:* | |
| 68 fun:__nss_database_lookup | |
| 69 } | |
| 70 { | |
| 71 bogus_addr4_ldso_27 | |
| 72 Memcheck:Addr4 | |
| 73 obj:/lib*/ld-2.7.so | |
| 74 } | |
| 75 { | |
| 76 bogus_addr4_ldso_261 | |
| 77 Memcheck:Addr4 | |
| 78 obj:/lib*/ld-2.6.1.so | |
| 79 } | |
| 80 { | |
| 81 bogus_addr4_ldso_25 | |
| 82 Memcheck:Addr4 | |
| 83 obj:/lib*/ld-2.5.so | |
| 84 } | |
| 85 { | |
| 86 bogus_addr4_ldso_236 | |
| 87 Memcheck:Addr4 | |
| 88 obj:/lib*/ld-2.3.6.so | |
| 89 } | |
| 90 { | |
| 91 bogus_cond_ldso_27 | |
| 92 Memcheck:Cond | |
| 93 obj:/lib*/ld-2.7.so | |
| 94 } | |
| 95 { | |
| 96 bogus_cond_ldso_261 | |
| 97 Memcheck:Cond | |
| 98 obj:/lib*/ld-2.6.1.so | |
| 99 } | |
| 100 { | |
| 101 bogus_cond_ldso_25 | |
| 102 Memcheck:Cond | |
| 103 obj:/lib*/ld-2.5.so | |
| 104 } | |
| 105 { | |
| 106 bogus_cond_ldso_236 | |
| 107 Memcheck:Cond | |
| 108 obj:/lib*/ld-2.3.6.so | |
| 109 } | |
| 110 { | |
| 111 bogus_cond_libglcore_16912 | |
| 112 Memcheck:Cond | |
| 113 obj:/usr/lib*/libGLcore.so.169.12 | |
| 114 } | |
| 115 { | |
| 116 bogus_value4_libglcore_16912 | |
| 117 Memcheck:Value4 | |
| 118 obj:/usr/lib*/libGLcore.so.169.12 | |
| 119 } | |
| 120 { | |
| 121 bogus_addr2_libglcore_16912 | |
| 122 Memcheck:Addr2 | |
| 123 obj:/usr/lib*/libGLcore.so.169.12 | |
| 124 } | |
| 125 { | |
| 126 suppress_ioctl_libglcore_18044 | |
| 127 Memcheck:Param | |
| 128 ioctl(generic) | |
| 129 fun:ioctl | |
| 130 obj:/usr/lib32/libGLcore.so.180.44 | |
| 131 } | |
| 132 { | |
| 133 suppress_cond_libglcore_18044 | |
| 134 Memcheck:Cond | |
| 135 obj:/usr/lib32/libGLcore.so.180.44 | |
| 136 } | |
| 137 { | |
| 138 bogus_addr4_libgl_109631 | |
| 139 Memcheck:Addr4 | |
| 140 obj:/usr/lib*/libGL.so.1.0.9631 | |
| 141 } | |
| 142 { | |
| 143 bogus_addr4_libgl_109639 | |
| 144 Memcheck:Addr4 | |
| 145 obj:/usr/lib*/libGL.so.1.0.9639 | |
| 146 } | |
| 147 { | |
| 148 suppress_leak_libgl_109631 | |
| 149 Memcheck:Leak | |
| 150 fun:malloc | |
| 151 obj:/usr/lib*/libGL.so.1.0.9631 | |
| 152 } | |
| 153 { | |
| 154 suppress_leak_libgl_18044 | |
| 155 Memcheck:Leak | |
| 156 fun:malloc | |
| 157 obj:/usr/lib32/libGL.so.180.44 | |
| 158 } | |
| 159 { | |
| 160 suppress_leak_wglGetProcAddress | |
| 161 Memcheck:Leak | |
| 162 fun:malloc | |
| 163 obj:/usr/lib/libGL* | |
| 164 ... | |
| 165 fun:glXChooseVisual | |
| 166 fun:has_opengl | |
| 167 fun:X11DRV_wglGetProcAddress | |
| 168 fun:wglGetProcAddress | |
| 169 } | |
| 170 { | |
| 171 bogus_X11_1 | |
| 172 Memcheck:Param | |
| 173 write(buf) | |
| 174 obj:* | |
| 175 obj:/usr/lib*/libX11.so.6.2.0 | |
| 176 } | |
| 177 { | |
| 178 bogus_X11_2 | |
| 179 Memcheck:Param | |
| 180 write(buf) | |
| 181 obj:* | |
| 182 obj:* | |
| 183 obj:/usr/lib*/libX11.so.6.2.0 | |
| 184 } | |
| 185 { | |
| 186 bogus_Xcursor_Cond | |
| 187 Memcheck:Cond | |
| 188 obj:/usr/lib*/libXcursor.so.1.0.2 | |
| 189 } | |
| 190 { | |
| 191 bogus_Xcursor_Leak | |
| 192 Memcheck:Leak | |
| 193 fun:malloc | |
| 194 obj:/usr/lib/libXcursor.so.1.0.2 | |
| 195 } | |
| 196 { | |
| 197 suppress_i915_ioctl | |
| 198 Memcheck:Param | |
| 199 ioctl(generic) | |
| 200 obj:* | |
| 201 obj:/usr/lib*/dri/i915_dri.so | |
| 202 } | |
| 203 { | |
| 204 suppress_i915_cond | |
| 205 Memcheck:Cond | |
| 206 obj:/usr/lib*/dri/i915_dri.so | |
| 207 } | |
| 208 { | |
| 209 suppress_i915_value | |
| 210 Memcheck:Value4 | |
| 211 obj:/usr/lib*/dri/i915_dri.so | |
| 212 } | |
| 213 { | |
| 214 suppress_i915_leak1 | |
| 215 Memcheck:Leak | |
| 216 fun:malloc | |
| 217 obj:/usr/lib*/dri/i915_dri.so | |
| 218 } | |
| 219 { | |
| 220 suppress_i915_leak2 | |
| 221 Memcheck:Leak | |
| 222 fun:memalign | |
| 223 fun:* | |
| 224 obj:/usr/lib*/dri/i915_dri.so | |
| 225 } | |
| 226 { | |
| 227 suppress_libasound_overlap | |
| 228 Memcheck:Overlap | |
| 229 fun:memcpy | |
| 230 obj:/usr/lib*/libasound.so.2.0.0 | |
| 231 } | |
| 232 { | |
| 233 suppress_libasound_connect | |
| 234 Memcheck:Param | |
| 235 socketcall.connect(serv_addr..sun_path) | |
| 236 obj:* | |
| 237 obj:/usr/lib*/libasound.so.2.0.0 | |
| 238 } | |
| 239 { | |
| 240 suppress_libasound_connect2 | |
| 241 Memcheck:Cond | |
| 242 fun:snd_pcm_direct_client_connect | |
| 243 obj:/usr/lib*/libasound.so.2.0.0 | |
| 244 } | |
| 245 { | |
| 246 suppress_libasound_bind | |
| 247 Memcheck:Param | |
| 248 socketcall.bind(my_addr..sun_path) | |
| 249 obj:* | |
| 250 obj:/usr/lib*/libasound.so.2.0.0 | |
| 251 } | |
| 252 { | |
| 253 suppress_libasound_ioctl | |
| 254 Memcheck:Param | |
| 255 ioctl(arg) | |
| 256 obj:* | |
| 257 obj:/usr/lib*/libasound.so.2.0.0 | |
| 258 } | |
| 259 { | |
| 260 suppress_libasound_ioctl2 | |
| 261 Memcheck:Param | |
| 262 ioctl(arg) | |
| 263 obj:* | |
| 264 fun:ioctl | |
| 265 obj:/usr/lib*/libasound.so.2.0.0 | |
| 266 } | |
| 267 { | |
| 268 suppress_libasound_semctl | |
| 269 Memcheck:Param | |
| 270 semctl(IPC_SET, arg.buf) | |
| 271 obj:* | |
| 272 obj:/usr/lib*/libasound.so.2.0.0 | |
| 273 } | |
| 274 { | |
| 275 todo_suppress_libasound_leak | |
| 276 Memcheck:Leak | |
| 277 ... | |
| 278 obj:/usr/lib*/libasound.so.2.0.0 | |
| 279 } | |
| 280 { | |
| 281 todo_suppress_libfontconfig_leak | |
| 282 Memcheck:Leak | |
| 283 fun:malloc | |
| 284 obj:/usr/lib*/libfontconfig.so.1.* | |
| 285 } | |
| 286 # thread_detach() should clean this up?? | |
| 287 { | |
| 288 todo_wine_dlls_winex11drv__x11drv_init_thread_data_main | |
| 289 Memcheck:Leak | |
| 290 ... | |
| 291 fun:RtlAllocateHeap | |
| 292 fun:x11drv_init_thread_data | |
| 293 } | |
| 294 # Supposedly there's a call back to X11DRV_DestroyIM at thread destruction time.
..? | |
| 295 # and thread_detach() should also clean it up?? | |
| 296 { | |
| 297 todo_wine_dlls_winex11drv__x11drv_init_thread_data_xim | |
| 298 Memcheck:Leak | |
| 299 fun:malloc | |
| 300 fun:_XimOpenIM | |
| 301 fun:_XimRegisterIMInstantiateCallback | |
| 302 fun:XRegisterIMInstantiateCallback | |
| 303 fun:X11DRV_SetupXIM | |
| 304 fun:x11drv_init_thread_data | |
| 305 fun:x11drv_thread_data | |
| 306 fun:X11DRV_SetWindowPos | |
| 307 } | |
| 308 { | |
| 309 todo_wine_dlls_winex11drv__X11DRV_XRandR_Init | |
| 310 Memcheck:Leak | |
| 311 fun:*alloc | |
| 312 fun:XInitExtension | |
| 313 fun:XextAddDisplay | |
| 314 obj:*/libXrandr* | |
| 315 fun:XRRQueryExtension | |
| 316 fun:X11DRV_XRandR_Init | |
| 317 } | |
| 318 { | |
| 319 todo_wine_dlls_winex11drv__X11DRV_XRender_Init | |
| 320 Memcheck:Leak | |
| 321 fun:*alloc | |
| 322 fun:XInitExtension | |
| 323 fun:XRenderFindDisplay | |
| 324 fun:XRenderQueryExtension | |
| 325 fun:X11DRV_XRender_Init | |
| 326 } | |
| 327 { | |
| 328 todo_wine_dlls_winex11drv__xinerama_init | |
| 329 Memcheck:Leak | |
| 330 fun:*alloc | |
| 331 fun:XInitExtension | |
| 332 fun:XextAddDisplay | |
| 333 ... | |
| 334 fun:XPanoramiXQueryExtension | |
| 335 fun:XineramaQueryExtension | |
| 336 ... | |
| 337 fun:xinerama_init | |
| 338 } | |
| 339 { | |
| 340 todo_wine_dlls_winex11drv__XkbUseExtension | |
| 341 Memcheck:Leak | |
| 342 fun:*alloc | |
| 343 fun:XInitExtension | |
| 344 fun:XkbUseExtension | |
| 345 fun:XOpenDisplay | |
| 346 } | |
| 347 { | |
| 348 todo_wine_dlls_winex11drv__X11DRV_XComposite_Init | |
| 349 Memcheck:Leak | |
| 350 fun:*alloc | |
| 351 fun:XInitExtension | |
| 352 fun:XCompositeFindDisplay | |
| 353 fun:XCompositeQueryExtension | |
| 354 } | |
| 355 { | |
| 356 todo_wine_dlls_winex11drv__X11DRV_XF86VM_Init | |
| 357 Memcheck:Leak | |
| 358 fun:*alloc | |
| 359 fun:XInitExtension | |
| 360 fun:XextAddDisplay | |
| 361 fun:* | |
| 362 fun:XF86VidModeQueryExtension | |
| 363 fun:X11DRV_XF86VM_Init | |
| 364 } | |
| 365 { | |
| 366 todo_wine_dlls_winex11drv_XOpenDisplay | |
| 367 Memcheck:Leak | |
| 368 fun:malloc | |
| 369 ... | |
| 370 fun:xcb_connect | |
| 371 fun:_XConnectXCB | |
| 372 fun:XOpenDisplay | |
| 373 } | |
| 374 { | |
| 375 todo_wine_dlls_winex11drv_XOpenDisplay_2 | |
| 376 Memcheck:Leak | |
| 377 fun:malloc | |
| 378 ... | |
| 379 fun:xcb_get_extension_data | |
| 380 fun:xcb_prefetch_maximum_request_length | |
| 381 fun:xcb_get_maximum_request_length | |
| 382 fun:XOpenDisplay | |
| 383 fun:DllMain | |
| 384 } | |
| 385 { | |
| 386 todo_suppress_alloc_module_leak | |
| 387 Memcheck:Leak | |
| 388 ... | |
| 389 fun:RtlAllocateHeap | |
| 390 fun:RtlCreateUnicodeString | |
| 391 fun:alloc_module | |
| 392 } | |
| 393 { | |
| 394 todo_suppress_dlopen_leak | |
| 395 Memcheck:Leak | |
| 396 fun:*alloc | |
| 397 ... | |
| 398 fun:dlopen | |
| 399 } | |
| 400 { | |
| 401 todo_suppress_dlopen_leak2 | |
| 402 Memcheck:Leak | |
| 403 fun:*alloc | |
| 404 ... | |
| 405 fun:dl_open_worker | |
| 406 fun:_dl_catch_error | |
| 407 fun:_dl_open | |
| 408 fun:dlopen_doit | |
| 409 fun:_dl_catch_error | |
| 410 } | |
| 411 { | |
| 412 suppress_dlopen_addr4 | |
| 413 Memcheck:Addr4 | |
| 414 ... | |
| 415 fun:__libc_dlopen_mode | |
| 416 } | |
| 417 { | |
| 418 todo_suppress_load_library_leak | |
| 419 Memcheck:Leak | |
| 420 ... | |
| 421 fun:RtlAllocateHeap | |
| 422 fun:RtlAnsiStringToUnicodeString | |
| 423 fun:RtlCreateUnicodeStringFromAsciiz | |
| 424 fun:get_load_order | |
| 425 } | |
| 426 { | |
| 427 todo_suppress_wine_init_load_order_leak | |
| 428 Memcheck:Leak | |
| 429 ... | |
| 430 fun:RtlAllocateHeap | |
| 431 fun:RtlAnsiStringToUnicodeString | |
| 432 fun:RtlCreateUnicodeStringFromAsciiz | |
| 433 fun:init_load_order | |
| 434 } | |
| 435 # ntdll/loader.c explicitly avoids freeing when .exe's exit at the moment | |
| 436 { | |
| 437 todo_suppress_wine_alloc_module_leak | |
| 438 Memcheck:Leak | |
| 439 ... | |
| 440 fun:RtlAllocateHeap | |
| 441 fun:RtlCreateUnicodeString | |
| 442 fun:alloc_module | |
| 443 } | |
| 444 { | |
| 445 todo_suppress_explorer_leak | |
| 446 Memcheck:Leak | |
| 447 ... | |
| 448 fun:RtlAllocateHeap | |
| 449 fun:load_driver | |
| 450 fun:loaderdrv_CreateDesktopWindow | |
| 451 fun:WIN_CreateWindowEx | |
| 452 fun:CreateWindowExW | |
| 453 fun:manage_desktop | |
| 454 fun:WinMain | |
| 455 fun:main | |
| 456 } | |
| 457 { | |
| 458 todo_suppress_exception_addr4 | |
| 459 Memcheck:Addr4 | |
| 460 fun:__wine_call_from_32_regs | |
| 461 obj:/home/dank/wine-git/dlls/ntdll/ntdll.dll.so | |
| 462 obj:/home/dank/wine-git/dlls/ntdll/ntdll.dll.so | |
| 463 fun:raise_exception | |
| 464 } | |
| 465 { | |
| 466 todo_ignore_bogus_writes_in_req_handler | |
| 467 Memcheck:Param | |
| 468 writev(vector[1]) | |
| 469 obj:* | |
| 470 fun:call_req_handler | |
| 471 } | |
| 472 # See comment in dlls/kernel32/tests/thread.c at end of threadFunc1 | |
| 473 { | |
| 474 suppress_wine_verify_lstrlenA_deadbeef_zero | |
| 475 Memcheck:Addr1 | |
| 476 fun:strlen | |
| 477 fun:lstrlenA | |
| 478 fun:threadFunc1 | |
| 479 obj:/home/dank/wine-git/dlls/ntdll/ntdll.dll.so | |
| 480 fun:call_thread_func | |
| 481 } | |
| 482 # test_UnpackDDElParam intentionally passes a bad pointer | |
| 483 { | |
| 484 suppress_wine_user32_dde_tests | |
| 485 Memcheck:Addr2 | |
| 486 fun:GlobalLock | |
| 487 fun:UnpackDDElParam | |
| 488 fun:test_UnpackDDElParam | |
| 489 fun:func_dde | |
| 490 fun:run_test | |
| 491 fun:main | |
| 492 } | |
| 493 { | |
| 494 suppress_gmtime | |
| 495 Memcheck:Cond | |
| 496 obj:* | |
| 497 obj:* | |
| 498 fun:gmtime | |
| 499 fun:FileTimeToDosDateTime | |
| 500 } | |
| 501 { | |
| 502 suppress_gmtime_r | |
| 503 Memcheck:Cond | |
| 504 obj:* | |
| 505 obj:* | |
| 506 fun:gmtime_r | |
| 507 fun:FileTimeToDosDateTime | |
| 508 } | |
| 509 { | |
| 510 suppress_if_name2index_glibc_27 | |
| 511 Memcheck:Param | |
| 512 ioctl(SIOCGIFINDEX) | |
| 513 obj:/lib*/ld-2.7.so | |
| 514 fun:getInterfaceIndexByName | |
| 515 } | |
| 516 { | |
| 517 suppress_if_nameindex_glibc_23 | |
| 518 Memcheck:Param | |
| 519 socketcall.sendto(msg) | |
| 520 obj:/lib*/ld-2.3.*.so | |
| 521 fun:if_nameindex | |
| 522 } | |
| 523 { | |
| 524 # See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553016 | |
| 525 # and http://bbs.archlinux.org/viewtopic.php?pid=273718 | |
| 526 suppress_glibc_dl_relocate_object | |
| 527 Memcheck:Cond | |
| 528 fun:_dl_relocate_object | |
| 529 } | |
| 530 { | |
| 531 # With ubuntu 9.04: | |
| 532 # Uninitialised value was created by a stack allocation | |
| 533 # at __libc_res_nsend (res_send.c:343) | |
| 534 glibc_bug_libc_res_nsend | |
| 535 Memcheck:Cond | |
| 536 fun:__libc_res_nsend | |
| 537 } | |
| 538 # Naming convention for Wine suppressions: | |
| 539 # If we think it's solid: | |
| 540 # suppress_wine_dirname__functionname[_moreifneeded] | |
| 541 # If we aren't sure, change suppress to todo | |
| 542 { | |
| 543 # intentionally frees an invalid pointer. | |
| 544 # It would be nice if that were in a different | |
| 545 # function, so we could suppress it specifically, | |
| 546 # and not other possible warnings in the heap tests. | |
| 547 suppress_wine_dlls_kernel32_tests__test_heap_invalid_free | |
| 548 Memcheck:Free | |
| 549 fun:notify_free | |
| 550 fun:RtlFreeHeap | |
| 551 fun:HeapFree | |
| 552 fun:GlobalFree | |
| 553 fun:test_heap | |
| 554 fun:func_heap | |
| 555 fun:run_test | |
| 556 fun:main | |
| 557 } | |
| 558 { | |
| 559 # Lots of little invalid things going on in this test | |
| 560 suppress_wine_dlls_kernel32_tests_test_heap | |
| 561 Memcheck:Addr2 | |
| 562 ... | |
| 563 fun:test_heap | |
| 564 fun:func_heap | |
| 565 fun:run_test | |
| 566 fun:main | |
| 567 } | |
| 568 { | |
| 569 suppress_wine_dlls_kernel32_tests__CreateThread_basic_badaccess | |
| 570 Memcheck:Addr1 | |
| 571 fun:strlen | |
| 572 fun:lstrlenA | |
| 573 fun:test_CreateThread_basic | |
| 574 } | |
| 575 { | |
| 576 suppress_wine_dlls_kernel32_IsBadReadPtr | |
| 577 Memcheck:Addr1 | |
| 578 fun:IsBadReadPtr | |
| 579 } | |
| 580 { | |
| 581 suppress_wine_dlls_kernel32__IsBadWritePtr | |
| 582 Memcheck:Addr1 | |
| 583 fun:IsBadWritePtr | |
| 584 } | |
| 585 { | |
| 586 suppress_wine_dlls_kernel32_tests__doCrash | |
| 587 Memcheck:Addr1 | |
| 588 fun:doCrash | |
| 589 } | |
| 590 # This one is for a jump to zero done intentionally by the crypt32 tests | |
| 591 # compiled with -O2, it looks like this? | |
| 592 { | |
| 593 suppress_wine_dlls_crypt32_tests__test_data_msg_O2 | |
| 594 Memcheck:Addr4 | |
| 595 fun:__wine_call_from_32_regs | |
| 596 fun:CryptMsgUpdate | |
| 597 fun:test_data_msg | |
| 598 } | |
| 599 # compiled with -O0, it looks like this? | |
| 600 { | |
| 601 suppress_wine_dlls_crypt32_tests__test_data_msg_O0 | |
| 602 Memcheck:Jump | |
| 603 obj:* | |
| 604 fun:CryptMsgUpdate | |
| 605 fun:test_data_msg_update | |
| 606 fun:test_data_msg | |
| 607 } | |
| 608 # These two functions test error returned by file read/write with null buffers | |
| 609 { | |
| 610 suppress_wine_kernel32_tests__test_read_write_nullwrite | |
| 611 Memcheck:Param | |
| 612 write(buf) | |
| 613 obj:/lib*/ld-*.so | |
| 614 fun:WriteFile | |
| 615 fun:test_read_write | |
| 616 fun:func_file | |
| 617 fun:run_test | |
| 618 fun:main | |
| 619 } | |
| 620 { | |
| 621 suppress_wine_kernel32_tests__test_read_write_nullread | |
| 622 Memcheck:Param | |
| 623 read(buf) | |
| 624 obj:/lib*/ld-*.so | |
| 625 fun:ReadFile | |
| 626 fun:test_read_write | |
| 627 fun:func_file | |
| 628 fun:run_test | |
| 629 fun:main | |
| 630 } | |
| 631 | |
| 632 # test_SetThreadContext: | |
| 633 # The code in question looks like this: | |
| 634 #/* simulate a call to set_test_val(10) */ | |
| 635 #stack = (int *)ctx.Esp; | |
| 636 #stack[-1] = 10; | |
| 637 #stack[-2] = ctx.Eip; | |
| 638 # So we actually are writing to the stack, just not using 'proper' | |
| 639 # access to the stack. | |
| 640 { | |
| 641 suppress_wine_kernel32_tests__test_SetThreadContext | |
| 642 Memcheck:Addr4 | |
| 643 fun:test_SetThreadContext | |
| 644 fun:func_thread | |
| 645 fun:run_test | |
| 646 fun:main | |
| 647 } | |
| 648 { | |
| 649 ignore_rsaenh_test_expected_bad_access | |
| 650 Memcheck:Addr4 | |
| 651 fun:CryptReleaseContext | |
| 652 fun:clean_up_base_environment | |
| 653 } | |
| 654 | |
| 655 # Back to system suppressions that aren't wine's fault | |
| 656 # gecko is #1 in the list of offending upstream libraries... | |
| 657 { | |
| 658 todo_gecko_warnings_r_us | |
| 659 Memcheck:Addr4 | |
| 660 obj:*wine_gecko* | |
| 661 } | |
| 662 { | |
| 663 todo_gecko_warnings_r_us2 | |
| 664 Memcheck:Cond | |
| 665 obj:*wine_gecko* | |
| 666 } | |
| 667 # followed by openssl | |
| 668 { | |
| 669 todo_openssl_warnings_r_us1a | |
| 670 Memcheck:Addr4 | |
| 671 obj:/usr/lib*/libcrypto.so* | |
| 672 } | |
| 673 { | |
| 674 todo_openssl_warnings_r_us1b | |
| 675 Memcheck:Value4 | |
| 676 obj:/usr/lib*/*libcrypto.so* | |
| 677 } | |
| 678 { | |
| 679 todo_openssl_warnings_r_us1c | |
| 680 Memcheck:Cond | |
| 681 obj:/usr/lib*/*libcrypto.so* | |
| 682 } | |
| 683 { | |
| 684 todo_openssl_warnings_r_us2a | |
| 685 Memcheck:Addr4 | |
| 686 obj:* | |
| 687 obj:/usr/lib*/*libcrypto.so* | |
| 688 } | |
| 689 { | |
| 690 todo_openssl_warnings_r_us2b | |
| 691 Memcheck:Value4 | |
| 692 obj:* | |
| 693 obj:/usr/lib*/*libcrypto.so* | |
| 694 } | |
| 695 { | |
| 696 todo_openssl_warnings_r_us2c | |
| 697 Memcheck:Cond | |
| 698 obj:* | |
| 699 obj:/usr/lib*/*libcrypto.so* | |
| 700 } | |
| 701 { | |
| 702 todo_openssl_warnings_r_us1d | |
| 703 Memcheck:Param | |
| 704 write(buf) | |
| 705 obj:* | |
| 706 obj:/usr/lib*/*libcrypto.so* | |
| 707 } | |
| 708 { | |
| 709 todo_openssl_warnings_r_us3a | |
| 710 Memcheck:Addr4 | |
| 711 obj:/usr/lib*/*libssl.so* | |
| 712 } | |
| 713 { | |
| 714 todo_openssl_warnings_r_us3b | |
| 715 Memcheck:Value4 | |
| 716 obj:/usr/lib*/*libssl.so* | |
| 717 } | |
| 718 { | |
| 719 todo_openssl_warnings_r_us3c | |
| 720 Memcheck:Cond | |
| 721 obj:/usr/lib*/*libssl.so* | |
| 722 } | |
| 723 { | |
| 724 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532059 | |
| 725 # http://rt.openssl.org/index.html?q=1642 | |
| 726 todo_openssl_warnings_mod_inverse | |
| 727 Memcheck:Cond | |
| 728 fun:BN_mod_inverse | |
| 729 } | |
| 730 { | |
| 731 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532059 | |
| 732 # http://rt.openssl.org/index.html?q=1642 | |
| 733 todo_openssl_warnings_div | |
| 734 Memcheck:Cond | |
| 735 fun:BN_div | |
| 736 } | |
| 737 # And sane | |
| 738 { | |
| 739 todo_sane_warnings_r_us | |
| 740 Memcheck:Addr4 | |
| 741 obj:*libsane* | |
| 742 } | |
| 743 { | |
| 744 todo_sane_warnings_r_us2 | |
| 745 Memcheck:Cond | |
| 746 obj:*libsane* | |
| 747 } | |
| 748 # and visual C++ 6 | |
| 749 { | |
| 750 todo_visual_c_chkstk | |
| 751 Memcheck:Addr4 | |
| 752 fun:$$$00001 | |
| 753 } | |
| 754 { | |
| 755 todo_visual_c_chkstk_2 | |
| 756 Memcheck:Addr4 | |
| 757 fun:_chkstk | |
| 758 } | |
| 759 { | |
| 760 visual_c_ignore_bad_typeid | |
| 761 Memcheck:Cond | |
| 762 fun:??0bad_typeid@@QAE@ABV0@@Z | |
| 763 } | |
| 764 # and pulseaudio?? possible bad stack from valgrind? | |
| 765 { | |
| 766 fixme_pulseaudio_leak_widOpen | |
| 767 Memcheck:Leak | |
| 768 fun:calloc | |
| 769 ... | |
| 770 fun:pa_cvolume_set | |
| 771 } | |
| 772 { | |
| 773 fixme_pulseaudio_leak_pa_mainloop_dispatch | |
| 774 Memcheck:Leak | |
| 775 fun:calloc | |
| 776 fun:pa_xmalloc0 | |
| 777 obj:/usr/lib32/libpulse.so.0.7.1 | |
| 778 obj:/usr/lib32/libpulse.so.0.7.1 | |
| 779 obj:/usr/lib32/libpulse.so.0.7.1 | |
| 780 obj:/usr/lib32/libpulse.so.0.7.1 | |
| 781 obj:/usr/lib32/libpulse.so.0.7.1 | |
| 782 obj:/usr/lib32/libpulse.so.0.7.1 | |
| 783 obj:/usr/lib32/libpulse.so.0.7.1 | |
| 784 obj:/usr/lib32/libpulse.so.0.7.1 | |
| 785 fun:pa_mainloop_dispatch | |
| 786 } | |
| 787 # and msacm32? possible bad stack from valgrind? | |
| 788 { | |
| 789 fixme_msacm32_leak | |
| 790 Memcheck:Leak | |
| 791 fun:calloc | |
| 792 obj:* | |
| 793 fun:acmDriverRemove | |
| 794 obj:* | |
| 795 fun:acmFilterTagDetailsW | |
| 796 } | |
| 797 { | |
| 798 fixme_msacm32_leak2 | |
| 799 Memcheck:Leak | |
| 800 fun:calloc | |
| 801 fun:attr_copy_file | |
| 802 ... | |
| 803 fun:widReset | |
| 804 } | |
| 805 # Seen in chromium's EmfTest | |
| 806 { | |
| 807 fixme_msacm32_leak3 | |
| 808 Memcheck:Leak | |
| 809 fun:calloc | |
| 810 obj:* | |
| 811 fun:wodPrepare | |
| 812 obj:* | |
| 813 fun:wodMapperReconfigure | |
| 814 } | |
| 815 # aw, heck, sometimes the symbols aren't there? | |
| 816 { | |
| 817 msacm_leaks_no_symbols | |
| 818 Memcheck:Leak | |
| 819 fun:calloc | |
| 820 obj:* | |
| 821 obj:*msacm32.drv.so | |
| 822 } | |
| 823 | |
| 824 # shell32 isn't freeing its imagelist cache on unload? | |
| 825 { | |
| 826 wine_bug_20544 | |
| 827 Memcheck:Leak | |
| 828 fun:malloc | |
| 829 fun:XInitExtension | |
| 830 fun:XextAddDisplay | |
| 831 fun:* | |
| 832 fun:XShmQueryVersion | |
| 833 fun:X11DRV_CreateDIBSection | |
| 834 fun:CreateDIBSection | |
| 835 fun:ImageList_CreateImage | |
| 836 fun:ImageList_Create | |
| 837 fun:SIC_Initialize | |
| 838 fun:DllMain | |
| 839 } | |
| 840 # winmm isn't freeing everything on unload? | |
| 841 { | |
| 842 wine_bug_20545 | |
| 843 Memcheck:Leak | |
| 844 ... | |
| 845 fun:Rtl*AllocateHeap | |
| 846 fun:MMDRV_InitPerType | |
| 847 fun:MMDRV_Install | |
| 848 fun:MMDRV_Init | |
| 849 } | |
| 850 { | |
| 851 # This one's probably benign? | |
| 852 user32_builtin_classes_leak | |
| 853 Memcheck:Leak | |
| 854 fun:calloc | |
| 855 fun:XAddExtension | |
| 856 fun:_XcursorGetDisplayInfo | |
| 857 fun:XcursorSupportsARGB | |
| 858 fun:XcursorNoticeCreateBitmap | |
| 859 fun:_XNoticeCreateBitmap | |
| 860 fun:XCreatePixmap | |
| 861 fun:X11DRV_BITMAP_Init | |
| 862 fun:device_init | |
| 863 fun:X11DRV_CreateDC | |
| 864 fun:CreateDCW | |
| 865 fun:CURSORICON_CreateIconFromBMI | |
| 866 fun:CreateIconFromResourceEx | |
| 867 fun:CURSORICON_Load | |
| 868 fun:LoadImageW | |
| 869 fun:LoadImageA | |
| 870 fun:LoadCursorA | |
| 871 fun:register_builtin | |
| 872 fun:CLASS_RegisterBuiltinClasses | |
| 873 } | |
| 874 # yet another leak on unload, seen on chromium's net http and ftp tests | |
| 875 { | |
| 876 wine_bug_20549 | |
| 877 Memcheck:Leak | |
| 878 fun:malloc | |
| 879 ... | |
| 880 fun:SECUR32_initSchannelSP | |
| 881 } | |
| 882 { | |
| 883 # yet another gnutls leak? | |
| 884 gnutls_leak_bug_2 | |
| 885 Memcheck:Leak | |
| 886 fun:calloc | |
| 887 ... | |
| 888 # fun:_gnutls_hash_init (commented out because sometimes this shows up
without symbols) | |
| 889 # fun:gnutls_handshake | |
| 890 fun:schan_InitializeSecurityContextW | |
| 891 fun:InitializeSecurityContextW | |
| 892 } | |
| 893 # leak on thread creation? | |
| 894 { | |
| 895 wine_bug_20552 | |
| 896 Memcheck:Leak | |
| 897 ... | |
| 898 fun:RtlAllocateHeap | |
| 899 fun:alloc_thread_tls | |
| 900 fun:MODULE_DllThreadAttach | |
| 901 } | |
| 902 { | |
| 903 wine_secur32_ignore_fork_helper_leak | |
| 904 Memcheck:Leak | |
| 905 ... | |
| 906 fun:RtlAllocateHeap | |
| 907 fun:fork_helper | |
| 908 fun:SECUR32_initNTLMSP | |
| 909 } | |
| 910 { | |
| 911 wine_bug_20548_ConnectNamedPipe | |
| 912 Memcheck:Leak | |
| 913 ... | |
| 914 fun:RtlAllocateHeap | |
| 915 fun:server_ioctl_file | |
| 916 fun:NtFsControlFile | |
| 917 } | |
| 918 { | |
| 919 wine_bug_20548_ReadFile | |
| 920 Memcheck:Leak | |
| 921 ... | |
| 922 fun:RtlAllocateHeap | |
| 923 fun:NtReadFile | |
| 924 } | |
| 925 { | |
| 926 wine_bug_20548_WriteFile | |
| 927 Memcheck:Leak | |
| 928 ... | |
| 929 fun:RtlAllocateHeap | |
| 930 fun:NtWriteFile | |
| 931 } | |
| 932 { | |
| 933 wine_bug_20548_WS_shutdown | |
| 934 Memcheck:Leak | |
| 935 ... | |
| 936 fun:RtlAllocateHeap | |
| 937 fun:WS2_register_async_shutdown | |
| 938 fun:WS_shutdown | |
| 939 } | |
| 940 { | |
| 941 todo_tls_leak_wine_bug_20552 | |
| 942 Memcheck:Leak | |
| 943 ... | |
| 944 fun:RtlAllocateHeap | |
| 945 fun:alloc_thread_tls | |
| 946 fun:MODULE_DllThreadAttach | |
| 947 fun:start_thread | |
| 948 } | |
| 949 { | |
| 950 wine_bug_20654 | |
| 951 Memcheck:Leak | |
| 952 ... | |
| 953 fun:RtlAllocateHeap | |
| 954 fun:get_full_path_helper | |
| 955 fun:RtlGetFullPathName_U | |
| 956 } | |
| 957 { | |
| 958 # This leak is expected - wine doesn't have a reliable way to free the defaul
t provider on exit. | |
| 959 wine_bug_20679 | |
| 960 Memcheck:Leak | |
| 961 ... | |
| 962 fun:CRYPT_GetDefaultProvider | |
| 963 } | |
| 964 { | |
| 965 # Benign window title leak? | |
| 966 wine_bug_20692_wontfix | |
| 967 Memcheck:Leak | |
| 968 ... | |
| 969 fun:DEFWND_SetText* | |
| 970 ... | |
| 971 fun:CreateWindow* | |
| 972 } | |
| 973 { | |
| 974 wine_bug_21045 | |
| 975 Memcheck:Leak | |
| 976 fun:RtlAllocateHeap | |
| 977 fun:SECUR32_addPackages | |
| 978 fun:SECUR32_initNegotiateSP | |
| 979 } | |
| 980 { | |
| 981 expected_double_free_wintrust_tests_crypt | |
| 982 Memcheck:Addr4 | |
| 983 fun:CryptCATAdminReleaseContext | |
| 984 fun:test_context | |
| 985 fun:func_crypt | |
| 986 fun:run_test | |
| 987 fun:main | |
| 988 } | |
| 989 { | |
| 990 expected_bad_pointer_wininet_tests_http | |
| 991 Memcheck:Addr1 | |
| 992 fun:HttpOpenRequestA | |
| 993 fun:test_bogus_accept_types_array | |
| 994 fun:func_http | |
| 995 fun:run_test | |
| 996 fun:main | |
| 997 } | |
| 998 { | |
| 999 expected_use_after_free_user32_tests_dialog | |
| 1000 Memcheck:Addr4 | |
| 1001 fun:DIALOG_CreateIndirect | |
| 1002 fun:DialogBoxParamA | |
| 1003 fun:test_DialogBoxParamA | |
| 1004 fun:func_dialog | |
| 1005 fun:run_test | |
| 1006 fun:main | |
| 1007 } | |
| 1008 { | |
| 1009 expected_12345678_ptr_user32_tests_class | |
| 1010 Memcheck:Addr2 | |
| 1011 fun:RtlImageNtHeader | |
| 1012 fun:RtlImageDirectoryEntryToData | |
| 1013 fun:find_entry | |
| 1014 fun:LdrFindResource_U | |
| 1015 fun:find_resourceA | |
| 1016 fun:FindResourceExA | |
| 1017 fun:FindResourceA | |
| 1018 fun:LoadMenuA | |
| 1019 fun:WIN_CreateWindowEx | |
| 1020 fun:CreateWindowExA | |
| 1021 fun:check_instance_ | |
| 1022 fun:test_instances | |
| 1023 fun:func_class | |
| 1024 fun:run_test | |
| 1025 fun:main | |
| 1026 } | |
| 1027 { | |
| 1028 expected_advapi32_tests_crypt_badparams | |
| 1029 Memcheck:Addr4 | |
| 1030 ... | |
| 1031 fun:test_incorrect_api_usage | |
| 1032 fun:func_crypt | |
| 1033 fun:run_test | |
| 1034 fun:main | |
| 1035 } | |
| 1036 { | |
| 1037 # These aren't even in wine, but in a helper app wine runs | |
| 1038 ntlm_auth_leaks | |
| 1039 Memcheck:Leak | |
| 1040 ... | |
| 1041 obj:/usr/bin/ntlm_auth | |
| 1042 } | |
| 1043 { | |
| 1044 ntlm_auth_leaks | |
| 1045 Memcheck:Leak | |
| 1046 ... | |
| 1047 fun:poptGetNextOpt | |
| 1048 fun:main | |
| 1049 } | |
| 1050 { | |
| 1051 expected_wininet_tests_http_test_bogus_accept_types_array | |
| 1052 Memcheck:Addr1 | |
| 1053 fun:HttpOpenRequestA | |
| 1054 fun:test_bogus_accept_types_array | |
| 1055 fun:func_http | |
| 1056 fun:run_test | |
| 1057 fun:main | |
| 1058 } | |
| 1059 { | |
| 1060 expected_advapi32_tests_crypt_see_wine_bug_20918 | |
| 1061 Memcheck:Addr4 | |
| 1062 fun:* | |
| 1063 fun:test_incorrect_api_usage | |
| 1064 fun:func_crypt | |
| 1065 fun:run_test | |
| 1066 fun:main | |
| 1067 } | |
| 1068 { | |
| 1069 expected_crypt32_tests_crypt_see_wine_bug_20984 | |
| 1070 Memcheck:Leak | |
| 1071 fun:notify_alloc | |
| 1072 fun:RtlAllocateHeap | |
| 1073 fun:new_object | |
| 1074 fun:new_key | |
| 1075 fun:import_public_key | |
| 1076 fun:import_key | |
| 1077 fun:RSAENH_CPImportKey | |
| 1078 fun:CryptImportKey | |
| 1079 fun:CRYPT_ImportRsaPublicKeyInfoEx | |
| 1080 fun:CryptImportPublicKeyInfoEx | |
| 1081 fun:CryptImportPublicKeyInfo | |
| 1082 fun:CDecodeSignedMsg_VerifySignatureWithKey | |
| 1083 fun:CDecodeSignedMsg_VerifySignature | |
| 1084 fun:CDecodeMsg_Control | |
| 1085 fun:CryptMsgControl | |
| 1086 fun:CryptVerifyDetachedMessageSignature | |
| 1087 fun:test_verify_detached_message_signature | |
| 1088 } | |
| OLD | NEW |