Package ghidra.app.util.bin.format.elf
Class ElfSectionHeaderType
- java.lang.Object
-
- ghidra.app.util.bin.format.elf.ElfSectionHeaderType
-
public class ElfSectionHeaderType extends java.lang.Object
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElfSectionHeaderType(int value, java.lang.String name, java.lang.String description)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addDefaultTypes(java.util.Map<java.lang.Integer,ElfSectionHeaderType> programHeaderTypeMap)
static void
addSectionHeaderType(ElfSectionHeaderType type, java.util.Map<java.lang.Integer,ElfSectionHeaderType> sectionHeaderTypeMap)
Add the specified section header type to the specified map.static EnumDataType
getEnumDataType(boolean is32bit, java.lang.String typeSuffix, java.util.Map<java.lang.Integer,ElfSectionHeaderType> dynamicTypeMap)
java.lang.String
toString()
-
-
-
Field Detail
-
SHT_NULL
public static ElfSectionHeaderType SHT_NULL
-
SHT_PROGBITS
public static ElfSectionHeaderType SHT_PROGBITS
-
SHT_SYMTAB
public static ElfSectionHeaderType SHT_SYMTAB
-
SHT_STRTAB
public static ElfSectionHeaderType SHT_STRTAB
-
SHT_RELA
public static ElfSectionHeaderType SHT_RELA
-
SHT_HASH
public static ElfSectionHeaderType SHT_HASH
-
SHT_DYNAMIC
public static ElfSectionHeaderType SHT_DYNAMIC
-
SHT_NOTE
public static ElfSectionHeaderType SHT_NOTE
-
SHT_NOBITS
public static ElfSectionHeaderType SHT_NOBITS
-
SHT_REL
public static ElfSectionHeaderType SHT_REL
-
SHT_SHLIB
public static ElfSectionHeaderType SHT_SHLIB
-
SHT_DYNSYM
public static ElfSectionHeaderType SHT_DYNSYM
-
SHT_INIT_ARRAY
public static ElfSectionHeaderType SHT_INIT_ARRAY
-
SHT_FINI_ARRAY
public static ElfSectionHeaderType SHT_FINI_ARRAY
-
SHT_PREINIT_ARRAY
public static ElfSectionHeaderType SHT_PREINIT_ARRAY
-
SHT_GROUP
public static ElfSectionHeaderType SHT_GROUP
-
SHT_SYMTAB_SHNDX
public static ElfSectionHeaderType SHT_SYMTAB_SHNDX
-
SHT_GNU_ATTRIBUTES
public static ElfSectionHeaderType SHT_GNU_ATTRIBUTES
-
SHT_GNU_HASH
public static ElfSectionHeaderType SHT_GNU_HASH
-
SHT_GNU_LIBLIST
public static ElfSectionHeaderType SHT_GNU_LIBLIST
-
SHT_CHECKSUM
public static ElfSectionHeaderType SHT_CHECKSUM
-
SHT_SUNW_move
public static ElfSectionHeaderType SHT_SUNW_move
-
SHT_SUNW_COMDAT
public static ElfSectionHeaderType SHT_SUNW_COMDAT
-
SHT_SUNW_syminfo
public static ElfSectionHeaderType SHT_SUNW_syminfo
-
SHT_GNU_verdef
public static ElfSectionHeaderType SHT_GNU_verdef
-
SHT_GNU_verneed
public static ElfSectionHeaderType SHT_GNU_verneed
-
SHT_GNU_versym
public static ElfSectionHeaderType SHT_GNU_versym
-
value
public final int value
-
name
public final java.lang.String name
-
description
public final java.lang.String description
-
-
Method Detail
-
addSectionHeaderType
public static void addSectionHeaderType(ElfSectionHeaderType type, java.util.Map<java.lang.Integer,ElfSectionHeaderType> sectionHeaderTypeMap) throws DuplicateNameException
Add the specified section header type to the specified map.- Parameters:
type
- section header typesectionHeaderTypeMap
-- Throws:
DuplicateNameException
- if new type name already defined within the specified map
-
addDefaultTypes
public static void addDefaultTypes(java.util.Map<java.lang.Integer,ElfSectionHeaderType> programHeaderTypeMap)
-
getEnumDataType
public static EnumDataType getEnumDataType(boolean is32bit, java.lang.String typeSuffix, java.util.Map<java.lang.Integer,ElfSectionHeaderType> dynamicTypeMap)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-