Package ghidra.app.util.bin.format.macho
Class SectionAttributes
- java.lang.Object
-
- ghidra.app.util.bin.format.macho.SectionAttributes
-
public final class SectionAttributes extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intS_ATTR_EXT_RELOCAttribute: section has external relocation entriesstatic intS_ATTR_LIVE_SUPPORTAttribute: section muststatic intS_ATTR_LOC_RELOCAttribute: section has local relocation entriesstatic intS_ATTR_NO_DEAD_STRIPAttribute: section must not be dead-stripped.static intS_ATTR_NO_TOCAttribute: section contains coalesced symbols that are not to be in a ranlib table of contentsstatic intS_ATTR_PURE_INSTRUCTIONSAttribute: section contains only true machine instructionsstatic intS_ATTR_SELF_MODIFYING_CODEAttribute: Used with i386 code stubs written on by dyldstatic intS_ATTR_SOME_INSTRUCTIONSAttribute: section contains some machine instructionsstatic intS_ATTR_STRIP_STATIC_SYMSAttribute: ok to strip static symbols in this section in files with the MH_DYLDLINK flagstatic intSECTION_ATTRIBUTES_MASK24 section attributesstatic intSECTION_ATTRIBUTES_SYSAttribute: system setable attributesstatic intSECTION_ATTRIBUTES_USRAttribute: User setable attributes
-
Constructor Summary
Constructors Constructor Description SectionAttributes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>getAttributeNames(int attributes)
-
-
-
Field Detail
-
SECTION_ATTRIBUTES_MASK
public static final int SECTION_ATTRIBUTES_MASK
24 section attributes- See Also:
- Constant Field Values
-
SECTION_ATTRIBUTES_USR
public static final int SECTION_ATTRIBUTES_USR
Attribute: User setable attributes- See Also:
- Constant Field Values
-
SECTION_ATTRIBUTES_SYS
public static final int SECTION_ATTRIBUTES_SYS
Attribute: system setable attributes- See Also:
- Constant Field Values
-
S_ATTR_PURE_INSTRUCTIONS
public static final int S_ATTR_PURE_INSTRUCTIONS
Attribute: section contains only true machine instructions- See Also:
- Constant Field Values
-
S_ATTR_NO_TOC
public static final int S_ATTR_NO_TOC
Attribute: section contains coalesced symbols that are not to be in a ranlib table of contents- See Also:
- Constant Field Values
-
S_ATTR_STRIP_STATIC_SYMS
public static final int S_ATTR_STRIP_STATIC_SYMS
Attribute: ok to strip static symbols in this section in files with the MH_DYLDLINK flag- See Also:
- Constant Field Values
-
S_ATTR_NO_DEAD_STRIP
public static final int S_ATTR_NO_DEAD_STRIP
Attribute: section must not be dead-stripped. (see "linking" in xcode2 user guide)- See Also:
- Constant Field Values
-
S_ATTR_LIVE_SUPPORT
public static final int S_ATTR_LIVE_SUPPORT
Attribute: section must- See Also:
- Constant Field Values
-
S_ATTR_SELF_MODIFYING_CODE
public static final int S_ATTR_SELF_MODIFYING_CODE
Attribute: Used with i386 code stubs written on by dyld- See Also:
- Constant Field Values
-
S_ATTR_SOME_INSTRUCTIONS
public static final int S_ATTR_SOME_INSTRUCTIONS
Attribute: section contains some machine instructions- See Also:
- Constant Field Values
-
S_ATTR_EXT_RELOC
public static final int S_ATTR_EXT_RELOC
Attribute: section has external relocation entries- See Also:
- Constant Field Values
-
S_ATTR_LOC_RELOC
public static final int S_ATTR_LOC_RELOC
Attribute: section has local relocation entries- See Also:
- Constant Field Values
-
-