Add a test program for the membarrier() system call
[valgrind.git] / darwin17.supp
blob78f33477ca21fe5a09edfcf155f4cc2781afb32e
2 # Suppressions for Darwin 17.x / macOS 10.13 High Sierra
4 ############################################
5 ## Leaks.  For other stuff see below.
8    OSX1013:1-Leak
9    Memcheck:Leak
10    match-leak-kinds: possible
11    fun:malloc_zone_?alloc
12    ...
13    fun:_read_images
17    OSX1013:2-Leak
18    Memcheck:Leak
19    match-leak-kinds: definite
20    fun:malloc_zone_?alloc
21    ...
22    fun:_read_images
26    OSX1013:3-Leak
27    Memcheck:Leak
28    match-leak-kinds: definite
29    fun:malloc_zone_?alloc
30    fun:recursive_mutex_init
31    ...
32    fun:_os_object_init
33    fun:libdispatch_init
34    fun:libSystem_initializer
35    ...
39    OSX1013:4-Leak
40    Memcheck:Leak
41    fun:malloc_zone_?alloc
42    ...
43    fun:dyld_register_image_state_change_handler
44    ...
48    OSX1013:5-Leak
49    Memcheck:Leak
50    match-leak-kinds: reachable
51    fun:?alloc
52    ...
53    fun:dyld_register_image_state_change_handler
54    ...
58    OSX1013:6-Leak
59    Memcheck:Leak
60    match-leak-kinds: reachable
61    fun:malloc_zone_?alloc
62    ...
63    fun:map_images_nolock
64    fun:map_2_images
65    ...
69    OSX1013:7-Leak
70    Memcheck:Leak
71    match-leak-kinds: possible
72    fun:malloc_zone_?alloc
73    ...
74    fun:map_images_nolock
75    fun:map_2_images
76    ...
80    OSX1013:8-Leak
81    Memcheck:Leak
82    match-leak-kinds: definite
83    fun:?alloc
84    ...
85    fun:libSystem_initializer
86    ...
90    OSX1013:9-Leak
91    Memcheck:Leak
92    match-leak-kinds: reachable
93    fun:malloc_zone_?alloc
94    ...
95    fun:libSystem_initializer
96    ...
100    OSX1013:10-Leak
101    Memcheck:Leak
102    match-leak-kinds: reachable
103    fun:?alloc
104    ...
105    fun:libSystem_initializer
106    ...
110 #   OSX1013:11-Leak
111 #   Memcheck:Leak
112 #   match-leak-kinds: definite
113 #   fun:malloc
114 #   fun:currentlocale
118 #   OSX1013:12-Leak
119 #   Memcheck:Leak
120 #   match-leak-kinds: possible
121 #   fun:malloc
122 #   fun:tzsetwall_basic
123 #   fun:_st_tzset_basic
127    OSX1013:13-Leak
128    Memcheck:Leak
129    match-leak-kinds: reachable
130    fun:malloc_zone_memalign
131    ...
132    fun:_ZN4dyld24initializeMainExecutableEv
133    ...
137    OSX1013:14-Leak
138    Memcheck:Leak
139    match-leak-kinds: reachable
140    fun:?alloc
141    ...
142    fun:libSystem_atfork_child
143    ...
147    OSX1013:15-Leak
148    Memcheck:Leak
149    match-leak-kinds: reachable
150    fun:malloc
151    fun:__smakebuf
152    ...
153    fun:printf
154    ...
158    OSX1013:16-Leak
159    Memcheck:Leak
160    match-leak-kinds: possible
161    fun:?alloc
162    ...
163    fun:_read_images
167    OSX1013:17-Leak
168    Memcheck:Leak
169    match-leak-kinds: reachable
170    fun:?alloc
171    ...
172    fun:_read_images
176    OSX1013:18-Leak
177    Memcheck:Leak
178    match-leak-kinds: reachable
179    fun:malloc_zone_?alloc
180    ...
181    fun:_read_images
185    OSX1013:19-Leak
186    Memcheck:Leak
187    match-leak-kinds: possible
188    fun:malloc_zone_?alloc
189    ...
190    fun:*NX*Map*
191    fun:*NX*Map*
195    OSX1013:20-Leak
196    Memcheck:Leak
197    match-leak-kinds: indirect
198    fun:?alloc
199    ...
200    fun:libSystem_initializer
201    ...
205    OSX1013:21-Leak
206    Memcheck:Leak
207    match-leak-kinds: definite
208    fun:malloc_zone_memalign
209    ...
210    fun:_ZN4dyld24initializeMainExecutableEv
211    ...
215 ############################################
216 ## Non-leak errors
219 ##   OSX1013:CoreFoundation-1
220 ##   Memcheck:Cond
221 ##   obj:*CoreFoundation.framework*CoreFoundation*
222 ##   obj:*CoreFoundation.framework*CoreFoundation*
223 ##   obj:*CoreFoundation.framework*CoreFoundation*
227    OSX1013:CoreFoundation-2
228    Memcheck:Cond
229    obj:*CoreFoundation.framework*CoreFoundation*
230    obj:*libdispatch.dylib*
231    obj:*libdispatch.dylib*
235    OSX1013:CoreFoundation-3
236    Memcheck:Cond
237    obj:*CoreFoundation.framework*CoreFoundation*
238    obj:*CoreFoundation.framework*CoreFoundation*
239    obj:*Foundation.framework*Foundation*
243    OSX1013:CoreFoundation-4
244    Memcheck:Cond
245    obj:*CoreFoundation.framework*CoreFoundation*
246    obj:*CoreFoundation.framework*CoreFoundation*
247    obj:*SystemConfiguration.framework*SystemConfiguration*
251    OSX1013:CoreFoundation-5
252    Memcheck:Cond
253    obj:*CoreFoundation.framework*CoreFoundation*
254    obj:*CoreFoundation.framework*CoreFoundation*
255    obj:*HIServices.framework*HIServices*
259    OSX1013:CoreFoundation-6
260    Memcheck:Cond
261    obj:*CoreFoundation.framework*CoreFoundation*
262    obj:*SystemConfiguration.framework*SystemConfiguration*
263    obj:*SystemConfiguration.framework*SystemConfiguration*
267    OSX1013:CoreFoundation-7
268    Memcheck:Cond
269    obj:*CoreFoundation.framework*CoreFoundation*
270    obj:*SystemConfiguration.framework*SystemConfiguration*
271    obj:*CoreFoundation.framework*CoreFoundation*
275    OSX1013:CoreFoundation-8
276    Memcheck:Cond
277    obj:*CoreFoundation.framework*CoreFoundation*
278    obj:*IOKit.framework*IOKit*
282    OSX1013:CoreFoundation-9
283    Memcheck:Cond
284    obj:*CoreFoundation.framework*CoreFoundation*
285    obj:*Foundation.framework*Foundation*
286    obj:*AppKit.framework*AppKit*
290    OSX1013:CoreFoundation-10
291    Memcheck:Cond
292    obj:*CoreFoundation.framework*CoreFoundation*
293    obj:*HIToolbox.framework*HIToolbox*
294    obj:*HIToolbox.framework*HIToolbox*
298    OSX1013:CoreFoundation-11
299    Memcheck:Cond
300    obj:*CoreFoundation.framework*CoreFoundation*
301    obj:*AE.framework*AE*
302    obj:*AE.framework*AE*
306    OSX1013:CoreFoundation-12
307    Memcheck:Cond
308    obj:*CoreFoundation.framework*CoreFoundation*
309    obj:*CoreFoundation.framework*CoreFoundation*
310    obj:*HIToolbox.framework*HIToolbox*
314    OSX1013:CoreFoundation-13
315    Memcheck:Cond
316    obj:*CoreFoundation.framework*CoreFoundation*
317    obj:*CoreFoundation.framework*CoreFoundation*
318    obj:*AE.framework*AE*
322    OSX1013:AppKit-1
323    Memcheck:Cond
324    obj:*AppKit.framework*AppKit*
325    obj:*AppKit.framework*AppKit*
326    obj:*AppKit.framework*AppKit*
330    OSX1013:AppKit-2
331    Memcheck:Cond
332    obj:*AppKit.framework*AppKit*
333    obj:*AppKit.framework*AppKit*
334    obj:*libdispatch.dylib*
338 #   OSX1013:AppKit-3
339 #   Memcheck:Cond
340 #   obj:*AppKit.framework*AppKit*
341 #   obj:*libdispatch.dylib*
342 #   obj:*libdispatch.dylib*
346 ##   OSX1013:AppKit-4
347 ##   Memcheck:Cond
348 ##   obj:*AppKit.framework*AppKit*
349 ##   obj:*AppKit.framework*AppKit*
350 ##   obj:*CoreFoundation.framework*CoreFoundation*
354    OSX1013:AppKit-5
355    Memcheck:Cond
356    obj:*AppKit.framework*AppKit*
357    obj:*AppKit.framework*AppKit*
358    obj:*Foundation.framework*Foundation*
362    OSX1013:AppKit-6
363    Memcheck:Cond
364    obj:*AppKit.framework*AppKit*
365    obj:*Foundation.framework*Foundation*
366    obj:*AppKit.framework*AppKit*
370    OSX1013:AppKit-7
371    Memcheck:Cond
372    obj:*AppKit.framework*AppKit*
373    obj:*libdispatch.dylib*
374    obj:*libdispatch.dylib*
378    OSX1013:AppKit-8
379    Memcheck:Cond
380    obj:*AppKit.framework*AppKit*
381    obj:*Foundation.framework*Foundation*
382    obj:*Foundation.framework*Foundation*
386    OSX1013:ColorSync-1
387    Memcheck:Cond
388    obj:*ColorSync.framework*ColorSync*
389    obj:*ColorSync.framework*ColorSync*
390    obj:*ColorSync.framework*ColorSync*
394 #   OSX1013:ColorSync-2
395 #   Memcheck:Value8
396 #   obj:*ColorSync.framework*ColorSync*
397 #   obj:*ColorSync.framework*ColorSync*
398 #   obj:*ColorSync.framework*ColorSync*
402    OSX1013:CoreGraphics-1
403    Memcheck:Cond
404    obj:*CoreGraphics.framework*CoreGraphics*
405    obj:*CoreGraphics.framework*CoreGraphics*
409 #   OSX1013:CoreGraphics-2
410 #   Memcheck:Value8
411 #   obj:*CoreGraphics.framework*CoreGraphics*
412 #   obj:*CoreGraphics.framework*CoreGraphics*
413 #   obj:*CoreGraphics.framework*CoreGraphics*
417    OSX1013:CoreGraphics-3
418    Memcheck:Cond
419    obj:*CoreGraphics.framework*CoreGraphics*
420    obj:*CoreGraphics.framework*libRIP*
421    obj:*CoreGraphics.framework*libRIP*
425 #   OSX1013:CoreGraphics-4
426 #   Memcheck:Cond
427 #   obj:*CoreGraphics.framework*CoreGraphics*
428 #   obj:*CoreGraphics.framework*CoreGraphics*
429 #   obj:*CoreGraphics.framework*libRIP*
433    OSX1013:CoreGraphics-5
434    Memcheck:Cond
435    obj:*CoreGraphics.framework*CoreGraphics*
436    obj:*libdispatch.dylib*
437    obj:*libdispatch.dylib*
441 #   OSX1013:CoreGraphics-6
442 #   Memcheck:Cond
443 #   obj:*CoreGraphics.framework*CoreGraphics*
444 #   obj:*CoreGraphics.framework*CoreGraphics*
445 #   obj:*HIToolbox.framework*HIToolbox*
449    OSX1013:HIServices-1
450    Memcheck:Cond
451    obj:*HIServices.framework*HIServices*
452    obj:*HIToolbox.framework*HIToolbox*
453    obj:*HIToolbox.framework*HIToolbox*
457    OSX1013:LaunchServices-1
458    Memcheck:Cond
459    obj:*LaunchServices.framework*LaunchServices*
460    obj:*AppKit.framework*AppKit*
461    obj:*AppKit.framework*AppKit*
465    OSX1013:LaunchServices-2
466    Memcheck:Cond
467    obj:*LaunchServices.framework*LaunchServices*
468    obj:*libdispatch.dylib*
469    obj:*libdispatch.dylib*
473    OSX1013:QuartzCore-1
474    Memcheck:Cond
475    obj:*QuartzCore.framework*QuartzCore
476    obj:*QuartzCore.framework*QuartzCore
477    obj:*QuartzCore.framework*QuartzCore
481 #   OSX1013:vImage-1
482 #   Memcheck:Cond
483 #   obj:*vImage.framework*vImage*
484 #   obj:*vImage.framework*vImage*
485 #   obj:*CoreGraphics.framework*CoreGraphics*
489    OSX1013:zlib-C
490    Memcheck:Cond
491    obj:/usr/lib/libz.*dylib
492    obj:/usr/lib/libz.*dylib
496    OSX1013:zlib-8
497    Memcheck:Value8
498    obj:/usr/lib/libz.*dylib
499    obj:/usr/lib/libz.*dylib
503    OSX1013:32bit:_libxpc_initializer
504    Memcheck:Cond
505    obj:/usr/lib/system/libsystem_c.dylib
506    obj:/usr/lib/system/libsystem_c.dylib
507    fun:_libxpc_initializer
508    obj:/usr/lib/libSystem.B.dylib
509    fun:*ImageLoaderMachO*doModInitFunctions*
513    OSX1013:dyld-1
514    Memcheck:Cond
515    fun:*ImageLoader*weakBind*
516    fun:*ImageLoader*link*
517    fun:*dyld*link*
521    OSX1013:dyld-2
522    Memcheck:Cond
523    fun:exit
524    obj:*libdyld*dylib*
528    OSX1013:dyld-3
529    Memcheck:Cond
530    fun:bcmp
531    fun:_ZN16ImageLoaderMachO18validateFirstPagesEPK21linkedit_data_commandiPKhmxRKN11ImageLoader11LinkContextE
532    ...
536    OSX1013:dyld-4
537    Memcheck:Value8
538    fun:bcmp
539    fun:_ZN16ImageLoaderMachO18validateFirstPagesEPK21linkedit_data_commandiPKhmxRKN11ImageLoader11LinkContextE
540    ...
544    OSX1013:dyld-5
545    Memcheck:Cond
546    fun:_ZN16ImageLoaderMachO18validateFirstPagesEPK21linkedit_data_commandiPKhmxRKN11ImageLoader11LinkContextE
547    fun:_ZN26ImageLoaderMachOCompressed19instantiateFromFileEPKciPKhmyyRK4statjjPK21linkedit_data_commandPK23encryption_info_commandRKN11ImageLoader11LinkContextE
548    fun:_ZN16ImageLoaderMachO19instantiateFromFileEPKciPKhmyyRK4statRKN11ImageLoader11LinkContextE
549    fun:_ZN4dyldL10loadPhase6EiRK4statPKcRKNS_11LoadContextE
553    OSX1013:libsystem_kernel-1
554    Memcheck:Cond
555    obj:*libsystem_kernel*dylib*
556    obj:*libsystem_kernel*dylib*
557    obj:*CoreFoundation.framework*CoreFoundation*
561    OSX1013:CoreServicesInternal-1
562    Memcheck:Cond
563    obj:*CoreServicesInternal.framework*CoreServicesInternal*
564    obj:*CoreServices.framework*LaunchServices*
565    obj:*CoreServices.framework*LaunchServices*
569    OSX1013:CoreServicesInternal-2
570    Memcheck:Cond
571    obj:*CoreServicesInternal.framework*CoreServicesInternal*
572    obj:*CoreServicesInternal.framework*CoreServicesInternal*
573    obj:*CoreServicesInternal.framework*CoreServicesInternal*
577    OSX1013:CoreServicesInternal-3
578    Memcheck:Cond
579    obj:*CoreServicesInternal.framework*CoreServicesInternal*
580    obj:*CoreServicesInternal.framework*CoreServicesInternal*
581    obj:*CoreFoundation.framework*CoreFoundation*
585    OSX1013:CoreServices-1
586    Memcheck:Cond
587    obj:*CoreServices.framework*LaunchServices*
588    obj:*CoreServices.framework*LaunchServices*
589    obj:*CoreServices.framework*LaunchServices*
593 ##   OSX1013:libsystem_pthread-1
594 ##   Memcheck:Cond
595 ##   obj:*libsystem_pthread*dylib*
596 ##   obj:*ImageIO.framework*ImageIO*
597 ##   obj:*ImageIO.framework*ImageIO*
601    OSX1013:ApplicationServices-1
602    Memcheck:Cond
603    obj:*ApplicationServices.framework*ATS*
604    obj:*libsystem_pthread*dylib*
605    obj:*libsystem_platform*dylib*
609    OSX1013:HIToolbox-1
610    Memcheck:Cond
611    obj:*HIToolbox.framework*HIToolbox*
612    obj:*HIToolbox.framework*HIToolbox*
613    obj:*HIToolbox.framework*HIToolbox*
617    OSX1013:RawCamera-1
618    Memcheck:Cond
619    obj:*RawCamera.bundle*RawCamera*
620    obj:*libdispatch.dylib*
621    obj:*libdispatch.dylib*
625 ##   OSX1013:CoreImage-1
626 ##   Memcheck:Cond
627 ##   obj:*CoreImage.framework*CoreImage*
628 ##   obj:*CoreImage.framework*CoreImage*
629 ##   obj:*CoreImage.framework*CoreImage*
633 ##   OSX1013:strncpy-1
634 ##   Memcheck:Cond
635 ##   fun:strncpy
636 ##   obj:*CoreServicesInternal.framework*CoreServicesInternal
637 ##   obj:*CoreServicesInternal.framework*CoreServicesInternal
641    OSX1013:pthread_rwlock_init
642    Memcheck:Cond
643    fun:pthread_rwlock_init
644    obj:*ImageIO.framework*ImageIO*
645    obj:*ImageIO.framework*ImageIO*
649    OSX1013:CFBasicHash
650    Memcheck:Value8
651    fun:*CFBasicHash*
652    fun:*CF*
656    OSX1013:AppleIntelHD4000GraphicsGLDriver-1-Addr8
657    Memcheck:Addr8
658    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
659    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
660    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
663    OSX1013:AppleIntelHD4000GraphicsGLDriver-1-Addr8
664    Memcheck:Addr4
665    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
666    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
667    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
671    OSX1013:AppleIntelHD4000GraphicsGLDriver-2-Addr8
672    Memcheck:Addr8
673    fun:*platform_memmove*
674    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
675    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
678    OSX1013:AppleIntelHD4000GraphicsGLDriver-2-Addr2
679    Memcheck:Addr2
680    fun:*platform_memmove*
681    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
682    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
686    OSX1013:AppleIntelHD4000GraphicsGLDriver-3-Addr8
687    Memcheck:Addr8
688    fun:*platform_memmove*
689    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
690    obj:*GLEngine.bundle*GLEngine*
693    OSX1013:AppleIntelHD4000GraphicsGLDriver-3-Addr2
694    Memcheck:Addr2
695    fun:*platform_memmove*
696    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
697    obj:*GLEngine.bundle*GLEngine*
700    OSX1013:AppleIntelHD4000GraphicsGLDriver-3-Addr1
701    Memcheck:Addr1
702    fun:*platform_memmove*
703    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
704    obj:*GLEngine.bundle*GLEngine*
708    OSX1013:AppleIntelHD4000GraphicsGLDriver-4
709    Memcheck:Addr8
710    fun:*platform_bzero*
711    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
712    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
716    OSX1013:AppleIntelHD4000GraphicsGLDriver-6-Addr8
717    Memcheck:Addr8
718    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
719    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
720    obj:*GLEngine.bundle*GLEngine*
723    OSX1013:AppleIntelHD4000GraphicsGLDriver-6-Addr4
724    Memcheck:Addr4
725    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
726    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
727    obj:*GLEngine.bundle*GLEngine*
731    OSX1013:AppleIntelHD4000GraphicsGLDriver-7
732    Memcheck:Addr4
733    obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
734    obj:*GLEngine.bundle*GLEngine*
738    OSX1013:OSAtomicAdd32
739    Memcheck:Addr4
740    fun:*OSAtomicAdd32*
741    obj:*IOAccelerator.framework*IOAccelerator*
742    obj:*GPUSupport.framework*GPUSupportMercury*
746    OSX1013:IOAccelerator-1
747    Memcheck:Addr4
748    obj:*IOAccelerator.framework*IOAccelerator*
749    obj:*GPUSupport.framework*GPUSupportMercury*
752 # See https://bugs.kde.org/show_bug.cgi?id=188572 about this;  it's
753 # unavoidable due to BSD setenv() semantics.
755    macos-__setenv-leak-see-our-bug-188572
756    Memcheck:Leak
757    match-leak-kinds: definite
758    fun:malloc
759    fun:_owned_ptr_alloc
760    fun:setenv
763 # See https://bugs.kde.org/show_bug.cgi?id=196528
765 macos-__pthread_rwlock_init-see-our-bug-196528
766 Memcheck:Cond
767 fun:pthread_rwlock_init