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 | d84bde7 | 2003-09-15 07:19:19 +0000 | [diff] [blame] | 69 | Addrcheck,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 | d84bde7 | 2003-09-15 07:19:19 +0000 | [diff] [blame] | 76 | Addrcheck,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 | |
daywalker | 63f6f78 | 2003-05-27 00:19:52 +0000 | [diff] [blame] | 109 | |
| 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 | |
sewardj | 7c874c7 | 2003-09-27 21:25:30 +0000 | [diff] [blame] | 145 | ##----------------------------------------------------------------------## |
| 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 | } |