1 2 # Suppressions for Darwin 12.x / Mac OS X 10.8 Mountain Lion 3 4 # ZLib stuff. How come this wasn't necessary in 10.6 ? 5 { 6 OSX108:zlib-C 7 Memcheck:Cond 8 obj:/usr/lib/libz.*dylib 9 obj:/usr/lib/libz.*dylib 10 } 11 { 12 OSX108:zlib-8 13 Memcheck:Value8 14 obj:/usr/lib/libz.*dylib 15 obj:/usr/lib/libz.*dylib 16 } 17 18 ############################ 19 ## Possibly all to do with borked/incomplete 10.8 syscall wrappers 20 ## Consider all of these as a temporary kludge. It would be much 21 ## better to fix the wrappers correctly (iow, actually implement them). 22 23 { 24 OSX108:CoreFoundation-1 25 Memcheck:Value8 26 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 27 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 28 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 29 } 30 31 { 32 OSX108:CoreFoundation-2 33 Memcheck:Cond 34 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 35 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 36 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 37 } 38 39 { 40 OSX108:CoreGraphics-1 41 Memcheck:Cond 42 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 43 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 44 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 45 } 46 47 # Use of uninitialised value of size 8 48 # at 0x39CC164: aes_encrypt_xmm_no_save 49 { 50 OSX108:aes_encrypt_xmm_no_save 51 Memcheck:Value8 52 fun:aes_encrypt_xmm_no_save 53 } 54 55 { 56 OSX108:dyld-1 57 Memcheck:Value8 58 obj:/usr/lib/dyld 59 obj:/usr/lib/dyld 60 obj:/usr/lib/dyld 61 } 62 63 { 64 OSX108:dyld-2 65 Memcheck:Cond 66 obj:/usr/lib/dyld 67 obj:/usr/lib/dyld 68 obj:/usr/lib/dyld 69 } 70 71 { 72 OSX108:libxpc-1 73 Memcheck:Cond 74 obj:/usr/lib/system/libxpc.dylib 75 obj:/usr/lib/system/libxpc.dylib 76 obj:/usr/lib/system/libxpc.dylib 77 obj:/usr/lib/system/libxpc.dylib 78 } 79 80 { 81 OSX108:libxpc-2 82 Memcheck:Value8 83 obj:/usr/lib/system/libxpc.dylib 84 obj:/usr/lib/system/libxpc.dylib 85 obj:/usr/lib/system/libxpc.dylib 86 obj:/usr/lib/system/libxpc.dylib 87 } 88 89 { 90 OSX108:libxpc-3 91 Memcheck:Cond 92 fun:malloc 93 obj:/usr/lib/system/libxpc.dylib 94 obj:/usr/lib/system/libxpc.dylib 95 obj:/usr/lib/system/libxpc.dylib 96 } 97 98 { 99 OSX108:libdispatch-1 100 Memcheck:Value8 101 obj:/usr/lib/system/libdispatch.dylib 102 obj:/usr/lib/system/libdispatch.dylib 103 obj:/usr/lib/system/libdispatch.dylib 104 obj:/usr/lib/system/libdispatch.dylib 105 } 106 107 { 108 OSX108:ColorSync-1 109 Memcheck:Cond 110 obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync 111 obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync 112 obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync 113 obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync 114 } 115 116 { 117 OSX108:ColorSync-2 118 Memcheck:Value8 119 obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync 120 obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync 121 obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync 122 obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync 123 } 124 125 { 126 OSX108:mach_msg/mach_msg_trap 127 Memcheck:Param 128 mach_msg("rcv_name") 129 fun:mach_msg_trap 130 } 131 132 { 133 OSX108:my_io_execute_passive_block/libdispatch 134 Memcheck:Cond 135 fun:my_io_execute_passive_block 136 obj:/usr/lib/system/libdispatch.dylib 137 obj:/usr/lib/system/libdispatch.dylib 138 } 139 140 { 141 OSX108:CFRunLoopAddSource/AppKit 142 Memcheck:Cond 143 fun:CFRunLoopAddSource 144 obj:*Frameworks/AppKit.framework/Versions/C/AppKit 145 obj:*Frameworks/AppKit.framework/Versions/C/AppKit 146 } 147 148 { 149 OSX108:CoreFoundation/HIToolbox/HIToolbox 150 Memcheck:Cond 151 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 152 obj:*HIToolbox.framework/Versions/A/HIToolbox 153 obj:*HIToolbox.framework/Versions/A/HIToolbox 154 } 155 156 { 157 OSX108:libsystem_kernel/CoreGraphics-1 158 Memcheck:Cond 159 obj:/usr/lib/system/libsystem_kernel.dylib 160 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 161 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 162 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 163 } 164 165 { 166 OSX108:libsystem_kernel/CoreGraphics-2 167 Memcheck:Param 168 msg->desc.port.name 169 obj:/usr/lib/system/libsystem_kernel.dylib 170 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 171 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 172 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 173 } 174 175 { 176 OSX108:libsystem_kernel/CoreFoundation/CoreFoundation/LaunchServices 177 Memcheck:Cond 178 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 179 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 180 obj:*LaunchServices.framework/Versions/A/LaunchServices 181 } 182 183 { 184 OSX108:CoreFoundation/AE/AE 185 Memcheck:Cond 186 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 187 obj:*AE.framework/Versions/A/AE 188 obj:*AE.framework/Versions/A/AE 189 } 190 191 { 192 OSX108:CoreGraphics/CoreGraphics/CoreGraphics 193 Memcheck:Param 194 msg->desc.port.name 195 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 196 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 197 obj:*CoreGraphics.framework/Versions/A/CoreGraphics 198 } 199 200 { 201 OSX108:CoreFoundation/Foundation/AppKit 202 Memcheck:Cond 203 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 204 obj:*Foundation.framework/Versions/C/Foundation 205 obj:*Frameworks/AppKit.framework/Versions/C/AppKit 206 } 207 208 { 209 OSX108:CoreFoundation/CoreFoundation/HIToolbox 210 Memcheck:Cond 211 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 212 obj:*CoreFoundation.framework/Versions/A/CoreFoundation 213 obj:*HIToolbox.framework/Versions/A/HIToolbox 214 } 215 216 { 217 OSX108:HIServices/HIToolbox/HIToolbox 218 Memcheck:Cond 219 obj:*HIServices.framework/Versions/A/HIServices 220 obj:*HIToolbox.framework/Versions/A/HIToolbox 221 obj:*HIToolbox.framework/Versions/A/HIToolbox 222 } 223 224 { 225 OSX108:AppKit-1 226 Memcheck:Cond 227 obj:*AppKit.framework/Versions/C/AppKit 228 obj:*AppKit.framework/Versions/C/AppKit 229 obj:*AppKit.framework/Versions/C/AppKit 230 } 231 232 ######################################################### 233 ## Leaks (apparently) in even hello-world style programs 234 235 { 236 OSX108:leak-1 237 Memcheck:Leak 238 match-leak-kinds: definite 239 fun:malloc_zone_malloc 240 fun:_ZN4objc8DenseMapIP11objc_objectmL* 241 fun:arr_init 242 } 243 244 { 245 OSX108:leak-2 246 Memcheck:Leak 247 fun:malloc_zone_malloc 248 fun:*NX*Map* 249 fun:*NX*Map* 250 } 251 252 { 253 OSX108:leak-3 254 Memcheck:Leak 255 fun:malloc_zone_malloc 256 fun:*NX*Map* 257 fun:*image* 258 } 259 260 { 261 OSX108:leak-4 262 Memcheck:Leak 263 fun:malloc_zone_malloc 264 fun:*NX*Map* 265 fun:*remap* 266 } 267 268 { 269 OSX108:leak-5 270 Memcheck:Leak 271 fun:malloc_zone_malloc 272 fun:*NX*Map* 273 fun:*future* 274 } 275 276 { 277 OSX108:leak-6 278 Memcheck:Leak 279 fun:malloc_zone_malloc 280 fun:*strdup* 281 fun:*NX*Map* 282 } 283 284 { 285 OSX108:leak-7 286 Memcheck:Leak 287 fun:malloc_zone_malloc 288 fun:*NX*Map* 289 fun:*attached* 290 } 291 292 { 293 OSX108:leak-8 294 Memcheck:Leak 295 fun:malloc_zone_malloc 296 fun:*NX*Map* 297 fun:dlopen 298 } 299 300 { 301 OSX108:leak-9 302 Memcheck:Leak 303 fun:malloc 304 fun:*PerThread* 305 fun:dlopen 306 } 307 308 { 309 OSX108:leak-10 310 Memcheck:Leak 311 fun:malloc_zone_calloc 312 fun:*NX*Hash* 313 } 314 315 { 316 OSX108:leak-11 317 Memcheck:Leak 318 fun:malloc_zone_calloc 319 fun:*map* 320 fun:*map* 321 } 322 323 { 324 OSX108:leak-12 325 Memcheck:Leak 326 fun:malloc_zone_calloc 327 fun:*fetch_pthread_data* 328 } 329 330 { 331 OSX108:leak-13 332 Memcheck:Leak 333 fun:malloc_zone_malloc 334 fun:recursive_mutex_init 335 fun:_objc_init 336 } 337 338 ##----------------------------------------------------------------------## 339 # Memcheck 340 ##----------------------------------------------------------------------## 341 342