Module goblin::elf::sym [] [src]

Modules

sym32
sym64

Structs

Sym

A unified Sym definition - convertable to and from 32-bit and 64-bit variants

SymIterator

An iterator over symbols in an ELF symbol table

Symtab

An ELF symbol table, allowing lazy iteration over symbols

Constants

STB_GLOBAL

Global symbol.

STB_GNU_UNIQUE

Unique symbol..

STB_HIOS

End of OS-specific.

STB_HIPROC

End of processor-specific.

STB_LOCAL

=== Sym bindings === Local symbol.

STB_LOOS

Start of OS-specific.

STB_LOPROC

Start of processor-specific.

STB_NUM

Number of defined types..

STB_WEAK

Weak symbol.

STT_COMMON

Symbol is a common data object.

STT_FILE

Symbol's name is file name.

STT_FUNC

Symbol is a code object.

STT_GNU_IFUNC

Symbol is indirect code object.

STT_HIOS

End of OS-specific.

STT_HIPROC

End of processor-specific.

STT_LOOS

Start of OS-specific.

STT_LOPROC

Start of processor-specific.

STT_NOTYPE

=== Sym types === Symbol type is unspecified.

STT_NUM

Number of defined types.

STT_OBJECT

Symbol is a data object.

STT_SECTION

Symbol associated with a section.

STT_TLS

Symbol is thread-local data object.

Functions

bind_to_str

Get the string for some bind.

get_type

Convenience function to get the &'static str type from the symbols st_info.

is_import

Is this information defining an import?

st_bind

Get the ST bind.

st_type

Get the ST type.

type_to_str

Get the string for some type.