Fields
NONE = 0,
No load command - invalid
SEGMENT = 1,
segment of this file to be mapped
SYMTAB = 2,
link-edit stab symbol table info
SYMSEG = 3,
link-edit gdb symbol table info (obsolete)
THREAD = 4,
thread
UNIXTHREAD = 5,
unix thread (includes a stack)
LOADFVMLIB = 6,
load a specified fixed VM shared library
IDFVMLIB = 7,
fixed VM shared library identification
IDENT = 8,
object identification info (obsolete)
FVMFILE = 9,
fixed VM file inclusion (internal use)
PREPAGE = 10,
prepage command (internal use)
DYSYMTAB = 11,
dynamic link-edit symbol table info
LOAD_DYLIB = 12,
load a dynamically linked shared library
ID_DYLIB = 13,
dynamically linked shared lib ident
LOAD_DYLINKER = 14,
load a dynamic linker
ID_DYLINKER = 15,
dynamic linker identification
PREBOUND_DYLIB = 16,
modules prebound for a dynamically
ROUTINES = 17,
image routines
SUB_FRAMEWORK = 18,
sub framework
SUB_UMBRELLA = 19,
sub umbrella
SUB_CLIENT = 20,
sub client
SUB_LIBRARY = 21,
sub library
TWOLEVEL_HINTS = 22,
two-level namespace lookup hints
PREBIND_CKSUM = 23,
prebind checksum
LOAD_WEAK_DYLIB = 24 | LC_REQ_DYLD,
load a dynamically linked shared library that is allowed to be missing (all symbols are weak imported).
SEGMENT_64 = 25,
64-bit segment of this file to be mapped
ROUTINES_64 = 26,
64-bit image routines
UUID = 27,
the uuid
RPATH = 28 | LC_REQ_DYLD,
runpath additions
CODE_SIGNATURE = 29,
local of code signature
SEGMENT_SPLIT_INFO = 30,
local of info to split segments
REEXPORT_DYLIB = 31 | LC_REQ_DYLD,
load and re-export dylib
LAZY_LOAD_DYLIB = 32,
delay load of dylib until first use
ENCRYPTION_INFO = 33,
encrypted segment information
DYLD_INFO = 34,
compressed dyld information
DYLD_INFO_ONLY = 34 | LC_REQ_DYLD,
compressed dyld information only
LOAD_UPWARD_DYLIB = 35 | LC_REQ_DYLD,
load upward dylib
VERSION_MIN_MACOSX = 36,
build for MacOSX min OS version
VERSION_MIN_IPHONEOS = 37,
build for iPhoneOS min OS version
FUNCTION_STARTS = 38,
compressed table of function start addresses
DYLD_ENVIRONMENT = 39,
string for dyld to treat like environment variable
MAIN = 40 | LC_REQ_DYLD,
replacement for LC_UNIXTHREAD
DATA_IN_CODE = 41,
table of non-instructions in __text
SOURCE_VERSION = 42,
source version used to build binary
DYLIB_CODE_SIGN_DRS = 43,
Code signing DRs copied from linked dylibs
ENCRYPTION_INFO_64 = 44,
64-bit encrypted segment information
LINKER_OPTION = 45,
linker options in MH_OBJECT files
LINKER_OPTIMIZATION_HINT = 46,
optimization hints in MH_OBJECT files
VERSION_MIN_TVOS = 47,
build for AppleTV min OS version
VERSION_MIN_WATCHOS = 48,
build for Watch min OS version
NOTE = 49,
arbitrary data included within a Mach-O file
BUILD_VERSION = 50,
build for platform min OS version