Enum macho::LcType
[−]
[src]
#[repr(u32)]pub enum LcType { LC_REQ_DYLD, LC_SEGMENT, LC_SYMTAB, LC_SYMSEG, LC_THREAD, LC_UNIXTHREAD, LC_LOADFVMLIB, LC_IDFVMLIB, LC_IDENT, LC_FVMFILE, LC_PREPAGE, LC_DYSYMTAB, LC_LOAD_DYLIB, LC_ID_DYLIB, LC_LOAD_DYLINKER, LC_ID_DYLINKER, LC_PREBOUND_DYLIB, LC_ROUTINES, LC_SUB_FRAMEWORK, LC_SUB_UMBRELLA, LC_SUB_CLIENT, LC_SUB_LIBRARY, LC_TWOLEVEL_HINTS, LC_PREBIND_CKSUM, LC_LOAD_WEAK_DYLIB, LC_SEGMENT_64, LC_ROUTINES_64, LC_UUID, LC_RPATH, LC_CODE_SIGNATURE, LC_SEGMENT_SPLIT_INFO, LC_REEXPORT_DYLIB, LC_LAZY_LOAD_DYLIB, LC_ENCRYPTION_INFO, LC_DYLD_INFO, LC_DYLD_INFO_ONLY, LC_LOAD_UPWARD_DYLIB, LC_VERSION_MIN_MACOSX, LC_VERSION_MIN_IPHONEOS, LC_FUNCTION_STARTS, LC_DYLD_ENVIRONMENT, LC_MAIN, LC_DATA_IN_CODE, LC_SOURCE_VERSION, LC_DYLIB_CODE_SIGN_DRS, LC_ENCRYPTION_INFO_64, LC_LINKER_OPTION, LC_LINKER_OPTIMIZATION_HINT, LC_VERSION_MIN_WATCHOS, }
Variants
LC_REQ_DYLD
After MacOS X 10.1 when a new load command is added that is required to be understood by the dynamic linker for the image to execute properly the LC_REQ_DYLD bit will be or'ed into the load command constant. If the dynamic linker sees such a load command it it does not understand will issue a "unknown load command required for execution" error and refuse to use the image. Other load commands without this bit that are not understood will simply be ignored.
LC_SEGMENT
segment of this file to be mapped
LC_SYMTAB
link-edit stab symbol table info
LC_SYMSEG
link-edit gdb symbol table info (obsolete)
LC_THREAD
thread
LC_UNIXTHREAD
unix thread (includes a stack)
LC_LOADFVMLIB
load a specified fixed VM shared library
LC_IDFVMLIB
fixed VM shared library identification
LC_IDENT
object identification info (obsolete)
LC_FVMFILE
fixed VM file inclusion (internal use)
LC_PREPAGE
prepage command (internal use)
LC_DYSYMTAB
dynamic link-edit symbol table info
LC_LOAD_DYLIB
load a dynamically linked shared library
LC_ID_DYLIB
dynamically linked shared lib ident
LC_LOAD_DYLINKER
load a dynamic linker
LC_ID_DYLINKER
dynamic linker identification
LC_PREBOUND_DYLIB
modules prebound for a dynamically linked shared library
LC_ROUTINES
image routines
LC_SUB_FRAMEWORK
sub framework
LC_SUB_UMBRELLA
sub umbrella
LC_SUB_CLIENT
sub client
LC_SUB_LIBRARY
sub library
LC_TWOLEVEL_HINTS
two-level namespace lookup hints
LC_PREBIND_CKSUM
prebind checksum
LC_LOAD_WEAK_DYLIB
load a dynamically linked shared library that is allowed to be missing (all symbols are weak imported).
LC_SEGMENT_64
64-bit segment of this file to be mapped
LC_ROUTINES_64
64-bit image routines
LC_UUID
the uuid
LC_RPATH
runpath additions
LC_CODE_SIGNATURE
local of code signature
LC_SEGMENT_SPLIT_INFO
local of info to split segments
LC_REEXPORT_DYLIB
load and re-export dylib
LC_LAZY_LOAD_DYLIB
delay load of dylib until first use
LC_ENCRYPTION_INFO
encrypted segment information
LC_DYLD_INFO
compressed dyld information
LC_DYLD_INFO_ONLY
compressed dyld information only
LC_LOAD_UPWARD_DYLIB
load upward dylib
LC_VERSION_MIN_MACOSX
build for MacOSX min OS version
LC_VERSION_MIN_IPHONEOS
build for iPhoneOS min OS version
LC_FUNCTION_STARTS
compressed table of function start addresses
LC_DYLD_ENVIRONMENT
string for dyld to treat like environment variable
LC_MAIN
replacement for LC_UNIXTHREAD
LC_DATA_IN_CODE
table of non-instructions in __text
LC_SOURCE_VERSION
source version used to build binary
LC_DYLIB_CODE_SIGN_DRS
Code signing DRs copied from linked dylibs
LC_ENCRYPTION_INFO_64
64-bit encrypted segment information
LC_LINKER_OPTION
linker options in MH_OBJECT files
LC_LINKER_OPTIMIZATION_HINT
optimization hints in MH_OBJECT files
LC_VERSION_MIN_WATCHOS
build for Watch min OS version