apple-data 0.1.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/apple_data/boot_args.rb +5 -0
- data/lib/apple_data/fdr.rb +30 -0
- data/lib/apple_data/ioreg.rb +57 -0
- data/lib/apple_data/ipsw.rb +25 -0
- data/lib/apple_data/keybag.rb +56 -0
- data/lib/apple_data/lockdown.rb +48 -0
- data/lib/apple_data/macho.rb +5 -0
- data/lib/apple_data/version.rb +5 -0
- data/lib/apple_data.rb +8 -0
- data/share/4cc.yaml +297 -293
- data/share/apns.yaml +367 -364
- data/share/backup.yaml +47 -44
- data/share/baseband/qualcomm/mav13.yaml +26 -0
- data/share/baseband/qualcomm/mav20.yaml +45 -0
- data/share/baseband/qualcomm/mav21.yaml +254 -0
- data/share/baseband.yaml +290 -1
- data/share/bluetooth.yaml +75 -71
- data/share/boot_args.yaml +863 -855
- data/share/bridgeos.yaml +174 -131
- data/share/bundles.yaml +56 -60
- data/share/coprocessor.yaml +64 -0
- data/share/cores.yaml +72 -47
- data/share/debug.yaml +13 -0
- data/share/defaults.yaml +5 -0
- data/share/dnssd.yaml +171 -166
- data/share/entitlements.yaml +10391 -0
- data/share/environment_variables.yaml +354 -0
- data/share/esim.yaml +7 -0
- data/share/fdr.yaml +150 -148
- data/share/firmware.yaml +1310 -0
- data/share/homekit.yaml +14 -14
- data/share/iboot.yaml +143 -0
- data/share/icloud.yaml +11 -8
- data/share/img4.yaml +454 -453
- data/share/ioreg.yaml +5647 -5642
- data/share/ipsw.yaml +51505 -1099
- data/share/kext.yaml +3491 -1718
- data/share/keybags/7000.yaml +44342 -0
- data/share/keybags/7001.yaml +19430 -0
- data/share/keybags/7002.yaml +292 -0
- data/share/keybags/8000.yaml +82065 -0
- data/share/keybags/8001.yaml +29655 -0
- data/share/keybags/8004.yaml +295 -0
- data/share/keybags/8006.yaml +65 -0
- data/share/keybags/8010.yaml +23899 -0
- data/share/keybags/8011.yaml +4409 -0
- data/share/keybags/8015.yaml +23626 -0
- data/share/keybags/8020.yaml +4488 -0
- data/share/keybags/8027.yaml +43 -0
- data/share/keybags/8030.yaml +8687 -0
- data/share/keybags/8101.yaml +8595 -0
- data/share/keybags/8720.yaml +2026 -0
- data/share/keybags/8900.yaml +2344 -0
- data/share/keybags/8920.yaml +6761 -0
- data/share/keybags/8922.yaml +3141 -0
- data/share/keybags/8930.yaml +20583 -0
- data/share/keybags/8940.yaml +36319 -0
- data/share/keybags/8942.yaml +17343 -0
- data/share/keybags/8945.yaml +23360 -0
- data/share/keybags/8947.yaml +1384 -0
- data/share/keybags/8950.yaml +16258 -0
- data/share/keybags/8955.yaml +52163 -0
- data/share/keybags/8960.yaml +49499 -0
- data/share/keys.yaml +56 -0
- data/share/lightning.yaml +26 -23
- data/share/lockdownd.yaml +74 -71
- data/share/mach_o.yaml +204 -172
- data/share/mobile_assets.yaml +113 -127
- data/share/mobile_gestalt.yaml +2447 -2444
- data/share/nvram.yaml +463 -441
- data/share/ota.yaml +4 -1
- data/share/pki.yaml +103 -99
- data/share/platforms.yaml +35 -31
- data/share/pmu.yaml +52 -26
- data/share/registers.yaml +1579 -1603
- data/share/resources.yaml +202 -198
- data/share/sep.yaml +210 -206
- data/share/services.yaml +641 -636
- data/share/sip.yaml +64 -0
- data/share/smc.yaml +7 -0
- data/share/syscfg.yaml +4 -1
- data/share/tipw_sync.yaml +79103 -0
- data/share/vmapple.yaml +35 -0
- metadata +80 -15
data/share/mach_o.yaml
CHANGED
|
@@ -1,90 +1,79 @@
|
|
|
1
1
|
---
|
|
2
|
+
metadata:
|
|
3
|
+
description:
|
|
4
|
+
credits:
|
|
2
5
|
cpu_types:
|
|
3
6
|
file_types:
|
|
4
|
-
|
|
5
|
-
description:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
description: A FVM (fixed virtual memory, or non-relocatable/non-position independenct code PIC) dynamic library
|
|
12
|
-
value: 3
|
|
7
|
+
MH_BUNDLE:
|
|
8
|
+
description: A loadable bundle (often essentially a plugin) should be a complete
|
|
9
|
+
closure on symbols such as a executable but intended to be loaded into another
|
|
10
|
+
process's virtual memory space. A reason for the usage of `MH_BUNDLE` is that
|
|
11
|
+
the object must be explicitly late bound by calling `dlopen` or related APIs,
|
|
12
|
+
it cannot be linked to as though it were a library.
|
|
13
|
+
value: 8
|
|
13
14
|
MH_CORE:
|
|
14
15
|
description: A core dump (user or kernel)
|
|
15
16
|
value: 4
|
|
16
|
-
|
|
17
|
-
description:
|
|
18
|
-
value:
|
|
17
|
+
MH_DSYM:
|
|
18
|
+
description: A compile unit containing only debugging symbols
|
|
19
|
+
value: 10
|
|
19
20
|
MH_DYLIB:
|
|
20
21
|
description: A dynamic (read bound at runtime) library
|
|
21
22
|
value: 6
|
|
23
|
+
MH_DYLIB_STUB:
|
|
24
|
+
description: An object used for linking that contains no content. Somewhat similar
|
|
25
|
+
in nature to a `.tlb` file and no longer in common usage as Apple uses TLB files
|
|
26
|
+
as a replacement.
|
|
27
|
+
value: 9
|
|
22
28
|
MH_DYLINKER:
|
|
23
29
|
description: A dynamic linker (typically only one exists and is
|
|
24
30
|
value: 7
|
|
25
|
-
|
|
26
|
-
description: A
|
|
27
|
-
|
|
28
|
-
`MH_BUNDLE` is that the object must be explicitly late bound by calling `dlopen` or related APIs, it cannot
|
|
29
|
-
be linked to as though it were a library.
|
|
30
|
-
value: 8
|
|
31
|
-
MH_DYLIB_STUB:
|
|
32
|
-
description: An object used for linking that contains no content. Somewhat similar in nature to a `.tlb` file and
|
|
33
|
-
no longer in common usage as Apple uses TLB files as a replacement.
|
|
34
|
-
value: 9
|
|
35
|
-
MH_DSYM:
|
|
36
|
-
description: A compile unit containing only debugging symbols
|
|
37
|
-
value: 10
|
|
38
|
-
MH_KEXT_BUNDLE:
|
|
39
|
-
description: A kernel extension bundle. Name comes from 32bit lineage where MH_BUNDLE were kexts on non-64bit
|
|
40
|
-
platforms
|
|
41
|
-
value: 11
|
|
31
|
+
MH_EXECUTE:
|
|
32
|
+
description: A complete executable MachO file (typically a user mode binary)
|
|
33
|
+
value: 2
|
|
42
34
|
MH_FILESET:
|
|
43
35
|
description: A collection of other MachO files, used by KernelCollections
|
|
44
36
|
value: 12
|
|
37
|
+
MH_FVMLIB:
|
|
38
|
+
description: A FVM (fixed virtual memory, or non-relocatable/non-position independenct
|
|
39
|
+
code PIC) dynamic library
|
|
40
|
+
value: 3
|
|
41
|
+
MH_KEXT_BUNDLE:
|
|
42
|
+
description: A kernel extension bundle. Name comes from 32bit lineage where MH_BUNDLE
|
|
43
|
+
were kexts.rake on non-64bit platforms
|
|
44
|
+
value: 11
|
|
45
|
+
MH_OBJECT:
|
|
46
|
+
description: An intermediate object file that results from a compile unit (e.g.
|
|
47
|
+
single .c file)
|
|
48
|
+
value: 1
|
|
49
|
+
MH_PRELOAD:
|
|
50
|
+
description: \"Preloaded\" images. Used for firmware payloads
|
|
51
|
+
value: 5
|
|
45
52
|
segments:
|
|
46
|
-
|
|
47
|
-
description:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
description:
|
|
52
|
-
|
|
53
|
+
__AUTH:
|
|
54
|
+
description: Used by arm64e for pointer authenticaton codes (PAC) mutable data
|
|
55
|
+
__data:
|
|
56
|
+
description: General purpose PAC authenticated data
|
|
57
|
+
__objc_data:
|
|
58
|
+
description: ObjC specific PAC authenticated data
|
|
59
|
+
__AUTH_CONST:
|
|
60
|
+
description: Used by arm64e pointer authentication codes (PAC) and read only
|
|
53
61
|
__const:
|
|
54
|
-
description:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
description: Specific support for Apple OSLog facility containing the patterns
|
|
61
|
-
used
|
|
62
|
-
__eh_frame:
|
|
63
|
-
description: Execption handling frame
|
|
64
|
-
__stubs:
|
|
65
|
-
description: Locations that text calls that initially point to a helper thunk (see __stub_helper) but will be
|
|
66
|
-
late bound to the dynamic symbol
|
|
67
|
-
__stub_helper:
|
|
68
|
-
description: A helper function that when called binds the prior call site to the proper dyld import
|
|
69
|
-
__info_plist:
|
|
70
|
-
description:
|
|
71
|
-
__unwind_info:
|
|
72
|
-
description: Information to help debuggers / exception handlers unwind the stack (info about prolouge etc)
|
|
73
|
-
allowing for parts of the stack to remain a compiler implementation detail.
|
|
74
|
-
__auth_stubs:
|
|
75
|
-
description:
|
|
76
|
-
__init_offsets:
|
|
77
|
-
description:
|
|
78
|
-
__objc_methlist:
|
|
79
|
-
description:
|
|
80
|
-
__gcc_except_tab:
|
|
81
|
-
description: GCC exception handler table
|
|
82
|
-
__objc_classname:
|
|
83
|
-
description: A collection of strings that provide the names for Objective-C classes in this object file
|
|
84
|
-
__objc_methname:
|
|
85
|
-
description: A colleciton of strings that provide the names of Objective-C methods for a given class (selectors)
|
|
86
|
-
__objc_methtype:
|
|
62
|
+
description: Authenticated constants
|
|
63
|
+
__auth_got:
|
|
64
|
+
description: Authenticated Global offset Table
|
|
65
|
+
__cfstring:
|
|
66
|
+
description: Authenticated CoreFoundation strings
|
|
67
|
+
__auth_ptr:
|
|
87
68
|
description:
|
|
69
|
+
__objc_const:
|
|
70
|
+
description: Authenticated Objective-C constant values
|
|
71
|
+
__got:
|
|
72
|
+
description: Global offset Table
|
|
73
|
+
__CTF:
|
|
74
|
+
description: Compact C Type Format
|
|
75
|
+
__ctf:
|
|
76
|
+
description: https://github.com/apple-oss-distributions/dtrace/tree/main/tools/ctfconvert
|
|
88
77
|
__DATA:
|
|
89
78
|
description: Mutable data region (rw-)
|
|
90
79
|
__data:
|
|
@@ -151,30 +140,16 @@ segments:
|
|
|
151
140
|
description:
|
|
152
141
|
__objc_const:
|
|
153
142
|
description: Constant ObjC data
|
|
154
|
-
__KLDDATA:
|
|
155
|
-
description: Data region for KLD or kernel linker
|
|
156
|
-
__init:
|
|
157
|
-
description:
|
|
158
|
-
__init_entry_set:
|
|
159
|
-
description:
|
|
160
|
-
__cstring:
|
|
161
|
-
description: C-Style (null terminated) strings for the kernel linker
|
|
162
|
-
__const:
|
|
163
|
-
description: Constant data
|
|
164
|
-
__mod_init_func:
|
|
165
|
-
description: Module initializer funtion
|
|
166
|
-
__mod_term_func:
|
|
167
|
-
description: Module termination function
|
|
168
|
-
__bss:
|
|
169
|
-
description: Initialized data
|
|
170
143
|
__HIB:
|
|
171
|
-
description: Hardware specific information for coming out of hibernation. This
|
|
172
|
-
ensuring that the sleepimage is restored. Note
|
|
173
|
-
|
|
144
|
+
description: Hardware specific information for coming out of hibernation. This
|
|
145
|
+
section is solely responsable for ensuring that the sleepimage is restored. Note
|
|
146
|
+
that it all operates at the same protection levels (code, const, and data) and
|
|
147
|
+
therefore doesn't take advantage of some hardware protections.
|
|
174
148
|
__text:
|
|
175
149
|
description: Executable code used to pull a machine out of hibernation
|
|
176
150
|
__bootPT:
|
|
177
|
-
description: Initial page table for use during boot up from a hibernation for
|
|
151
|
+
description: Initial page table for use during boot up from a hibernation for
|
|
152
|
+
protected mode
|
|
178
153
|
__desc:
|
|
179
154
|
description:
|
|
180
155
|
__data:
|
|
@@ -187,81 +162,127 @@ segments:
|
|
|
187
162
|
description: Initialized mutable data
|
|
188
163
|
__common:
|
|
189
164
|
description:
|
|
190
|
-
__VECTORS:
|
|
191
|
-
description: Vector table. Often used to configure a kernel / coprocessor for reset, exception etc. See ARM-M
|
|
192
|
-
profile for an example
|
|
193
|
-
__recover:
|
|
194
|
-
description:
|
|
195
165
|
__KLD:
|
|
196
|
-
description: The kernel linker (used to dynamiclly bind a kernel extension) analagous
|
|
166
|
+
description: The kernel linker (used to dynamiclly bind a kernel extension) analagous
|
|
167
|
+
to dyld in user-mode
|
|
197
168
|
__text:
|
|
198
169
|
description: The executable code for the kernel linker
|
|
199
|
-
|
|
200
|
-
description:
|
|
170
|
+
__KLDDATA:
|
|
171
|
+
description: Data region for KLD or kernel linker
|
|
172
|
+
__init:
|
|
173
|
+
description:
|
|
174
|
+
__init_entry_set:
|
|
175
|
+
description:
|
|
176
|
+
__cstring:
|
|
177
|
+
description: C-Style (null terminated) strings for the kernel linker
|
|
178
|
+
__const:
|
|
179
|
+
description: Constant data
|
|
201
180
|
__mod_init_func:
|
|
202
|
-
description: Module
|
|
181
|
+
description: Module initializer funtion
|
|
182
|
+
__mod_term_func:
|
|
183
|
+
description: Module termination function
|
|
184
|
+
__bss:
|
|
185
|
+
description: Initialized data
|
|
203
186
|
__LAST:
|
|
204
187
|
description: Segment that contains the last kernel symbol exported
|
|
205
188
|
__last:
|
|
206
|
-
description: Contains `_last_kernel_symbol` which is the last exported kernel
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
189
|
+
description: Contains `_last_kernel_symbol` which is the last exported kernel
|
|
190
|
+
symbol
|
|
191
|
+
__LASTDATA_CONST:
|
|
192
|
+
description: Last exported symbol from the const region of the kernel or object
|
|
193
|
+
__mod_init_func:
|
|
194
|
+
description: Module initialization function
|
|
195
|
+
__LINKEDIT:
|
|
196
|
+
description: Though named "LINKEDIT" this segment actually contains any metadata
|
|
197
|
+
of this Mach-O object. For example this area contains code signature, as well
|
|
198
|
+
as dynamic linker opcodes. This area is always read only. The contents of
|
|
199
|
+
this area are described by various `LC_` load commands.
|
|
200
|
+
__LINKINFO:
|
|
201
|
+
description:
|
|
202
|
+
__symbolsets:
|
|
203
|
+
description:
|
|
204
|
+
__OBJC_CONST:
|
|
205
|
+
description: A region of Objective-C metadata that is read-only
|
|
206
|
+
__objc_class_ro:
|
|
207
|
+
description: ObjC class info that is read-only to prevent runtime tampering
|
|
208
|
+
(swizzling for example)
|
|
209
|
+
__PAGEZERO:
|
|
210
|
+
description: A dummy page used to mark addresses at low memory as not readable. This
|
|
211
|
+
causes a dereference of a low integer to cause a page fault helping not propogate
|
|
212
|
+
type errors when casting pointers.
|
|
211
213
|
__PRELINK_INFO:
|
|
212
214
|
description: Descriptive information about the prelinked region of this object
|
|
213
215
|
__info:
|
|
214
216
|
description:
|
|
215
|
-
|
|
216
|
-
description:
|
|
217
|
-
|
|
217
|
+
__PRELINK_TEXT:
|
|
218
|
+
description: A region of executable code that is the combination of multiple linkable
|
|
219
|
+
objects having been prebound
|
|
220
|
+
__text:
|
|
221
|
+
description: The prelinked, executable code region
|
|
222
|
+
__TEXT:
|
|
223
|
+
description: The text region contains any executable code (in the machine code
|
|
224
|
+
of the platform for this binary) and therefore will always be a read-only (write
|
|
225
|
+
protected) region of memory when mapped into a process. (r-x)
|
|
226
|
+
__text:
|
|
227
|
+
description: Generic code region. This area will have the execute flag set
|
|
228
|
+
on it's content
|
|
229
|
+
__const:
|
|
230
|
+
description: Constant variables. This region will be non-execute on platforms
|
|
231
|
+
that support execute never, DEP or NX concepts. See `__DATA_CONST.__const`
|
|
232
|
+
__cstring:
|
|
233
|
+
description: ASCII strings null terminated. This region can be split on `\0`
|
|
234
|
+
into strings.
|
|
235
|
+
__os_log:
|
|
236
|
+
description: Specific support for Apple OSLog facility containing the patterns
|
|
237
|
+
used
|
|
238
|
+
__eh_frame:
|
|
239
|
+
description: Execption handling frame
|
|
240
|
+
__stubs:
|
|
241
|
+
description: Locations that text calls that initially point to a helper thunk
|
|
242
|
+
(see __stub_helper) but will be late bound to the dynamic symbol
|
|
243
|
+
__stub_helper:
|
|
244
|
+
description: A helper function that when called binds the prior call site to
|
|
245
|
+
the proper dyld import
|
|
246
|
+
__info_plist:
|
|
247
|
+
description:
|
|
248
|
+
__unwind_info:
|
|
249
|
+
description: Information to help debuggers / exception handlers unwind the stack
|
|
250
|
+
(info about prolouge etc) allowing for parts of the stack to remain a compiler
|
|
251
|
+
implementation detail.
|
|
252
|
+
__auth_stubs:
|
|
253
|
+
description:
|
|
254
|
+
__init_offsets:
|
|
255
|
+
description:
|
|
256
|
+
__objc_methlist:
|
|
257
|
+
description:
|
|
258
|
+
__gcc_except_tab:
|
|
259
|
+
description: GCC exception handler table
|
|
260
|
+
__objc_classname:
|
|
261
|
+
description: A collection of strings that provide the names for Objective-C
|
|
262
|
+
classes in this object file
|
|
263
|
+
__objc_methname:
|
|
264
|
+
description: A colleciton of strings that provide the names of Objective-C methods
|
|
265
|
+
for a given class (selectors)
|
|
266
|
+
__objc_methtype:
|
|
218
267
|
description:
|
|
219
|
-
__CTF:
|
|
220
|
-
description: Compact C Type Format
|
|
221
|
-
__ctf:
|
|
222
|
-
description: https://github.com/apple-oss-distributions/dtrace/tree/main/tools/ctfconvert
|
|
223
|
-
__LINKEDIT:
|
|
224
|
-
description: Though named "LINKEDIT" this segment actually contains any metadata of this Mach-O object. For example
|
|
225
|
-
this area contains code signature, as well as dynamic linker opcodes. This area is always read only. The
|
|
226
|
-
contents of this area are described by various `LC_` load commands.
|
|
227
268
|
__TEXT_EXEC:
|
|
228
269
|
description:
|
|
229
|
-
|
|
230
|
-
description:
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
description: Used by arm64e pointer authentication codes (PAC) and read only
|
|
234
|
-
__const:
|
|
235
|
-
description: Authenticated constants
|
|
236
|
-
__auth_got:
|
|
237
|
-
description: Authenticated Global offset Table
|
|
238
|
-
__cfstring:
|
|
239
|
-
description: Authenticated CoreFoundation strings
|
|
240
|
-
__auth_ptr:
|
|
270
|
+
__VECTORS:
|
|
271
|
+
description: Vector table. Often used to configure a kernel / coprocessor for
|
|
272
|
+
reset, exception etc. See ARM-M profile for an example
|
|
273
|
+
__recover:
|
|
241
274
|
description:
|
|
242
|
-
__objc_const:
|
|
243
|
-
description: Authenticated Objective-C constant values
|
|
244
|
-
__got:
|
|
245
|
-
description: Global offset Table
|
|
246
|
-
__AUTH:
|
|
247
|
-
description: Used by arm64e for pointer authenticaton codes (PAC) mutable data
|
|
248
|
-
__data:
|
|
249
|
-
description: General purpose PAC authenticated data
|
|
250
|
-
__objc_data:
|
|
251
|
-
description: ObjC specific PAC authenticated data
|
|
252
|
-
__OBJC_CONST:
|
|
253
|
-
description: A region of Objective-C metadata that is read-only
|
|
254
|
-
__objc_class_ro:
|
|
255
|
-
description: ObjC class info that is read-only to prevent runtime tampering (swizzling for example)
|
|
256
275
|
commands:
|
|
257
276
|
LC_SEGMENT:
|
|
258
|
-
description: Causes the loading of a 32bit segment with a given protection level. Contains
|
|
277
|
+
description: Causes the loading of a 32bit segment with a given protection level. Contains
|
|
278
|
+
0 or more sections
|
|
259
279
|
value: 1
|
|
260
280
|
LC_SYMTAB:
|
|
261
281
|
description: Classical symbol table (direct symbols defined in this object)
|
|
262
282
|
value: 2
|
|
263
283
|
LC_SYMSEG:
|
|
264
|
-
description: Classical GCC compatible "symbol segment". Not commonly used as
|
|
284
|
+
description: Classical GCC compatible "symbol segment". Not commonly used as
|
|
285
|
+
it is replaced with dyld opcodes.
|
|
265
286
|
value: 3
|
|
266
287
|
LC_THREAD:
|
|
267
288
|
description: Initial state of the Mach thread for a executable Mach-O
|
|
@@ -288,31 +309,35 @@ commands:
|
|
|
288
309
|
description: Dynamic or indirect symbol table.
|
|
289
310
|
value: 11
|
|
290
311
|
LC_LOAD_DYLIB:
|
|
291
|
-
description: Load a dynamic library (dylib) by it's identity. This occurs before
|
|
312
|
+
description: Load a dynamic library (dylib) by it's identity. This occurs before
|
|
313
|
+
process start.
|
|
292
314
|
value: 12
|
|
293
315
|
LC_ID_DYLIB:
|
|
294
|
-
description: Unique identifier for this dynamic library to be used in locating
|
|
316
|
+
description: Unique identifier for this dynamic library to be used in locating
|
|
317
|
+
it for import
|
|
295
318
|
value: 13
|
|
296
319
|
LC_LOAD_DYLINKER:
|
|
297
|
-
description: Command to load a specific dynamic linker to bind dylibs into this
|
|
320
|
+
description: Command to load a specific dynamic linker to bind dylibs into this
|
|
321
|
+
object
|
|
298
322
|
value: 14
|
|
299
323
|
LC_ID_DYLINKER:
|
|
300
|
-
description: The identity of the dynamic linker (dyld) expected to be used to
|
|
324
|
+
description: The identity of the dynamic linker (dyld) expected to be used to
|
|
325
|
+
bind this object in memory
|
|
301
326
|
value: 15
|
|
302
327
|
LC_PREBOUND_DYLIB:
|
|
303
328
|
description:
|
|
304
329
|
value: 16
|
|
305
330
|
LC_ROUTINES:
|
|
306
|
-
description: Used to define initialize / finalize functions on 32bit platforms. Historical
|
|
307
|
-
are now how this is handled.
|
|
331
|
+
description: Used to define initialize / finalize functions on 32bit platforms. Historical
|
|
332
|
+
as _init_func/_term_func are now how this is handled.
|
|
308
333
|
value: 17
|
|
309
334
|
LC_SUB_FRAMEWORK:
|
|
310
|
-
description: Used by "Umbrella Frameworks" to declare the frameworks that the
|
|
311
|
-
see Cocoa, AppKit and Foundation
|
|
335
|
+
description: Used by "Umbrella Frameworks" to declare the frameworks that the
|
|
336
|
+
umbrella re-exports. For an example see Cocoa, AppKit and Foundation
|
|
312
337
|
value: 18
|
|
313
338
|
LC_SUB_UMBRELLA:
|
|
314
|
-
description: Used by "Umbrella Frameworks" that re-export other frameworks (Cocoa
|
|
315
|
-
example of this)
|
|
339
|
+
description: Used by "Umbrella Frameworks" that re-export other frameworks (Cocoa
|
|
340
|
+
exports Foundation, AppKit for example of this)
|
|
316
341
|
value: 19
|
|
317
342
|
LC_SUB_CLIENT:
|
|
318
343
|
description:
|
|
@@ -321,25 +346,29 @@ commands:
|
|
|
321
346
|
description:
|
|
322
347
|
value: 21
|
|
323
348
|
LC_TWOLEVEL_HINTS:
|
|
324
|
-
description: Two level namespacing allows for the binding to a symbol that may
|
|
325
|
-
|
|
349
|
+
description: Two level namespacing allows for the binding to a symbol that may
|
|
350
|
+
have the same name in two different libraries. The first namespace is the dylib
|
|
351
|
+
contining the symbol and the second namespace is the symbol itself.
|
|
326
352
|
value: 22
|
|
327
353
|
LC_PREBIND_CKSUM:
|
|
328
|
-
description: Checksum data to know if this "optimized" or prebound object is still
|
|
329
|
-
generated from.
|
|
354
|
+
description: Checksum data to know if this "optimized" or prebound object is still
|
|
355
|
+
valid for the files it was generated from.
|
|
330
356
|
value: 23
|
|
331
357
|
LC_LOAD_WEAK_DYLIB:
|
|
332
|
-
description: Attempt to load a Dylib but do not fail if binding cannot occur due
|
|
358
|
+
description: Attempt to load a Dylib but do not fail if binding cannot occur due
|
|
359
|
+
to its absence
|
|
333
360
|
value: 2147483672
|
|
334
361
|
LC_SEGMENT_64:
|
|
335
|
-
description: Causes the loading of a 64bit segment with a given protection level. Contains
|
|
362
|
+
description: Causes the loading of a 64bit segment with a given protection level. Contains
|
|
363
|
+
0 or more sections
|
|
336
364
|
value: 25
|
|
337
365
|
LC_ROUTINES_64:
|
|
338
|
-
description: Used to define initialize / finalize functions on 64bit platforms. Historical
|
|
339
|
-
are now how this is handled.
|
|
366
|
+
description: Used to define initialize / finalize functions on 64bit platforms. Historical
|
|
367
|
+
as _init_func/_term_func are now how this is handled.
|
|
340
368
|
value: 26
|
|
341
369
|
LC_UUID:
|
|
342
|
-
description: A UUID (GUID) that uniquely identifies this object. Should only
|
|
370
|
+
description: A UUID (GUID) that uniquely identifies this object. Should only
|
|
371
|
+
occur once
|
|
343
372
|
value: 27
|
|
344
373
|
LC_RPATH:
|
|
345
374
|
description:
|
|
@@ -354,11 +383,12 @@ commands:
|
|
|
354
383
|
description: Used to export symbols from an object file that this object imported
|
|
355
384
|
value: 2147483679
|
|
356
385
|
LC_LAZY_LOAD_DYLIB:
|
|
357
|
-
description: Dylibs that should be included in this objects dependencies but should
|
|
358
|
-
a reference is made to them
|
|
386
|
+
description: Dylibs that should be included in this objects dependencies but should
|
|
387
|
+
only be loaded and bound when a reference is made to them
|
|
359
388
|
value: 32
|
|
360
389
|
LC_ENCRYPTION_INFO:
|
|
361
|
-
description: Used by FairPlay / DSMOS to protect a binary from dump / reverse
|
|
390
|
+
description: Used by FairPlay / DSMOS to protect a binary from dump / reverse
|
|
391
|
+
engineering (DRM, be mindful of DMCA)
|
|
362
392
|
value: 33
|
|
363
393
|
LC_DYLD_INFO:
|
|
364
394
|
description:
|
|
@@ -391,11 +421,12 @@ commands:
|
|
|
391
421
|
description: The verion of source code this Mach-O file was built from
|
|
392
422
|
value: 42
|
|
393
423
|
LC_DYLIB_CODE_SIGN_DRS:
|
|
394
|
-
description: Classical code signing "designated requirements". No longer in common
|
|
395
|
-
LC_CODE_SIGNATURE "magic page"
|
|
424
|
+
description: Classical code signing "designated requirements". No longer in common
|
|
425
|
+
usage as this is now in a LC_CODE_SIGNATURE "magic page"
|
|
396
426
|
value: 43
|
|
397
427
|
LC_ENCRYPTION_INFO_64:
|
|
398
|
-
description: Used by FairPlay / DSMOS to protect a binary from dump / reverse
|
|
428
|
+
description: Used by FairPlay / DSMOS to protect a binary from dump / reverse
|
|
429
|
+
engineering (DRM, be mindful of DMCA)
|
|
399
430
|
value: 44
|
|
400
431
|
LC_LINKER_OPTION:
|
|
401
432
|
description:
|
|
@@ -410,11 +441,12 @@ commands:
|
|
|
410
441
|
description: The minimum watchOS to laod and execute this binary
|
|
411
442
|
value: 48
|
|
412
443
|
LC_NOTE:
|
|
413
|
-
description: An arbitrary human readable text note included in this Mach-O. These
|
|
414
|
-
tooling as their unstructured
|
|
444
|
+
description: An arbitrary human readable text note included in this Mach-O. These
|
|
445
|
+
should not be used by automated tooling as their unstructured
|
|
415
446
|
value: 49
|
|
416
447
|
LC_BUILD_VERSION:
|
|
417
|
-
description: Contains information about the binaries platform, it's target and
|
|
448
|
+
description: Contains information about the binaries platform, it's target and
|
|
449
|
+
minimum SDK
|
|
418
450
|
value: 50
|
|
419
451
|
LC_DYLD_EXPORTS_TRIE:
|
|
420
452
|
description: The exporeted DYLD symbols from this dylib
|
|
@@ -423,6 +455,6 @@ commands:
|
|
|
423
455
|
description:
|
|
424
456
|
value: 2147483700
|
|
425
457
|
LC_FILESET_ENTRY:
|
|
426
|
-
description: An entry of a Mach-O object containing other Mach-O files. Current
|
|
427
|
-
11+ KernelCollections
|
|
458
|
+
description: An entry of a Mach-O object containing other Mach-O files. Current
|
|
459
|
+
usage is in macOS 11+ KernelCollections
|
|
428
460
|
value: 2147483701
|