13
0

add OSX/objc valgrind suppression file

This commit is contained in:
Robin Gareus 2015-09-07 15:43:20 +02:00
parent fcbf359dd6
commit b08fd6483c
2 changed files with 282 additions and 0 deletions

View File

@ -13,4 +13,5 @@ exec valgrind --tool=memcheck \
$VALGRIND_OPTIONS \ $VALGRIND_OPTIONS \
--track-origins=yes \ --track-origins=yes \
--suppressions=`dirname "$0"`/../tools/valgrind.supp \ --suppressions=`dirname "$0"`/../tools/valgrind.supp \
--suppressions=`dirname "$0"`/../tools/objc.supp \
$TOP/$EXECUTABLE --novst "$@" $TOP/$EXECUTABLE --novst "$@"

281
tools/objc.supp Normal file
View File

@ -0,0 +1,281 @@
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc_zone_malloc
fun:recursive_mutex_init
fun:lock_init
fun:_objc_init
fun:_os_object_init
fun:libdispatch_init
fun:libSystem_initializer
fun:_ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
fun:_ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkContextE
fun:_ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListERNS_15UninitedUpwardsE
fun:_ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextEjRNS_21InitializerTimingListERNS_15UninitedUpwardsE
fun:_ZN11ImageLoader19processInitializersERKNS_11LinkContextEjRNS_21InitializerTimingListERNS_15UninitedUpwardsE
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_calloc
fun:NXHashInsert
fun:NXCreateHashTableFromZone
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
fun:_objc_init
fun:_os_object_init
fun:libdispatch_init
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_calloc
fun:NXHashInsert
fun:_ZL12realizeClassP10objc_class
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
fun:_objc_init
fun:_os_object_init
fun:libdispatch_init
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_calloc
fun:NXHashInsert
fun:_NXHashRehashToCapacity
fun:NXHashInsert
fun:_ZL12realizeClassP10objc_class
fun:_ZL12realizeClassP10objc_class
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_calloc
fun:NXHashInsert
fun:_NXHashRehashToCapacity
fun:NXHashInsert
fun:_ZL12realizeClassP10objc_class
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
fun:_objc_init
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_calloc
fun:NXHashInsert
fun:_ZL12realizeClassP10objc_class
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
fun:_objc_init
fun:_os_object_init
fun:libdispatch_init
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_calloc
fun:NXHashInsert
fun:_ZL12realizeClassP10objc_class
fun:_ZL12realizeClassP10objc_class
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
fun:_objc_init
fun:_os_object_init
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_malloc
fun:NXCreateMapTableFromZone
fun:_ZL20unattachedCategoriesv
fun:_ZL12realizeClassP10objc_class
fun:_ZL12realizeClassP10objc_class
fun:_ZL12realizeClassP10objc_class
fun:_ZL12realizeClassP10objc_class
fun:_ZL12realizeClassP10objc_class
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_malloc
fun:_strdup_internal
fun:NXMapKeyCopyingInsert
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
fun:_objc_init
fun:_os_object_init
fun:libdispatch_init
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_malloc
fun:NXCreateMapTableFromZone
fun:_ZL15remappedClassesa
fun:_ZL10remapClassP10objc_class
fun:_Z9readClassP10objc_classbb
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
fun:_objc_init
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_malloc
fun:NXCreateMapTableFromZone
fun:_ZL18futureNamedClassesv
fun:_Z9readClassP10objc_classbb
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
fun:_objc_init
fun:_os_object_init
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_malloc
fun:_ZL12_NXMapRehashP11_NXMapTable
fun:NXMapInsert
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
fun:_objc_init
fun:_os_object_init
fun:libdispatch_init
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_malloc
fun:NXCreateMapTableFromZone
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
fun:_objc_init
fun:_os_object_init
fun:libdispatch_init
fun:libSystem_initializer
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_malloc
fun:_ZL12_NXMapRehashP11_NXMapTable
fun:NXMapInsert
fun:_ZL18__sel_registerNamePKcii
fun:_ZL15fixupMethodListP13method_list_tbb
fun:_ZL17attachMethodListsP10objc_classPP13method_list_tibbb
fun:_ZL12realizeClassP10objc_class
fun:_ZL12realizeClassP10objc_class
fun:_ZL12realizeClassP10objc_class
fun:_ZL12realizeClassP10objc_class
fun:_ZL12realizeClassP10objc_class
fun:_read_images
}
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: possible
fun:malloc_zone_calloc
fun:_read_images
fun:map_images_nolock
fun:map_images
fun:_ZN4dyldL18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE
fun:_ZN4dyld36registerImageStateBatchChangeHandlerE17dyld_image_statesPFPKcS0_jPK15dyld_image_infoE
fun:dyld_register_image_state_change_handler
fun:_objc_init
fun:_os_object_init
fun:libdispatch_init
fun:libSystem_initializer
fun:_ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE
}
{
<insert_a_suppression_name_here>
Memcheck:Cond
fun:_platform_memchr$VARIANT$Haswell
fun:__sfvwrite
fun:__vfprintf
fun:__v2printf
fun:__xvprintf
fun:vfprintf_l
fun:printf
fun:main
}
{
<insert_a_suppression_name_here>
Memcheck:Cond
fun:_platform_memchr$VARIANT$Haswell
fun:__sfvwrite
fun:__vfprintf
fun:__v2printf
fun:__xvprintf
fun:vfprintf_l
fun:printf
fun:print_letters
fun:print_arguments
fun:main
}