Code: Select all
otool -l /opt/homebrew/opt/python3.9/bin/python3
/opt/homebrew/opt/python3.9/bin/python3:
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 472
segname __TEXT
vmaddr 0x0000000100000000
vmsize 0x0000000000004000
fileoff 0
filesize 16384
maxprot 0x00000005
initprot 0x00000005
nsects 5
flags 0x0
Section
sectname __text
segname __TEXT
addr 0x0000000100003a1c
size 0x0000000000000308
offset 14876
align 2^2 (4)
reloff 0
nreloc 0
flags 0x80000400
reserved1 0
reserved2 0
Section
sectname __stubs
segname __TEXT
addr 0x0000000100003d24
size 0x00000000000000cc
offset 15652
align 2^2 (4)
reloff 0
nreloc 0
flags 0x80000408
reserved1 0 (index into indirect symbol table)
reserved2 12 (size of stubs)
Section
sectname __stub_helper
segname __TEXT
addr 0x0000000100003df0
size 0x00000000000000e4
offset 15856
align 2^2 (4)
reloff 0
nreloc 0
flags 0x80000400
reserved1 0
reserved2 0
Section
sectname __cstring
segname __TEXT
addr 0x0000000100003ed4
size 0x00000000000000d3
offset 16084
align 2^0 (1)
reloff 0
nreloc 0
flags 0x00000002
reserved1 0
reserved2 0
Section
sectname __unwind_info
segname __TEXT
addr 0x0000000100003fa8
size 0x0000000000000058
offset 16296
align 2^2 (4)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Load command 2
cmd LC_SEGMENT_64
cmdsize 152
segname __DATA_CONST
vmaddr 0x0000000100004000
vmsize 0x0000000000004000
fileoff 16384
filesize 16384
maxprot 0x00000003
initprot 0x00000003
nsects 1
flags 0x10
Section
sectname __got
segname __DATA_CONST
addr 0x0000000100004000
size 0x0000000000000020
offset 16384
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000006
reserved1 17 (index into indirect symbol table)
reserved2 0
Load command 3
cmd LC_SEGMENT_64
cmdsize 312
segname __DATA
vmaddr 0x0000000100008000
vmsize 0x0000000000004000
fileoff 32768
filesize 16384
maxprot 0x00000003
initprot 0x00000003
nsects 3
flags 0x0
Section
sectname __la_symbol_ptr
segname __DATA
addr 0x0000000100008000
size 0x0000000000000088
offset 32768
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000007
reserved1 21 (index into indirect symbol table)
reserved2 0
Section
sectname __data
segname __DATA
addr 0x0000000100008088
size 0x0000000000000008
offset 32904
align 2^3 (8)
reloff 0
nreloc 0
flags 0x00000000
reserved1 0
reserved2 0
Section
sectname __bss
segname __DATA
addr 0x0000000100008090
size 0x0000000000001000
offset 0
align 2^0 (1)
reloff 0
nreloc 0
flags 0x00000001
reserved1 0
reserved2 0
Load command 4
cmd LC_SEGMENT_64
cmdsize 72
segname __LINKEDIT
vmaddr 0x000000010000c000
vmsize 0x0000000000004000
fileoff 49152
filesize 1864
maxprot 0x00000001
initprot 0x00000001
nsects 0
flags 0x0
Load command 5
cmd LC_DYLD_INFO_ONLY
cmdsize 48
rebase_off 49152
rebase_size 8
bind_off 49160
bind_size 72
weak_bind_off 0
weak_bind_size 0
lazy_bind_off 49232
lazy_bind_size 336
export_off 49568
export_size 48
Load command 6
cmd LC_SYMTAB
cmdsize 24
symoff 49632
nsyms 23
stroff 50152
strsize 320
Load command 7
cmd LC_DYSYMTAB
cmdsize 80
ilocalsym 0
nlocalsym 1
iextdefsym 1
nextdefsym 1
iundefsym 2
nundefsym 21
tocoff 0
ntoc 0
modtaboff 0
nmodtab 0
extrefsymoff 0
nextrefsyms 0
indirectsymoff 50000
nindirectsyms 38
extreloff 0
nextrel 0
locreloff 0
nlocrel 0
Load command 8
cmd LC_LOAD_DYLINKER
cmdsize 32
name /usr/lib/dyld (offset 12)
Load command 9
cmd LC_UUID
cmdsize 24
uuid 68CAD6E1-30C1-31F7-974D-6D53E1EF22F4
Load command 10
cmd LC_BUILD_VERSION
cmdsize 32
platform 1
minos 11.0
sdk 11.1
ntools 1
tool 3
version 609.8
Load command 11
cmd LC_SOURCE_VERSION
cmdsize 16
version 0.0
Load command 12
cmd LC_MAIN
cmdsize 24
entryoff 14876
stacksize 0
Load command 13
cmd LC_LOAD_DYLIB
cmdsize 112
name /opt/homebrew/Cellar/python3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/Python (offset 24)
time stamp 2 Thu Jan 1 01:00:02 1970
current version 3.9.0
compatibility version 3.9.0
Load command 14
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 1292.60.1
compatibility version 1.0.0
Load command 15
cmd LC_FUNCTION_STARTS
cmdsize 16
dataoff 49616
datasize 16
Load command 16
cmd LC_DATA_IN_CODE
cmdsize 16
dataoff 49632
datasize 0
Load command 17
cmd LC_CODE_SIGNATURE
cmdsize 16
dataoff 50480
datasize 536
points to
/opt/homebrew/Cellar/python3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/Python