Module goblin::mach::symbols [] [src]

"Nlist" style symbols in this binary - beware, like most symbol tables in most binary formats, they are strippable, and should not be relied upon, see the imports and exports modules for something more permanent.

Symbols are essentially a type, offset, and the symbol name

Structs

Nlist
Nlist32
Nlist64
SymbolIterator
Symbols

A zero-copy "nlist" style symbol table ("stab"), including the string table

SymbolsCtx

Constants

MAX_SECT

1 thru 255 inclusive

NLIST_TYPE_GLOBAL
NLIST_TYPE_LOCAL
NLIST_TYPE_MASK
NO_SECT

symbol is not in any section

N_ABS

absolute, n_sect == NO_SECT

N_EXT

external symbol bit, set for external symbols

N_INDR

indirect

N_PBUD

prebound undefined (defined in a dylib)

N_PEXT

private external symbol bit

N_SECT

defined in section number n_sect

N_STAB

if any of these bits set, a symbolic debugging entry

N_TYPE

mask for the type bits

N_UNDF

undefined, n_sect == NO_SECT

SIZEOF_NLIST_32
SIZEOF_NLIST_64

Functions

n_type_to_str