1 2 ##----------------------------------------------------------------------## 3 4 # Errors to suppress by default with glibc 2.4.x 5 6 # Format of this file is: 7 # { 8 # name_of_suppression 9 # tool_name:supp_kind 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 # 19 # Param Value1 Value2 Value4 Value8 Value16 Jump 20 # Free Addr1 Addr2 Addr4 Addr8 Addr16 21 # Cond (previously known as Value0) 22 # 23 # and the optional extra info is: 24 # if Param: name of system call param 25 26 { 27 dl-hack1 28 Memcheck:Cond 29 fun:_dl_start 30 fun:_start 31 } 32 33 { 34 dl-hack2 35 Memcheck:Cond 36 obj:/lib*/ld-2.5*.so 37 obj:/lib*/ld-2.5*.so 38 obj:/lib*/ld-2.5*.so 39 obj:/lib*/ld-2.5*.so 40 } 41 42 { 43 dl-hack3 44 Memcheck:Cond 45 obj:/lib*/ld-2.5*so* 46 obj:/lib*/ld-2.5*so* 47 obj:/lib*/ld-2.5*so* 48 } 49 50 ##----------------------------------------------------------------------## 51 { 52 glibc-2.5.x-on-SUSE-10.2-(PPC)-1 53 Memcheck:Cond 54 fun:_dl_start_final 55 fun:_dl_start 56 fun:_start 57 } 58 { 59 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a 60 Memcheck:Cond 61 fun:index 62 obj:*ld-2.5.*.so 63 } 64 { 65 glibc-2.5.x-on-SuSE-10.2-(PPC)-2b 66 Memcheck:Addr4 67 fun:index 68 fun:expand_dynamic_string_token 69 } 70 { 71 glibc-2.5.5-on-SuSE-10.2-(PPC)-2c 72 Memcheck:Addr4 73 fun:index 74 obj:*ld-2.5.*.so 75 } 76 { 77 glibc-2.3.5-on-SuSE-10.1-(PPC)-3 78 Memcheck:Addr4 79 fun:*wordcopy_fwd_dest_aligned* 80 fun:mem*cpy 81 obj:*lib*2.5.*.so 82 } 83 84 ##----------------------------------------------------------------------## 85 ## Various structure padding things on SUSE 10.2 86 ## 87 { 88 X11-64bit-padding-1a 89 Memcheck:Param 90 write(buf) 91 fun:__write_nocancel 92 obj:/usr/lib*/libX11.so* 93 obj:/usr/lib*/libX11.so* 94 fun:X* 95 } 96 { 97 X11-64bit-padding-1b 98 Memcheck:Param 99 write(buf) 100 fun:__write_nocancel 101 obj:/usr/lib*/libX11.so* 102 obj:/usr/lib*/libX11.so* 103 fun:_X* 104 } 105 { 106 X11-64bit-padding-1c 107 Memcheck:Param 108 write(buf) 109 fun:__write_nocancel 110 obj:/usr/lib*/libX11.so* 111 obj:/usr/lib*/libX11.so* 112 obj:/usr/lib*/libX11.so* 113 } 114 { 115 X11-64bit-padding-1d 116 Memcheck:Param 117 write(buf) 118 fun:__write_nocancel 119 obj:/usr/lib*/libICE.so* 120 obj:/usr/lib*/libICE.so* 121 obj:/usr/lib*/libICE.so* 122 } 123 { 124 X11-64bit-padding-2a 125 Memcheck:Param 126 writev(vector[...]) 127 fun:do_writev 128 obj:/usr/lib*/libX11.so* 129 obj:/usr/lib*/libX11.so* 130 obj:/usr/lib*/libX11.so* 131 } 132 { 133 X11-64bit-padding-2b 134 Memcheck:Param 135 writev(vector[...]) 136 fun:do_writev 137 fun:writev 138 obj:/usr/lib*/libX11.so* 139 obj:/usr/lib*/libX11.so* 140 } 141 142 { 143 glibc24-64bit-padding-1a 144 Memcheck:Param 145 socketcall.sendto(msg) 146 fun:send 147 fun:get_mapping 148 fun:__nscd_get_map_ref 149 fun:nscd* 150 } 151 { 152 glibc24-64bit-padding-1b 153 Memcheck:Param 154 socketcall.sendto(msg) 155 fun:__sendto_nocancel 156 obj:/*libc-2.5.so 157 obj:/*libc-2.5.so 158 obj:/*libc-2.5.so 159 } 160 { 161 glibc24-64bit-padding-1c 162 Memcheck:Param 163 socketcall.send(msg) 164 fun:send 165 fun:__nscd_get_map_ref 166 fun:nscd_get*_r 167 fun:*nscd* 168 obj:/*libc-2.5.so 169 } 170 171 172 { 173 X11-64bit-padding-3a 174 Memcheck:Param 175 write(buf) 176 obj:/*libpthread-2.4.so* 177 obj:/usr/lib*/libX11.so* 178 obj:/usr/lib*/libX11.so* 179 obj:/usr/lib*/libX11.so* 180 } 181 182 { 183 X11-64bit-padding-4a 184 Memcheck:Param 185 socketcall.sendto(msg) 186 fun:send 187 obj:/*libc-2.5.so 188 obj:/*libc-2.5.so 189 obj:/*libc-2.5.so 190 } 191 { 192 X11-64bit-padding-4b 193 Memcheck:Param 194 socketcall.send(msg) 195 fun:send 196 obj:/*libc-2.5.so 197 obj:/*libc-2.5.so 198 obj:/*libc-2.5.so 199 } 200 201 ##----------------------------------------------------------------------## 202 # MontaVista Linux 4.0.1 on ppc32 203 { 204 MVL-401-linuxthreads-pthread_create 205 Memcheck:Param 206 write(buf) 207 fun:pthread_create 208 } 209 { 210 MVL-401-linuxthreads-pthread_create 211 Memcheck:Param 212 write(buf) 213 obj:/lib/libpthread-0.10.so 214 fun:pthread_create 215 } 216