Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ otool -l ./Contents/Resources/bin/ozemulator
./Contents/Resources/bin/ozemulator:
Load command 0
cmd LC_SEGMENT_64
cmdsize 72
segname __PAGEZERO
vmaddr 0x0000000000000000
vmsize 0x0000000100000000
fileoff 0
filesize 0
maxprot 0x00000000
initprot 0x00000000
nsects 0
flags 0x0
Load command 1
cmd LC_SEGMENT_64
cmdsize 712
segname __TEXT
vmaddr 0x0000000100000000
vmsize 0x0000000000166000
fileoff 0
filesize 1466368
maxprot 0x00000007
initprot 0x00000005
nsects 8
flags 0x0
Section
sectname __text
segname __TEXT
addr 0x00000001000012f0
size 0x000000000010dc90
offset 4848
align 2^4 (16)
reloff 0
nreloc 0
flags 0x80000400
reserved1 0
reserved2 0
Section
sectname __stubs
segname __TEXT
addr 0x000000010010ef80
size 0x00000000000026be
offset 1109888
align 2^1 (2)
reloff 0
nreloc 0
flags 0x80000408
reserved1 0 (index into indirect symbol table)
reserved2 6 (size of stubs)
Section
sectname __stub_helper
segname __TEXT
addr 0x0000000100111640
size 0x0000000000000916
offset 1119808
align 2^2 (4)
reloff 0
nreloc 0
flags 0x80000400
reserved1 0
reserved2 0
Section
sectname __gcc_except_tab
segname __TEXT
addr 0x0000000100111f58
size 0x00000000000191e8
offset 1122136
align 2^2 (4)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Section
sectname __const
segname __TEXT
addr 0x000000010012b140
size 0x0000000000008ae0
offset 1225024
align 2^4 (16)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Section
sectname __cstring
segname __TEXT
addr 0x0000000100133c20
size 0x000000000000360a
offset 1260576
align 2^0 (1)
reloff 0
nreloc 0
flags 0x00000002
reserved1 0
reserved2 0
Section
sectname __unwind_info
segname __TEXT
addr 0x000000010013722a
size 0x00000000000047e4
offset 1274410
align 2^0 (1)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Section
sectname __eh_frame
segname __TEXT
addr 0x000000010013ba10
size 0x000000000002a5e8
offset 1292816
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Load command 2
cmd LC_SEGMENT_64
cmdsize 712
segname __DATA
vmaddr 0x0000000100166000
vmsize 0x0000000000011000
fileoff 1466368
filesize 69632
maxprot 0x00000007
initprot 0x00000003
nsects 8
flags 0x0
Section
sectname __got
segname __DATA
addr 0x0000000100166000
size 0x0000000000002480
offset 1466368
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000006
reserved1 1653 (index into indirect symbol table)
reserved2 0
Section
sectname __nl_symbol_ptr
segname __DATA
addr 0x0000000100168480
size 0x0000000000000010
offset 1475712
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000006
reserved1 2821 (index into indirect symbol table)
reserved2 0
Section
sectname __la_symbol_ptr
segname __DATA
addr 0x0000000100168490
size 0x00000000000033a8
offset 1475728
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000007
reserved1 2823 (index into indirect symbol table)
reserved2 0
Section
sectname __mod_init_func
segname __DATA
addr 0x000000010016b838
size 0x00000000000000a0
offset 1488952
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000009
reserved1 0
reserved2 0
Section
sectname __data
segname __DATA
addr 0x000000010016b8e0
size 0x000000000000a388
offset 1489120
align 2^4 (16)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Section
sectname __const
segname __DATA
addr 0x0000000100175c70
size 0x0000000000000708
offset 1530992
align 2^4 (16)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Section
sectname __common
segname __DATA
addr 0x0000000100176378
size 0x0000000000000028
offset 0
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000001
reserved1 0
reserved2 0
Section
sectname __bss
segname __DATA
addr 0x00000001001763a0
size 0x0000000000000238
offset 0
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000001
reserved1 0
reserved2 0
Load command 3
cmd LC_SEGMENT_64
cmdsize 72
segname __LINKEDIT
vmaddr 0x0000000100177000
vmsize 0x0000000000182000
fileoff 1536000
filesize 1578568
maxprot 0x00000007
initprot 0x00000001
nsects 0
flags 0x0
Load command 4
cmd LC_DYLD_INFO_ONLY
cmdsize 48
rebase_off 1536000
rebase_size 2000
bind_off 1538000
bind_size 5304
weak_bind_off 1543304
weak_bind_size 549096
lazy_bind_off 2092400
lazy_bind_size 8888
export_off 2101288
export_size 305864
Load command 5
cmd LC_SYMTAB
cmdsize 24
symoff 2413144
nsyms 6473
stroff 2534616
strsize 579952
Load command 6
cmd LC_DYSYMTAB
cmdsize 80
ilocalsym 0
nlocalsym 1094
iextdefsym 1094
nextdefsym 5066
iundefsym 6160
nundefsym 313
tocoff 0
ntoc 0
modtaboff 0
nmodtab 0
extrefsymoff 0
nextrefsyms 0
indirectsymoff 2516712
nindirectsyms 4476
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 2597B549-20CD-3E7C-9087-55B340B05195
Load command 9
cmd LC_VERSION_MIN_MACOSX
cmdsize 16
version 10.8
Load command 10
cmd ?(0x0000002a) Unknown load command
cmdsize 16
00000000 00000000
Load command 11
cmd ?(0x80000028) Unknown load command
cmdsize 24
000012f0 00000000 00000000 00000000
Load command 12
cmd LC_LOAD_DYLIB
cmdsize 56
name /usr/lib/libSystem.B.dylib (offset 24)
time stamp 2 Thu Jan 1 01:00:02 1970
current version 169.3.0
compatibility version 1.0.0
Load command 13
cmd LC_LOAD_DYLIB
cmdsize 48
name /usr/lib/libc++.1.dylib (offset 24)
time stamp 2 Thu Jan 1 01:00:02 1970
current version 65.1.0
compatibility version 1.0.0
Load command 14
cmd LC_FUNCTION_STARTS
cmdsize 16
dataoff 2407152
datasize 5840
Load command 15
cmd ?(0x00000029) Unknown load command
cmdsize 16
0024d1c0 00000000
Load command 16
cmd ?(0x0000002b) Unknown load command
cmdsize 16
0024d1c0 00000098
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment