Skip to content

Instantly share code, notes, and snippets.

@iameli
Created February 4, 2022 06:28
Show Gist options
  • Select an option

  • Save iameli/ab3320e8437e3a68311a6c0c23451094 to your computer and use it in GitHub Desktop.

Select an option

Save iameli/ab3320e8437e3a68311a6c0c23451094 to your computer and use it in GitHub Desktop.
livepeer-ci: file format mach-o arm64
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
MH_MAGIC_64 ARM64 ALL 0x00 EXECUTE 25 3232 NOUNDEFS DYLDLINK TWOLEVEL PIE
Load command 0
cmd LC_SEGMENT_64
cmdsize 72
segname __PAGEZERO
vmaddr 0x0000000000000000
vmsize 0x0000000004000000
fileoff 0
filesize 0
maxprot ---
initprot ---
nsects 0
flags (none)
Load command 1
cmd LC_SEGMENT_64
cmdsize 632
segname __TEXT
vmaddr 0x0000000004000000
vmsize 0x0000000001168000
fileoff 0
filesize 18251776
maxprot r-x
initprot r-x
nsects 7
flags (none)
Section
sectname __text
segname __TEXT
addr 0x0000000004004000
size 0x0000000001088858
offset 16384
align 2^6 (64)
reloff 0
nreloc 0
type S_REGULAR
attributes PURE_INSTRUCTIONS SOME_INSTRUCTIONS
reserved1 0
reserved2 0
Section
sectname __stubs
segname __TEXT
addr 0x000000000508c858
size 0x0000000000000ee8
offset 17352792
align 2^2 (4)
reloff 0
nreloc 0
type S_SYMBOL_STUBS
attributes PURE_INSTRUCTIONS SOME_INSTRUCTIONS
reserved1 0 (index into indirect symbol table)
reserved2 12 (size of stubs)
Section
sectname __stub_helper
segname __TEXT
addr 0x000000000508d740
size 0x0000000000000f00
offset 17356608
align 2^2 (4)
reloff 0
nreloc 0
type S_REGULAR
attributes PURE_INSTRUCTIONS SOME_INSTRUCTIONS
reserved1 0
reserved2 0
Section
sectname __const
segname __TEXT
addr 0x000000000508e640
size 0x0000000000050440
offset 17360448
align 2^5 (32)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __cstring
segname __TEXT
addr 0x00000000050dea80
size 0x000000000003f86e
offset 17689216
align 2^0 (1)
reloff 0
nreloc 0
type S_CSTRING_LITERALS
attributes (none)
reserved1 0
reserved2 0
Section
sectname __unwind_info
segname __TEXT
addr 0x000000000511e2f0
size 0x000000000000ede8
offset 17949424
align 2^2 (4)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __eh_frame
segname __TEXT
addr 0x000000000512d0d8
size 0x000000000003aefc
offset 18010328
align 2^3 (8)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Load command 2
cmd LC_SEGMENT_64
cmdsize 1272
segname __DATA
vmaddr 0x0000000005168000
vmsize 0x0000000000efc000
fileoff 18251776
filesize 13287424
maxprot rw-
initprot rw-
nsects 15
flags (none)
Section
sectname __got
segname __DATA
addr 0x0000000005168000
size 0x00000000000000f8
offset 18251776
align 2^3 (8)
reloff 0
nreloc 0
type S_NON_LAZY_SYMBOL_POINTERS
attributes (none)
reserved1 318 (index into indirect symbol table)
reserved2 0
Section
sectname __la_symbol_ptr
segname __DATA
addr 0x00000000051680f8
size 0x00000000000009f0
offset 18252024
align 2^3 (8)
reloff 0
nreloc 0
type S_LAZY_SYMBOL_POINTERS
attributes (none)
reserved1 349 (index into indirect symbol table)
reserved2 0
Section
sectname __const
segname __DATA
addr 0x0000000005168b00
size 0x0000000000030d38
offset 18254592
align 2^6 (64)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __cfstring
segname __DATA
addr 0x0000000005199838
size 0x0000000000000100
offset 18454584
align 2^3 (8)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __rodata
segname __DATA
addr 0x0000000005199940
size 0x000000000058b136
offset 18454848
align 2^5 (32)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __typelink
segname __DATA
addr 0x0000000005724a80
size 0x000000000000a230
offset 24267392
align 2^5 (32)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __itablink
segname __DATA
addr 0x000000000572ecb0
size 0x0000000000002958
offset 24308912
align 2^3 (8)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __gosymtab
segname __DATA
addr 0x0000000005731608
size 0x0000000000000000
offset 24319496
align 2^0 (1)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __gopclntab
segname __DATA
addr 0x0000000005731620
size 0x0000000000667f1a
offset 24319520
align 2^5 (32)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __go_buildinfo
segname __DATA
addr 0x0000000005d99540
size 0x0000000000000020
offset 31036736
align 2^4 (16)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __noptrdata
segname __DATA
addr 0x0000000005d99560
size 0x00000000000579c0
offset 31036768
align 2^5 (32)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __data
segname __DATA
addr 0x0000000005df0f20
size 0x000000000001fe08
offset 31395616
align 2^5 (32)
reloff 0
nreloc 0
type S_REGULAR
attributes (none)
reserved1 0
reserved2 0
Section
sectname __bss
segname __DATA
addr 0x0000000005e10d40
size 0x000000000012d0c1
offset 0
align 2^5 (32)
reloff 0
nreloc 0
type S_ZEROFILL
attributes (none)
reserved1 0
reserved2 0
Section
sectname __noptrbss
segname __DATA
addr 0x0000000005f3de20
size 0x0000000000004928
offset 0
align 2^5 (32)
reloff 0
nreloc 0
type S_ZEROFILL
attributes (none)
reserved1 0
reserved2 0
Section
sectname __common
segname __DATA
addr 0x0000000005f42800
size 0x000000000011ff80
offset 0
align 2^11 (2048)
reloff 0
nreloc 0
type S_ZEROFILL
attributes (none)
reserved1 0
reserved2 0
Load command 3
cmd LC_SEGMENT_64
cmdsize 72
segname __LINKEDIT
vmaddr 0x0000000006064000
vmsize 0x000000000092c000
fileoff 31539200
filesize 9614160
maxprot r--
initprot r--
nsects 0
flags (none)
Load command 4
cmd LC_DYLD_INFO_ONLY
cmdsize 48
rebase_off 31539200
rebase_size 286744
bind_off 31825944
bind_size 1176
weak_bind_off 0
weak_bind_size 0
lazy_bind_off 31827120
lazy_bind_size 6296
export_off 31833416
export_size 77624
Load command 5
cmd LC_SYMTAB
cmdsize 24
symoff 31978320
nsyms 219050
stroff 35485792
strsize 5330304
Load command 6
cmd LC_DYSYMTAB
cmdsize 80
ilocalsym 0
nlocalsym 215362
iextdefsym 215362
nextdefsym 3348
iundefsym 218710
nundefsym 340
tocoff 0
ntoc 0
modtaboff 0
nmodtab 0
extrefsymoff 0
nextrefsyms 0
indirectsymoff 35483120
nindirectsyms 667
extreloff 0
nextrel 0
locreloff 0
nlocrel 0
Load command 7
cmd LC_LOAD_DYLINKER
cmdsize 32
name /usr/lib/dyld (offset 12)
Load command 8
cmd LC_UUID
cmdsize 24
uuid 4F2D70C5-774F-3D9E-9476-71F78C551D19
Load command 9
cmd LC_BUILD_VERSION
cmdsize 32
platform macos
sdk 12.1
minos 11.0
ntools 1
tool ld
version 711.0
Load command 10
cmd LC_SOURCE_VERSION
cmdsize 16
version 0.0
Load command 11
cmd LC_MAIN
cmdsize 24
entryoff 437968
stacksize 0
Load command 12
cmd LC_LOAD_DYLIB
cmdsize 104
name /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 1856.105.0
compatibility version 150.0.0
Load command 13
cmd LC_LOAD_DYLIB
cmdsize 96
name /System/Library/Frameworks/Security.framework/Versions/A/Security (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 60157.60.19
compatibility version 1.0.0
Load command 14
cmd LC_LOAD_DYLIB
cmdsize 96
name /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 1856.105.0
compatibility version 300.0.0
Load command 15
cmd LC_LOAD_DYLIB
cmdsize 56
name /usr/lib/libSystem.B.dylib (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 1311.0.0
compatibility version 1.0.0
Load command 16
cmd LC_LOAD_DYLIB
cmdsize 56
name /usr/lib/libbz2.1.0.dylib (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 1.0.8
compatibility version 1.0.0
Load command 17
cmd LC_LOAD_DYLIB
cmdsize 48
name /usr/lib/libz.1.dylib (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 1.2.11
compatibility version 1.0.0
Load command 18
cmd LC_LOAD_DYLIB
cmdsize 104
name /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 1.0.0
compatibility version 1.0.0
Load command 19
cmd LC_LOAD_DYLIB
cmdsize 96
name /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 1.0.0
compatibility version 1.0.0
Load command 20
cmd LC_LOAD_DYLIB
cmdsize 96
name /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 1.5.0
compatibility version 1.2.0
Load command 21
cmd LC_LOAD_DYLIB
cmdsize 104
name /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (offset 24)
time stamp 2 Wed Dec 31 16:00:02 1969
current version 1141.1.0
compatibility version 1.0.0
Load command 22
cmd LC_FUNCTION_STARTS
cmdsize 16
dataoff 31911040
datasize 67280
Load command 23
cmd LC_DATA_IN_CODE
cmdsize 16
dataoff 31978320
datasize 0
Load command 24
cmd LC_CODE_SIGNATURE
cmdsize 16
dataoff 40816096
datasize 337264
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment