-
Notifications
You must be signed in to change notification settings - Fork 0
/
darwin22.supp
275 lines (248 loc) · 5.35 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
# 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:fetchSelfToken
Memcheck:Cond
fun:_fetch_self_token
}
{
OSX1300:createDebugControlPort
Memcheck:Cond
obj:*
fun:_os_trace_create_debug_control_port
}
{
OSX1300:libxpcInitializer
Memcheck:Cond
obj:*
fun:_libxpc_initializer
}
{
OSX1300:initClockPort
Memcheck:Cond
obj:*
fun:_init_clock_port
}
{
OSX1300:mapWithLinkingNp
Memcheck:Param
map_with_linking_np(link_info)
fun:__map_with_linking_np
}
{
OSX1300:realizeClassWithoutSwift
Memcheck:Leak
match-leak-kinds: definite
fun:calloc
fun:_ZL24realizeClassWithoutSwiftP10objc_classS0_
}
{
OSX1300:fun:NXCreateMapTableFromZone
Memcheck:Leak
match-leak-kinds: all
fun:*alloc
fun:NXCreate*TableFromZone
}
{
OSX1300::objcInit
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:_objc_init
}
{
OSX1300:xpcAlloc
Memcheck:Leak
match-leak-kinds: reachable
fun:calloc
fun:_xpc_alloc
}
{
OSX1300:_os_object_alloc_realized
Memcheck:Leak
match-leak-kinds: reachable
fun:calloc
fun:class_createInstance
fun:_os_object_alloc_realized
}
{
OSX1300:xpc_string_create
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:strdup
fun:xpc_string_create
}
{
OSX1300:fetchInitializingClassListb
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:_ZL27_fetchInitializingClassListb
}
{
OSX1300:cacheAllocateBuckets
Memcheck:Leak
match-leak-kinds: reachable
fun:calloc
fun:_ZN7cache_t15allocateBucketsEj
}
{
OSX1300:objc_safeRanges
Memcheck:Leak
match-leak-kinds: reachable
fun:realloc
fun:_ZN4objc10SafeRanges3addEmm
}
{
OSX1300:NXCreateHashTableFromZone
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc_zone_calloc
fun:NXCreateHashTableFromZone
}
{
OSX1300:_NXHashRehashToCapacity
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc_zone_calloc
fun:_NXHashRehashToCapacity
}
{
OSX1300:_ZL27_fetchInitializingClassListb
Memcheck:Leak
match-leak-kinds: reachable
fun:calloc
fun:_ZL27_fetchInitializingClassListb
}
{
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:xpc_dictionary_get_uint64
Memcheck:Addr16
obj:*
fun:_xpc_dictionary_look_up_table
}
{
OSX1300:bootstrap_look_up3
Memcheck:Cond
fun:_xpc_interface_routine
}
{
OSX1300:notify_monitor_file
Memcheck:Cond
fun:_notify_fork_child
}
{
OSX1300:notify_register_check1
Memcheck:Cond
fun:notify_register_check
fun:__si_module_static_ds_block_invoke
}
{
OSX1300:notify_register_check2
Memcheck:Cond
fun:notify_register_check
fun:si_inet_config
fun:_mdns_search_ex
}
{
OSX1300:si_module1
Memcheck:Leak
match-leak-kinds: reachable
fun:*alloc
...
fun:__si_module_static_*_block_invoke
}
{
OSX1300:si_module2
Memcheck:Leak
match-leak-kinds: reachable
fun:calloc
fun:si_module_config_modules_for_category
}
{
OSX1300:n_notify_fork_child
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:_notify_fork_child
}
{
OSX1300:ConectToServer
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:ConnectToServer
fun:DNSServiceCreateConnection
fun:_mdns_search_ex
}
{
OSX1300:printf1
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:__smakebuf
fun:__swsetup
fun:__v2printf
fun:vfprintf_l
}