sewardj | 1b732ec | 2013-09-04 07:32:48 +0000 | [diff] [blame] | 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 | |
sewardj | d603584 | 2014-07-08 16:59:02 +0000 | [diff] [blame] | 232 | { |
| 233 | OSX108:32bit:_libxpc_initializer |
| 234 | Memcheck:Cond |
| 235 | fun:_libxpc_initializer |
| 236 | fun:libSystem_initializer |
| 237 | fun:*ImageLoaderMachO*doModInitFunctions* |
| 238 | } |
| 239 | |
sewardj | f1df35a | 2013-10-22 22:41:52 +0000 | [diff] [blame] | 240 | ######################################################### |
| 241 | ## Leaks (apparently) in even hello-world style programs |
| 242 | |
| 243 | { |
| 244 | OSX108:leak-1 |
| 245 | Memcheck:Leak |
| 246 | match-leak-kinds: definite |
| 247 | fun:malloc_zone_malloc |
| 248 | fun:_ZN4objc8DenseMapIP11objc_objectmL* |
| 249 | fun:arr_init |
| 250 | } |
| 251 | |
| 252 | { |
| 253 | OSX108:leak-2 |
| 254 | Memcheck:Leak |
| 255 | fun:malloc_zone_malloc |
| 256 | fun:*NX*Map* |
| 257 | fun:*NX*Map* |
| 258 | } |
| 259 | |
| 260 | { |
| 261 | OSX108:leak-3 |
| 262 | Memcheck:Leak |
| 263 | fun:malloc_zone_malloc |
| 264 | fun:*NX*Map* |
| 265 | fun:*image* |
| 266 | } |
| 267 | |
| 268 | { |
| 269 | OSX108:leak-4 |
| 270 | Memcheck:Leak |
| 271 | fun:malloc_zone_malloc |
| 272 | fun:*NX*Map* |
| 273 | fun:*remap* |
| 274 | } |
| 275 | |
| 276 | { |
| 277 | OSX108:leak-5 |
| 278 | Memcheck:Leak |
| 279 | fun:malloc_zone_malloc |
| 280 | fun:*NX*Map* |
| 281 | fun:*future* |
| 282 | } |
| 283 | |
| 284 | { |
| 285 | OSX108:leak-6 |
| 286 | Memcheck:Leak |
| 287 | fun:malloc_zone_malloc |
| 288 | fun:*strdup* |
| 289 | fun:*NX*Map* |
| 290 | } |
| 291 | |
| 292 | { |
| 293 | OSX108:leak-7 |
| 294 | Memcheck:Leak |
| 295 | fun:malloc_zone_malloc |
| 296 | fun:*NX*Map* |
| 297 | fun:*attached* |
| 298 | } |
| 299 | |
| 300 | { |
| 301 | OSX108:leak-8 |
| 302 | Memcheck:Leak |
| 303 | fun:malloc_zone_malloc |
| 304 | fun:*NX*Map* |
| 305 | fun:dlopen |
| 306 | } |
| 307 | |
| 308 | { |
| 309 | OSX108:leak-9 |
| 310 | Memcheck:Leak |
| 311 | fun:malloc |
| 312 | fun:*PerThread* |
| 313 | fun:dlopen |
| 314 | } |
| 315 | |
| 316 | { |
| 317 | OSX108:leak-10 |
| 318 | Memcheck:Leak |
| 319 | fun:malloc_zone_calloc |
| 320 | fun:*NX*Hash* |
| 321 | } |
| 322 | |
| 323 | { |
| 324 | OSX108:leak-11 |
| 325 | Memcheck:Leak |
| 326 | fun:malloc_zone_calloc |
| 327 | fun:*map* |
| 328 | fun:*map* |
| 329 | } |
| 330 | |
| 331 | { |
| 332 | OSX108:leak-12 |
| 333 | Memcheck:Leak |
| 334 | fun:malloc_zone_calloc |
| 335 | fun:*fetch_pthread_data* |
| 336 | } |
| 337 | |
| 338 | { |
| 339 | OSX108:leak-13 |
| 340 | Memcheck:Leak |
| 341 | fun:malloc_zone_malloc |
| 342 | fun:recursive_mutex_init |
| 343 | fun:_objc_init |
| 344 | } |
sewardj | 1b732ec | 2013-09-04 07:32:48 +0000 | [diff] [blame] | 345 | |
| 346 | ##----------------------------------------------------------------------## |
| 347 | # Memcheck |
| 348 | ##----------------------------------------------------------------------## |
| 349 | |