Package ghidra.app.util.bin.format.macho
Class SectionTypes
java.lang.Object
ghidra.app.util.bin.format.macho.SectionTypes
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
section with only 16 byte literalsstatic final int
Type: section with only 4 byte literalsstatic final int
Type: section with only 8 byte literalsstatic final int
Type: section contains symbols that are to be coalescedstatic final int
Type: section with only literal C stringsstatic final int
section contains DTrace Object Formatstatic final int
Type: zero fill on demand section (that can be larger than 4 gigabytes)static final int
Type: section with only pairs of function pointers for interposingstatic final int
section with only lazy symbol pointers to lazy loaded dylibsstatic final int
Type: section with only lazy symbol pointersstatic final int
Type: section with only pointers to literalsstatic final int
Type: section with only function pointers for initializationstatic final int
Type: section with only function pointers for terminationstatic final int
Type: section with only non-lazy symbol pointersstatic final int
Type: regular sectionstatic final int
Type: section with only symbol stubs, byte size of stub in the reserved2 fieldstatic final int
Section types to support thread local variables.static final int
Section types to support thread local variables.static final int
Section types to support thread local variables.static final int
Section types to support thread local variables.static final int
Section types to support thread local variables.static final int
Type: zero fill on demand sectionstatic final int
256 section types -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final String
getTypeName
(int type) Returns the string name for the constant define of the section type.
-
Field Details
-
SECTION_TYPE_MASK
public static final int SECTION_TYPE_MASK256 section types- See Also:
-
S_REGULAR
public static final int S_REGULARType: regular section- See Also:
-
S_ZEROFILL
public static final int S_ZEROFILLType: zero fill on demand section- See Also:
-
S_CSTRING_LITERALS
public static final int S_CSTRING_LITERALSType: section with only literal C strings- See Also:
-
S_4BYTE_LITERALS
public static final int S_4BYTE_LITERALSType: section with only 4 byte literals- See Also:
-
S_8BYTE_LITERALS
public static final int S_8BYTE_LITERALSType: section with only 8 byte literals- See Also:
-
S_LITERAL_POINTERS
public static final int S_LITERAL_POINTERSType: section with only pointers to literals- See Also:
-
S_NON_LAZY_SYMBOL_POINTERS
public static final int S_NON_LAZY_SYMBOL_POINTERSType: section with only non-lazy symbol pointers- See Also:
-
S_LAZY_SYMBOL_POINTERS
public static final int S_LAZY_SYMBOL_POINTERSType: section with only lazy symbol pointers- See Also:
-
S_SYMBOL_STUBS
public static final int S_SYMBOL_STUBSType: section with only symbol stubs, byte size of stub in the reserved2 field- See Also:
-
S_MOD_INIT_FUNC_POINTERS
public static final int S_MOD_INIT_FUNC_POINTERSType: section with only function pointers for initialization- See Also:
-
S_MOD_TERM_FUNC_POINTERS
public static final int S_MOD_TERM_FUNC_POINTERSType: section with only function pointers for termination- See Also:
-
S_COALESCED
public static final int S_COALESCEDType: section contains symbols that are to be coalesced- See Also:
-
S_GB_ZEROFILL
public static final int S_GB_ZEROFILLType: zero fill on demand section (that can be larger than 4 gigabytes)- See Also:
-
S_INTERPOSING
public static final int S_INTERPOSINGType: section with only pairs of function pointers for interposing- See Also:
-
S_16BYTE_LITERALS
public static final int S_16BYTE_LITERALSsection with only 16 byte literals- See Also:
-
S_DTRACE_DOF
public static final int S_DTRACE_DOFsection contains DTrace Object Format- See Also:
-
S_LAZY_DYLIB_SYMBOL_POINTERS
public static final int S_LAZY_DYLIB_SYMBOL_POINTERSsection with only lazy symbol pointers to lazy loaded dylibs- See Also:
-
S_THREAD_LOCAL_REGULAR
public static final int S_THREAD_LOCAL_REGULARSection types to support thread local variables. Template of initial values to TLVs.- See Also:
-
S_THREAD_LOCAL_ZEROFILL
public static final int S_THREAD_LOCAL_ZEROFILLSection types to support thread local variables. Template of initial values to TLVs.- See Also:
-
S_THREAD_LOCAL_VARIABLES
public static final int S_THREAD_LOCAL_VARIABLESSection types to support thread local variables. TLV descriptors.- See Also:
-
S_THREAD_LOCAL_VARIABLE_POINTERS
public static final int S_THREAD_LOCAL_VARIABLE_POINTERSSection types to support thread local variables. Pointers to TLV descriptors.- See Also:
-
S_THREAD_LOCAL_INIT_FUNCTION_POINTERS
public static final int S_THREAD_LOCAL_INIT_FUNCTION_POINTERSSection types to support thread local variables. Functions to call to initialize TLV values.- See Also:
-
-
Constructor Details
-
SectionTypes
public SectionTypes()
-
-
Method Details
-
getTypeName
Returns the string name for the constant define of the section type.- Parameters:
type
- the section type- Returns:
- string name for the constant define of the section type
-