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

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.

segment of this file to be mapped

link-edit stab symbol table info

link-edit gdb symbol table info (obsolete)

thread

unix thread (includes a stack)

load a specified fixed VM shared library

fixed VM shared library identification

object identification info (obsolete)

fixed VM file inclusion (internal use)

prepage command (internal use)

dynamic link-edit symbol table info

load a dynamically linked shared library

dynamically linked shared lib ident

load a dynamic linker

dynamic linker identification

modules prebound for a dynamically linked shared library

image routines

sub framework

sub umbrella

sub client

sub library

two-level namespace lookup hints

prebind checksum

load a dynamically linked shared library that is allowed to be missing (all symbols are weak imported).

64-bit segment of this file to be mapped

64-bit image routines

the uuid

runpath additions

local of code signature

local of info to split segments

load and re-export dylib

delay load of dylib until first use

encrypted segment information

compressed dyld information

compressed dyld information only

load upward dylib

build for MacOSX min OS version

build for iPhoneOS min OS version

compressed table of function start addresses

string for dyld to treat like environment variable

replacement for LC_UNIXTHREAD

table of non-instructions in __text

source version used to build binary

Code signing DRs copied from linked dylibs

64-bit encrypted segment information

linker options in MH_OBJECT files

optimization hints in MH_OBJECT files

build for Watch min OS version

Trait Implementations

impl Eq for LcType
[src]

impl PartialEq for LcType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.