Package ghidra.app.util.bin.format.elf
Class ElfProgramHeaderType
java.lang.Object
ghidra.app.util.bin.format.elf.ElfProgramHeaderType
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Stringfinal Stringstatic ElfProgramHeaderTypestatic ElfProgramHeaderTypestatic ElfProgramHeaderTypestatic ElfProgramHeaderTypestatic ElfProgramHeaderTypestatic ElfProgramHeaderTypestatic ElfProgramHeaderTypestatic ElfProgramHeaderTypestatic ElfProgramHeaderTypestatic ElfProgramHeaderTypestatic ElfProgramHeaderTypefinal int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddDefaultTypes(Map<Integer, ElfProgramHeaderType> programHeaderTypeMap) static voidaddProgramHeaderType(ElfProgramHeaderType type, Map<Integer, ElfProgramHeaderType> programHeaderTypeMap) Add the specified program header type to the specified map.static EnumDataTypegetEnumDataType(boolean is32bit, String typeSuffix, Map<Integer, ElfProgramHeaderType> dynamicTypeMap) toString()
-
Field Details
-
PT_NULL
-
PT_LOAD
-
PT_DYNAMIC
-
PT_INTERP
-
PT_NOTE
-
PT_SHLIB
-
PT_PHDR
-
PT_TLS
-
PT_GNU_EH_FRAME
-
PT_GNU_STACK
-
PT_GNU_RELRO
-
value
public final int value -
name
-
description
-
-
Constructor Details
-
ElfProgramHeaderType
-
-
Method Details
-
addProgramHeaderType
public static void addProgramHeaderType(ElfProgramHeaderType type, Map<Integer, ElfProgramHeaderType> programHeaderTypeMap) throws DuplicateNameExceptionAdd the specified program header type to the specified map.- Parameters:
type- program header typeprogramHeaderTypeMap- map of program header types- Throws:
DuplicateNameException- if new type name already defined within the specified map
-
addDefaultTypes
-
getEnumDataType
public static EnumDataType getEnumDataType(boolean is32bit, String typeSuffix, Map<Integer, ElfProgramHeaderType> dynamicTypeMap) -
toString
-