Handbook
Glossary
symbols ( mach-header symtab-command -- symbols string-table )
Vocabulary
macho
Inputs
mach-header
an
object
symtab-command
an
object
Outputs
symbols
an
object
string-table
an
object
Definition
USING:
accessors
alien
alien.data
kernel
;
IN:
macho
:
symbols
( mach-header symtab-command -- symbols string-table )
[
symoff>>
swap
>c-ptr
<displaced-alien>
]
[
nsyms>>
swap
64-bit?
[
nlist_64
<c-direct-array>
]
[
nlist
<c-direct-array>
]
if
]
[
stroff>>
swap
>c-ptr
<displaced-alien>
]
2tri
;