Class LoadCommandTypes
java.lang.Object
ghidra.app.util.bin.format.macho.commands.LoadCommandTypes
LoadCommand
types-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Build for platform min OS versionstatic final int
local of code signaturestatic final int
Table of non-instructions in __textstatic final int
Used with linkedit_data_commandstatic final int
String for DYLD to treat environment variablestatic final int
Used with linkedit_data_command, payload is triestatic final int
compressed dyld informationstatic final int
compressed dyld information onlystatic final int
Code signing DRs copied from linked dylibsstatic final int
dynamic link-edit symbol table infostatic final int
encrypted segment informationstatic final int
64-bit encrypted segment informationstatic final int
Used with fileset_entry_commandstatic final int
Compressed table of function start addressesstatic final int
fixed VM file inclusion (internal use)static final int
dynamically linked shared lib identstatic final int
dynamic linker identificationstatic final int
object identification info (obsolete)static final int
fixed VM shared library identificationstatic final int
Delay load of dylib until first usestatic final int
Linker options in MH_OBJECT filesstatic final int
load a dynamically linked shared librarystatic final int
load a dynamic linkerstatic final int
Load upward dylibstatic final int
load a dynamically linked shared library that is allowed to be missing (all symbols are weak imported)static final int
load a specified fixed VM shared librarystatic final int
Replacement for LC_UNIXTHREADstatic final int
Arbitrary data included within a Mach-O filestatic final int
Optimization hints in MH_OBJECT filesstatic final int
prebind checksumstatic final int
modules prebound for a dynamically linked shared librarystatic final int
prepage command (internal use)static final int
load and re-export dylibstatic final int
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.static final int
image routinesstatic final int
64-bit image routinesstatic final int
Run path additionsstatic final int
segment of this file to be mappedstatic final int
64-bit segment of this file to be mappedstatic final int
local of info to split segmentsstatic final int
Source version used to build binarystatic final int
sub clientstatic final int
sub frameworkstatic final int
sub librarystatic final int
sub umbrellastatic final int
link-edit gdb symbol table info (obsolete)static final int
link-edit stab symbol table infostatic final int
threadstatic final int
two-level namespace lookup hintsstatic final int
unix thread (includes a stack)static final int
specifies the 128 bit UUID for an imagestatic final int
Build for iPhoneOS min OS versionstatic final int
Build for MacOSX min OS versionstatic final int
Build for AppleTV min OS versionstatic final int
Build for Watch min OS version -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final String
getLoadCommandName
(int type) Gets the name of the given load command type
-
Field Details
-
LC_REQ_DYLD
public static final int LC_REQ_DYLDAfter 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.- See Also:
-
LC_SEGMENT
public static final int LC_SEGMENTsegment of this file to be mapped- See Also:
-
LC_SYMTAB
public static final int LC_SYMTABlink-edit stab symbol table info- See Also:
-
LC_SYMSEG
public static final int LC_SYMSEGlink-edit gdb symbol table info (obsolete)- See Also:
-
LC_THREAD
public static final int LC_THREADthread- See Also:
-
LC_UNIXTHREAD
public static final int LC_UNIXTHREADunix thread (includes a stack)- See Also:
-
LC_LOADFVMLIB
public static final int LC_LOADFVMLIBload a specified fixed VM shared library- See Also:
-
LC_IDFVMLIB
public static final int LC_IDFVMLIBfixed VM shared library identification- See Also:
-
LC_IDENT
public static final int LC_IDENTobject identification info (obsolete)- See Also:
-
LC_FVMFILE
public static final int LC_FVMFILEfixed VM file inclusion (internal use)- See Also:
-
LC_PREPAGE
public static final int LC_PREPAGEprepage command (internal use)- See Also:
-
LC_DYSYMTAB
public static final int LC_DYSYMTABdynamic link-edit symbol table info- See Also:
-
LC_LOAD_DYLIB
public static final int LC_LOAD_DYLIBload a dynamically linked shared library- See Also:
-
LC_ID_DYLIB
public static final int LC_ID_DYLIBdynamically linked shared lib ident- See Also:
-
LC_LOAD_DYLINKER
public static final int LC_LOAD_DYLINKERload a dynamic linker- See Also:
-
LC_ID_DYLINKER
public static final int LC_ID_DYLINKERdynamic linker identification- See Also:
-
LC_PREBOUND_DYLIB
public static final int LC_PREBOUND_DYLIBmodules prebound for a dynamically linked shared library- See Also:
-
LC_ROUTINES
public static final int LC_ROUTINESimage routines- See Also:
-
LC_SUB_FRAMEWORK
public static final int LC_SUB_FRAMEWORKsub framework- See Also:
-
LC_SUB_UMBRELLA
public static final int LC_SUB_UMBRELLAsub umbrella- See Also:
-
LC_SUB_CLIENT
public static final int LC_SUB_CLIENTsub client- See Also:
-
LC_SUB_LIBRARY
public static final int LC_SUB_LIBRARYsub library- See Also:
-
LC_TWOLEVEL_HINTS
public static final int LC_TWOLEVEL_HINTStwo-level namespace lookup hints- See Also:
-
LC_PREBIND_CKSUM
public static final int LC_PREBIND_CKSUMprebind checksum- See Also:
-
LC_LOAD_WEAK_DYLIB
public static final int LC_LOAD_WEAK_DYLIBload a dynamically linked shared library that is allowed to be missing (all symbols are weak imported)- See Also:
-
LC_SEGMENT_64
public static final int LC_SEGMENT_6464-bit segment of this file to be mapped- See Also:
-
LC_ROUTINES_64
public static final int LC_ROUTINES_6464-bit image routines- See Also:
-
LC_UUID
public static final int LC_UUIDspecifies the 128 bit UUID for an image- See Also:
-
LC_RPATH
public static final int LC_RPATHRun path additions- See Also:
-
LC_CODE_SIGNATURE
public static final int LC_CODE_SIGNATURElocal of code signature- See Also:
-
LC_SEGMENT_SPLIT_INFO
public static final int LC_SEGMENT_SPLIT_INFOlocal of info to split segments- See Also:
-
LC_REEXPORT_DYLIB
public static final int LC_REEXPORT_DYLIBload and re-export dylib- See Also:
-
LC_LAZY_LOAD_DYLIB
public static final int LC_LAZY_LOAD_DYLIBDelay load of dylib until first use- See Also:
-
LC_ENCRYPTION_INFO
public static final int LC_ENCRYPTION_INFOencrypted segment information- See Also:
-
LC_DYLD_INFO
public static final int LC_DYLD_INFOcompressed dyld information- See Also:
-
LC_DYLD_INFO_ONLY
public static final int LC_DYLD_INFO_ONLYcompressed dyld information only- See Also:
-
LC_LOAD_UPWARD_DYLIB
public static final int LC_LOAD_UPWARD_DYLIBLoad upward dylib- See Also:
-
LC_VERSION_MIN_MACOSX
public static final int LC_VERSION_MIN_MACOSXBuild for MacOSX min OS version- See Also:
-
LC_VERSION_MIN_IPHONEOS
public static final int LC_VERSION_MIN_IPHONEOSBuild for iPhoneOS min OS version- See Also:
-
LC_FUNCTION_STARTS
public static final int LC_FUNCTION_STARTSCompressed table of function start addresses- See Also:
-
LC_DYLD_ENVIRONMENT
public static final int LC_DYLD_ENVIRONMENTString for DYLD to treat environment variable- See Also:
-
LC_MAIN
public static final int LC_MAINReplacement for LC_UNIXTHREAD- See Also:
-
LC_DATA_IN_CODE
public static final int LC_DATA_IN_CODETable of non-instructions in __text- See Also:
-
LC_SOURCE_VERSION
public static final int LC_SOURCE_VERSIONSource version used to build binary- See Also:
-
LC_DYLIB_CODE_SIGN_DRS
public static final int LC_DYLIB_CODE_SIGN_DRSCode signing DRs copied from linked dylibs- See Also:
-
LC_ENCRYPTION_INFO_64
public static final int LC_ENCRYPTION_INFO_6464-bit encrypted segment information- See Also:
-
LC_LINKER_OPTIONS
public static final int LC_LINKER_OPTIONSLinker options in MH_OBJECT files- See Also:
-
LC_OPTIMIZATION_HINT
public static final int LC_OPTIMIZATION_HINTOptimization hints in MH_OBJECT files- See Also:
-
LC_VERSION_MIN_TVOS
public static final int LC_VERSION_MIN_TVOSBuild for AppleTV min OS version- See Also:
-
LC_VERSION_MIN_WATCHOS
public static final int LC_VERSION_MIN_WATCHOSBuild for Watch min OS version- See Also:
-
LC_NOTE
public static final int LC_NOTEArbitrary data included within a Mach-O file- See Also:
-
LC_BUILD_VERSION
public static final int LC_BUILD_VERSIONBuild for platform min OS version- See Also:
-
LC_DYLD_EXPORTS_TRIE
public static final int LC_DYLD_EXPORTS_TRIEUsed with linkedit_data_command, payload is trie- See Also:
-
LC_DYLD_CHAINED_FIXUPS
public static final int LC_DYLD_CHAINED_FIXUPSUsed with linkedit_data_command- See Also:
-
LC_FILESET_ENTRY
public static final int LC_FILESET_ENTRYUsed with fileset_entry_command- See Also:
-
-
Constructor Details
-
LoadCommandTypes
public LoadCommandTypes()
-
-
Method Details
-
getLoadCommandName
Gets the name of the given load command type- Parameters:
type
- The load command type- Returns:
- The name of the given load command type
-