-
-
Notifications
You must be signed in to change notification settings - Fork 59
/
darwin22.supp
90 lines (79 loc) · 2.47 KB
/
darwin22.supp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Suppressions for Darwin 22.x / macOS 13.0 Ventura
############################################
# I don't understand how chkstk works so no clue how to properly handle it
{
OSX1300:chkstk1
Memcheck:Addr1
fun:__chkstk_darwin_probe
...
fun:_ZN5dyld*
}
{
OSX1300:chkstk2
Memcheck:Addr1
fun:__chkstk_darwin_probe
...
fun:(below main)
}
# Due to accessing options.useHaswell, whose value comes from a call to host_info, the options themselves are stack-allocated
# See https://github.com/apple-oss-distributions/dyld/blob/dyld-1042.1/dyld/SharedCacheRuntime.cpp#L251
{
OSX1300:validMagic
Memcheck:Cond
...
fun:_ZN5dyld3L10validMagicERKNS_18SharedCacheOptionsEPK15DyldSharedCache
...
}
# Due to reading GradedArchs::_orderedCpuTypes, which are statically allocated,
# but GradedArchs::forCurrentOS returns the right one based on isHaswell (which also calls host_info)
{
OSX1300:GradedArchs::checksOSBinary1
Memcheck:Value8
...
fun:_ZNK5dyld311GradedArchs14checksOSBinaryEv
...
}
{
OSX1300:GradedArchs::checksOSBinary2
Memcheck:Cond
...
fun:_ZNK5dyld311GradedArchs14checksOSBinaryEv
...
}
# Probably (didn't investigate) from getArchNames which uses GradedArchs::forEachArch, which uses GradedArchs::_orderedCpuTypes
{
OSX1300:MachOFile::compatibleSlice
Memcheck:Value8
...
fun:_ZN5dyld39MachOFile15compatibleSliceER11DiagnosticsPKvmPKcNS_8PlatformEbRKNS_11GradedArchsE
...
}
# No clue
{
OSX1300:BadBlockInvoke
Memcheck:Cond
...
fun:___ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE_block_invoke
...
}
{
OSX1300:libSystemInitializer
Memcheck:Cond
...
fun:libSystem_initializer
fun:___ZZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateEENK3$_0clEv_block_invoke
fun:___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.180
fun:___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke
fun:_ZNK5dyld39MachOFile18forEachLoadCommandER11DiagnosticsU13block_pointerFvPK12load_commandRbE
...
}
{
OSX1300:dyld_setUpPageInLinkingRegions_map_with_linking
Memcheck:Param
map_with_linking_np(link_info)
fun:__map_with_linking_np
fun:_ZN5dyld4L25setUpPageInLinkingRegionsERNS_12RuntimeStateEPKNS_6LoaderEmttbRKN5dyld35ArrayINS_18PageInLinkingRangeEEERKNS6_IPKvEE
...
fun:_ZN5dyld4L7prepareERNS_4APIsEPKN5dyld313MachOAnalyzerE
fun:(below main)
}