Module commands
Modules§
- atom_
info - build_
version - code_
signature - code_
signature_ dir - data_
in_ code - dyld_
chained_ fixups - dyld_
environment - dyld_
export_ trie - dyldinfo
- dylib
- dylinker
- dynamic_
symbol_ command - encryption_
info - function_
variant_ fixups - function_
variants - functionstarts
- linker_
opt_ hint - main_
cmd - note
- routine
- rpath
- segment
- segment_
split_ info - source_
version - sub_
client - sub_
framework - symbol_
command - thread_
command - two_
level_ hints - unknown
- uuid
- version_
min
Structs§
- Atom
Info - Structure which represents the
LC_ATOM_INFOcommand - Build
Version - Structure that represents the
LC_BUILD_VERSIONcommand - Code
Signature - Structure that represents the
LC_CODE_SIGNATUREcommand - Code
Signature Dir - Structure that represents the
LC_DYLIB_CODE_SIGN_DRScommand - Data
InCode - Structure that represents the
LC_DATA_IN_CODEcommand - Dyld
Chained Fixups - Structure that represents the
LC_DYLD_CHAINED_FIXUPScommand - Dyld
Environment - Structure that represents a
LC_DYLD_ENVIRONMENTcommand which is used by the Mach-O linker/loader to initialize an environment variable - Dyld
Exports Trie - Structure that represents the
LC_DYLD_EXPORTS_TRIEcommand - Dyld
Info - Structure that represents the
LC_DYLD_INFOandLC_DYLD_INFO_ONLYcommands - Dylib
- Structure which represents a library dependency
- Dylinker
- Structure that represents the Mach-O linker, also named loader.
Most of the time,
Dylinker::nameshould return/usr/lib/dyld - Dynamic
Symbol Command - Structure that represents the
LC_DYSYMTABcommand. - Encryption
Info - Structure that represents the LC_ENCRYPTION_INFO / LC_ENCRYPTION_INFO_64 commands
- Function
Starts - Structure which represents the
LC_FUNCTION_STARTScommand - Function
Variant Fixups - Structure which represents the
LC_FUNCTION_VARIANT_FIXUPScommand - Function
Variants - Class representing the
LC_FUNCTION_VARIANTSload command. - Generic
- Linker
OptHint - Structure which represents the
LC_LINKER_OPTIMIZATION_HINTcommand - Main
- Structure that represent the
LC_MAINcommand. This kind of command can be used to determine the entrypoint of an executable. - Note
- Class that represent the
LC_NOTEcommand. - RPath
- Structure that represents the
LC_RPATHcommand. - Routine
- Class that represents the
LC_ROUTINE/LC_ROUTINE64commands. Accodring to the Mach-Oloader.hdocumentation: - Segment
- Class which represents a
LC_SEGMENT/LC_SEGMENT_64command - Segment
Split Info - Structure that represents the
LC_SEGMENT_SPLIT_INFOcommand - Source
Version - Class that represents the MachO
LC_SOURCE_VERSIONThis command is used to provide the version of the sources used to build the binary. - SubClient
- Class that represents the SubClient command.
Accodring to the Mach-O
loader.hdocumentation: - SubFramework
- Class that represents the SubFramework command.
Accodring to the Mach-O
loader.hdocumentation: - Symbol
Command - Structure that represents the
LC_SYMTABcommand - Thread
Command - Structure that represents the
LC_THREAD/LC_UNIXTHREADcommands and that can be used to get the binary entrypoint when theLC_MAINis not present - TwoLevel
Hints - Structure which represents the
LC_TWOLEVEL_HINTScommand - UUID
- Structure that represents the
LC_UUIDcommand - Unknown
- Generic structure when the command is not recognized by LIEF (e.g private
LC_xxxcommand) - Version
Min - Structure that wraps the
LC_VERSION_MIN_MACOSX, LC_VERSION_MIN_IPHONEOS, ...commands.
Enums§
- Commands
- Enum that wraps all the different Mach-O load commands (
LC_xxx). Note that all these commands implements the trait:Command - Load
Command Types