1 2 ##----------------------------------------------------------------------## 3 4 # Errors to suppress by default with glibc @GLIBC_MAJOR@.x 5 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 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 29 ##----------------------------------------------------------------------## 30 ##--- generic suppressions ---## 31 ##----------------------------------------------------------------------## 32 33 { 34 dl-hack3-cond-0 35 Memcheck:Cond 36 fun:_dl_start 37 fun:_start 38 } 39 { 40 dl-hack3-cond-1 41 Memcheck:Cond 42 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 43 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 44 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 45 } 46 { 47 dl-hack3-cond-2 48 Memcheck:Cond 49 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 50 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 51 obj:/lib*/libc-@GLIBC_MAJOR@*.so* 52 } 53 { 54 dl-hack3-cond-3 55 Memcheck:Cond 56 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 57 obj:/lib*/libc-@GLIBC_MAJOR@*.so* 58 obj:/lib*/libc-@GLIBC_MAJOR@*.so* 59 } 60 { 61 dl-hack3-cond-4 62 Memcheck:Cond 63 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 64 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 65 obj:/lib*/libdl-@GLIBC_MAJOR@*.so* 66 } 67 68 { 69 dl-hack4-64bit-addr-1 70 Memcheck:Addr8 71 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 72 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 73 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 74 } 75 { 76 dl-hack4-64bit-addr-2 77 Memcheck:Addr8 78 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 79 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 80 obj:/lib*/libc-@GLIBC_MAJOR@*.so* 81 } 82 { 83 dl-hack4-64bit-addr-3 84 Memcheck:Addr8 85 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 86 obj:/lib*/ld-@GLIBC_MAJOR@*.so* 87 obj:/lib*/libdl-@GLIBC_MAJOR@*.so* 88 } 89 90 { 91 dl-hack5-32bit-addr-1 92 Memcheck:Addr4 93 obj:/lib*/ld-@GLIBC_MAJOR@*.so 94 obj:/lib*/ld-@GLIBC_MAJOR@*.so 95 obj:/lib*/ld-@GLIBC_MAJOR@*.so 96 } 97 { 98 dl-hack5-32bit-addr-3 99 Memcheck:Addr4 100 obj:/lib*/ld-@GLIBC_MAJOR@*.so 101 obj:/lib*/ld-@GLIBC_MAJOR@*.so 102 obj:/lib*/libdl-@GLIBC_MAJOR@*.so* 103 } 104 { 105 dl-hack5-32bit-addr-4 106 Memcheck:Addr4 107 obj:/lib*/ld-@GLIBC_MAJOR@*.so 108 obj:/lib*/libdl-@GLIBC_MAJOR@*.so* 109 obj:/lib*/ld-@GLIBC_MAJOR@*.so 110 } 111 112 113 ##----------------------------------------------------------------------## 114 ##--- Misc ad-hoc hacks ---## 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_MAJOR@.*.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_MAJOR@.*.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_MAJOR@.*.so 147 } 148 149 { 150 glibc-@GLIBC_MAJOR (a] -on-SUSE-10.3-(x86) 151 Memcheck:Addr4 152 obj:/lib/ld-@GLIBC_MAJOR@*.so 153 obj:/lib/ld-@GLIBC_MAJOR@*.so 154 obj:/lib/ld-@GLIBC_MAJOR@*.so 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 171 obj:/*libc-@GLIBC_MAJOR@.so 172 obj:/*libc-@GLIBC_MAJOR@.so 173 obj:/*libc-@GLIBC_MAJOR@.so 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* 183 obj:/*libc-@GLIBC_MAJOR@.so 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 202 obj:/*libc-@GLIBC_MAJOR@.so 203 obj:/*libc-@GLIBC_MAJOR@.so 204 obj:/*libc-@GLIBC_MAJOR@.so 205 } 206 { 207 X11-64bit-padding-4b 208 Memcheck:Param 209 socketcall.send(msg) 210 fun:send 211 obj:/*libc-@GLIBC_MAJOR@.so 212 obj:/*libc-@GLIBC_MAJOR@.so 213 obj:/*libc-@GLIBC_MAJOR@.so 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) 228 obj:/lib/libpthread-0.10.so 229 fun:pthread_create 230 } 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 } 239