dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 1 | |
| 2 | ##----------------------------------------------------------------------## |
| 3 | |
| 4 | # Errors to suppress by default with glibc @GLIBC_VERSION@.x |
| 5 | |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 6 | # IMPORTANT: DO NOT EDIT glibc-2.X.supp, as it is as a generated |
| 7 | # file. Instead edit glibc-2.X.supp.in. |
| 8 | |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 9 | # Format of this file is: |
| 10 | # { |
| 11 | # name_of_suppression |
| 12 | # tool_name:supp_kind |
| 13 | # (optional extra info for some suppression types) |
| 14 | # caller0 name, or /name/of/so/file.so |
| 15 | # caller1 name, or ditto |
| 16 | # (optionally: caller2 name) |
| 17 | # (optionally: caller3 name) |
| 18 | # } |
| 19 | # |
| 20 | # For Memcheck, the supp_kinds are: |
| 21 | # |
| 22 | # Param Value1 Value2 Value4 Value8 Value16 Jump |
| 23 | # Free Addr1 Addr2 Addr4 Addr8 Addr16 |
| 24 | # Cond (previously known as Value0) |
| 25 | # |
| 26 | # and the optional extra info is: |
| 27 | # if Param: name of system call param |
| 28 | |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 29 | ##----------------------------------------------------------------------## |
| 30 | ##--- generic suppressions ---## |
| 31 | ##----------------------------------------------------------------------## |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 32 | |
| 33 | { |
sewardj | 113fca2 | 2008-10-21 23:09:25 +0000 | [diff] [blame] | 34 | dl-hack3-cond-0 |
| 35 | Memcheck:Cond |
| 36 | fun:_dl_start |
| 37 | fun:_start |
| 38 | } |
| 39 | { |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 40 | dl-hack3-cond-1 |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 41 | Memcheck:Cond |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 42 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 43 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 44 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 45 | } |
| 46 | { |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 47 | dl-hack3-cond-2 |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 48 | Memcheck:Cond |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 49 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 50 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 51 | obj:*/lib*/libc-@GLIBC_VERSION@*.so* |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 52 | } |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 53 | { |
| 54 | dl-hack3-cond-3 |
| 55 | Memcheck:Cond |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 56 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 57 | obj:*/lib*/libc-@GLIBC_VERSION@*.so* |
| 58 | obj:*/lib*/libc-@GLIBC_VERSION@*.so* |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 59 | } |
| 60 | { |
| 61 | dl-hack3-cond-4 |
| 62 | Memcheck:Cond |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 63 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 64 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 65 | obj:*/lib*/libdl-@GLIBC_VERSION@*.so* |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 66 | } |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 67 | |
| 68 | { |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 69 | dl-hack4-64bit-addr-1 |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 70 | Memcheck:Addr8 |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 71 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 72 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 73 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 74 | } |
| 75 | { |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 76 | dl-hack4-64bit-addr-2 |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 77 | Memcheck:Addr8 |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 78 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 79 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 80 | obj:*/lib*/libc-@GLIBC_VERSION@*.so* |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 81 | } |
| 82 | { |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 83 | dl-hack4-64bit-addr-3 |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 84 | Memcheck:Addr8 |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 85 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 86 | obj:*/lib*/ld-@GLIBC_VERSION@*.so* |
| 87 | obj:*/lib*/libdl-@GLIBC_VERSION@*.so* |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 88 | } |
| 89 | |
| 90 | { |
| 91 | dl-hack5-32bit-addr-1 |
| 92 | Memcheck:Addr4 |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 93 | obj:*/lib*/ld-@GLIBC_VERSION@*.so |
| 94 | obj:*/lib*/ld-@GLIBC_VERSION@*.so |
| 95 | obj:*/lib*/ld-@GLIBC_VERSION@*.so |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 96 | } |
| 97 | { |
| 98 | dl-hack5-32bit-addr-3 |
| 99 | Memcheck:Addr4 |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 100 | obj:*/lib*/ld-@GLIBC_VERSION@*.so |
| 101 | obj:*/lib*/ld-@GLIBC_VERSION@*.so |
| 102 | obj:*/lib*/libdl-@GLIBC_VERSION@*.so* |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 103 | } |
| 104 | { |
| 105 | dl-hack5-32bit-addr-4 |
| 106 | Memcheck:Addr4 |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 107 | obj:*/lib*/ld-@GLIBC_VERSION@*.so |
| 108 | obj:*/lib*/libdl-@GLIBC_VERSION@*.so* |
| 109 | obj:*/lib*/ld-@GLIBC_VERSION@*.so |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 110 | } |
| 111 | |
| 112 | |
sewardj | 84eb487 | 2008-06-03 20:58:46 +0000 | [diff] [blame] | 113 | ##----------------------------------------------------------------------## |
| 114 | ##--- Misc ad-hoc hacks ---## |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 115 | ##----------------------------------------------------------------------## |
| 116 | { |
| 117 | glibc-2.5.x-on-SUSE-10.2-(PPC)-1 |
| 118 | Memcheck:Cond |
| 119 | fun:_dl_start_final |
| 120 | fun:_dl_start |
| 121 | fun:_start |
| 122 | } |
| 123 | { |
| 124 | glibc-2.5.x-on-SUSE-10.2-(PPC)-2a |
| 125 | Memcheck:Cond |
| 126 | fun:index |
| 127 | obj:*ld-@GLIBC_VERSION@.*.so |
| 128 | } |
| 129 | { |
| 130 | glibc-2.5.x-on-SuSE-10.2-(PPC)-2b |
| 131 | Memcheck:Addr4 |
| 132 | fun:index |
| 133 | fun:expand_dynamic_string_token |
| 134 | } |
| 135 | { |
| 136 | glibc-2.5.5-on-SuSE-10.2-(PPC)-2c |
| 137 | Memcheck:Addr4 |
| 138 | fun:index |
| 139 | obj:*ld-@GLIBC_VERSION@.*.so |
| 140 | } |
| 141 | { |
| 142 | glibc-2.3.5-on-SuSE-10.1-(PPC)-3 |
| 143 | Memcheck:Addr4 |
| 144 | fun:*wordcopy_fwd_dest_aligned* |
| 145 | fun:mem*cpy |
| 146 | obj:*lib*@GLIBC_VERSION@.*.so |
| 147 | } |
| 148 | |
| 149 | { |
| 150 | glibc-@GLIBC_VERSION@-on-SUSE-10.3-(x86) |
| 151 | Memcheck:Addr4 |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 152 | obj:*/lib/ld-@GLIBC_VERSION@*.so |
| 153 | obj:*/lib/ld-@GLIBC_VERSION@*.so |
| 154 | obj:*/lib/ld-@GLIBC_VERSION@*.so |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 155 | } |
| 156 | |
| 157 | { |
| 158 | glibc24-64bit-padding-1a |
| 159 | Memcheck:Param |
| 160 | socketcall.sendto(msg) |
| 161 | fun:send |
| 162 | fun:get_mapping |
| 163 | fun:__nscd_get_map_ref |
| 164 | fun:nscd* |
| 165 | } |
| 166 | { |
| 167 | glibc24-64bit-padding-1b |
| 168 | Memcheck:Param |
| 169 | socketcall.sendto(msg) |
| 170 | fun:__sendto_nocancel |
dirk | 028ad92 | 2011-08-23 20:29:10 +0000 | [diff] [blame] | 171 | obj:/*libc-@GLIBC_VERSION@*.so |
| 172 | obj:/*libc-@GLIBC_VERSION@*.so |
| 173 | obj:/*libc-@GLIBC_VERSION@*.so |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 174 | } |
| 175 | { |
| 176 | glibc24-64bit-padding-1c |
| 177 | Memcheck:Param |
| 178 | socketcall.send(msg) |
| 179 | fun:send |
| 180 | fun:__nscd_get_map_ref |
| 181 | fun:nscd_get*_r |
| 182 | fun:*nscd* |
dirk | 028ad92 | 2011-08-23 20:29:10 +0000 | [diff] [blame] | 183 | obj:/*libc-@GLIBC_VERSION@*.so |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 184 | } |
| 185 | |
| 186 | |
| 187 | { |
| 188 | X11-64bit-padding-3a |
| 189 | Memcheck:Param |
| 190 | write(buf) |
| 191 | obj:/*libpthread-2.4.so* |
| 192 | obj:/usr/lib*/libX11.so* |
| 193 | obj:/usr/lib*/libX11.so* |
| 194 | obj:/usr/lib*/libX11.so* |
| 195 | } |
| 196 | |
| 197 | { |
| 198 | X11-64bit-padding-4a |
| 199 | Memcheck:Param |
| 200 | socketcall.sendto(msg) |
| 201 | fun:send |
dirk | 028ad92 | 2011-08-23 20:29:10 +0000 | [diff] [blame] | 202 | obj:/*libc-@GLIBC_VERSION@*.so |
| 203 | obj:/*libc-@GLIBC_VERSION@*.so |
| 204 | obj:/*libc-@GLIBC_VERSION@*.so |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 205 | } |
| 206 | { |
| 207 | X11-64bit-padding-4b |
| 208 | Memcheck:Param |
| 209 | socketcall.send(msg) |
| 210 | fun:send |
dirk | 028ad92 | 2011-08-23 20:29:10 +0000 | [diff] [blame] | 211 | obj:/*libc-@GLIBC_VERSION@*.so |
| 212 | obj:/*libc-@GLIBC_VERSION@*.so |
| 213 | obj:/*libc-@GLIBC_VERSION@*.so |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 214 | } |
| 215 | |
| 216 | ##----------------------------------------------------------------------## |
| 217 | # MontaVista Linux 4.0.1 on ppc32 |
| 218 | { |
| 219 | MVL-401-linuxthreads-pthread_create |
| 220 | Memcheck:Param |
| 221 | write(buf) |
| 222 | fun:pthread_create |
| 223 | } |
| 224 | { |
| 225 | MVL-401-linuxthreads-pthread_create |
| 226 | Memcheck:Param |
| 227 | write(buf) |
tom | 7299d84 | 2012-02-23 12:54:50 +0000 | [diff] [blame] | 228 | obj:*/lib/libpthread-0.10.so |
dirk | 07596a2 | 2008-04-25 11:33:30 +0000 | [diff] [blame] | 229 | fun:pthread_create |
| 230 | } |
sewardj | d69cee8 | 2010-08-22 12:13:35 +0000 | [diff] [blame] | 231 | |
| 232 | ##----------------------------------------------------------------------## |
| 233 | # Ubuntu 10.04 on ARM (Thumb). Not sure why this is necessary. |
| 234 | { |
| 235 | U1004-ARM-_dl_relocate_object |
| 236 | Memcheck:Cond |
| 237 | fun:_dl_relocate_object |
| 238 | } |