public class

ELF

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.codeobject.ELF

Class Overview

ELF constants and static utility methods. Refer to:

  • https://refspecs.linuxfoundation.org/
  • http://www.uclibc.org/docs/elf.pdf
  • http://www.uclibc.org/docs/elf-64-gen.pdf
  • http://flint.cs.yale.edu/cs422/doc/ELF_Format.pdf
  • https://blogs.oracle.com/ali/entry/inside_elf_symbol_tables

Summary

Nested Classes
enum ELF.SymbolLocality Symbol locality (external, internal). 
enum ELF.WellKnownSection Enumeration of common well-known ELF sections along with their expected type. 
Constants
int ARM_ATTR_TAG_ABI_ALIGN_NEEDED
int ARM_ATTR_TAG_ABI_ALIGN_PRESERVED
int ARM_ATTR_TAG_ABI_ENUM_SIZE
int ARM_ATTR_TAG_ABI_FP_16BIT_FORMAT
int ARM_ATTR_TAG_ABI_FP_DENORMAL
int ARM_ATTR_TAG_ABI_FP_EXCEPTIONS
int ARM_ATTR_TAG_ABI_FP_NUMBER_MODEL
int ARM_ATTR_TAG_ABI_FP_OPTIMIZATION_GOALS
int ARM_ATTR_TAG_ABI_FP_ROUNDING
int ARM_ATTR_TAG_ABI_FP_USER_EXCEPTIONS
int ARM_ATTR_TAG_ABI_HARDFP_USE
int ARM_ATTR_TAG_ABI_OPTIMIZATION_GOALS
int ARM_ATTR_TAG_ABI_PCS_GOT_USE
int ARM_ATTR_TAG_ABI_PCS_R9_USE
int ARM_ATTR_TAG_ABI_PCS_RO_DATA
int ARM_ATTR_TAG_ABI_PCS_RW_DATA
int ARM_ATTR_TAG_ABI_PCS_WCHAR_T
int ARM_ATTR_TAG_ABI_VFP_ARGS
int ARM_ATTR_TAG_ABI_WMMX_ARGS
int ARM_ATTR_TAG_ADVANCED_SIMD_ARCH
int ARM_ATTR_TAG_ALSO_COMPATIBLE_WITH
int ARM_ATTR_TAG_ARM_ISA_USE
int ARM_ATTR_TAG_COMPATIBILITY
int ARM_ATTR_TAG_CONFORMANCE
int ARM_ATTR_TAG_CPU_ARCH
int ARM_ATTR_TAG_CPU_ARCH_PROFILE
int ARM_ATTR_TAG_CPU_NAME
int ARM_ATTR_TAG_CPU_RAW_NAME
int ARM_ATTR_TAG_CPU_UNALIGNED_ACCESS
int ARM_ATTR_TAG_DIV_USE
int ARM_ATTR_TAG_DSP_EXTENSION
byte ARM_ATTR_TAG_FILE
int ARM_ATTR_TAG_FP_ARCH
int ARM_ATTR_TAG_FP_HP_EXTENSION
int ARM_ATTR_TAG_MPEXTENSION_USE
int ARM_ATTR_TAG_MPEXTENSION_USE_OLD
int ARM_ATTR_TAG_NODEFAULTS
int ARM_ATTR_TAG_PCS_CONFIG
byte ARM_ATTR_TAG_SECTION
byte ARM_ATTR_TAG_SYMBOL
int ARM_ATTR_TAG_T2EE_USE
int ARM_ATTR_TAG_THUMB_ISA_USE
int ARM_ATTR_TAG_VIRTUALIZATION_USE
int ARM_ATTR_TAG_WMMX_ARCH
int DT_AARCH64_BTI_PLT
int DT_AARCH64_PAC_PLT
int DT_AARCH64_VARIANT_PCS
int DT_BIND_NOW
int DT_DEBUG
int DT_FINI
int DT_FINI_ARRAY
int DT_FINI_ARRAYSZ
int DT_FLAGS
int DT_FLAGS_1
int DT_GNU_HASH
int DT_HASH
int DT_HIOS
int DT_HIPROC
int DT_INIT
int DT_INIT_ARRAY
int DT_INIT_ARRAYSZ
int DT_JMPREL If present, this entry's d_ptr member holds the address of relocation entries associated solely with the procedure linkage table.
int DT_LOOS
int DT_LOPROC
int DT_NEEDED
int DT_NULL
int DT_PLTGOT
int DT_PLTREL This member specifies the type of relocation entry to which the procedure linkage table refers.
int DT_PLTRELSZ
int DT_PREINIT_ARRAY
int DT_PREINIT_ARRAYSZ
int DT_REL
int DT_RELA
int DT_RELACOUNT
int DT_RELAENT
int DT_RELASZ
int DT_RELCOUNT
int DT_RELENT This element holds the size, in bytes, of the DT_REL relocation entry.
int DT_RELSZ
int DT_RPATH
int DT_RUNPATH
int DT_SONAME
int DT_STRSZ
int DT_STRTAB Address of dynamic string table.
int DT_SYMBOLIC
int DT_SYMENT This element holds the size, in bytes, of a symbol table entry
int DT_SYMTAB This element holds the address of the symbol table, described in the first part of this chapter, with Elf32_Sym entries for the 32-bit class of files and Elf64_Sym entries for the 64-bit class of files.
int DT_SYMTAB_SHNDX This element holds the address of the SHT_SYMTAB_SHNDX section associated with the dynamic symbol table referenced by the DT_SYMTAB element.
int DT_TEXTREL Absence of this indicates no relocs should apply to a nonwritable segment
int DT_VERDEF
int DT_VERDEFNUM
int DT_VERNEED
int DT_VERNEEDNUM
int DT_VERSYM
int ELF32_HEADER_SIZE_MIN
int ELF64_HEADER_SIZE_MIN
byte ELFCLASS32
byte ELFCLASS64
byte ELFCLASSNONE
byte ELFDATA2LSB
byte ELFDATA2MSB
byte ELFDATANONE
int ELFOSABI_AIX
int ELFOSABI_ARM
int ELFOSABI_AROS
int ELFOSABI_C6000_ELFABI
int ELFOSABI_C6000_LINUX
int ELFOSABI_FENIXOS
int ELFOSABI_FREEBSD
int ELFOSABI_GNU
int ELFOSABI_HPUX
int ELFOSABI_HURD
int ELFOSABI_IRIX
int ELFOSABI_LINUX
int ELFOSABI_MODESTO
int ELFOSABI_NETBSD
int ELFOSABI_NONE
int ELFOSABI_NSK
int ELFOSABI_OPENBSD
int ELFOSABI_OPENVMS
int ELFOSABI_SOLARIS
int ELFOSABI_STANDALONE
int ELFOSABI_TRU64
int ELF_HEADER_SIZE_MIN_SAFE
int ELF_NOTE_OS_FREEBSD
int ELF_NOTE_OS_GNU
int ELF_NOTE_OS_LINUX
int ELF_NOTE_OS_SOLARIS2
int EM_386
int EM_486
int EM_56800EX
int EM_68HC05
int EM_68HC08
int EM_68HC11
int EM_68HC12
int EM_68HC16
int EM_68K
int EM_78KOR
int EM_8051
int EM_860
int EM_88K
int EM_960
int EM_AARCH64
int EM_ALPHA
int EM_ALTERA_NIOS2
int EM_ARC
int EM_ARCA
int EM_ARC_COMPACT
int EM_ARC_COMPACT2
int EM_ARM
int EM_AVR
int EM_AVR32
int EM_BLACKFIN
int EM_BPF
int EM_C166
int EM_CE
int EM_CLOUDSHIELD
int EM_COLDFIRE
int EM_COREA_1ST
int EM_COREA_2ND
int EM_CR
int EM_CR16
int EM_CRAYNV2
int EM_CRIS
int EM_CRX
int EM_CSKY
int EM_CUDA
int EM_CYPRESS_M8C
int EM_D10V
int EM_D30V
int EM_DSP24
int EM_DSPIC30F
int EM_DXP
int EM_ECOG1
int EM_ECOG16
int EM_ECOG1X
int EM_ECOG2
int EM_ETPU
int EM_EXCESS
int EM_F2MC16
int EM_FIREPATH
int EM_FR20
int EM_FR30
int EM_FRV
int EM_FX66
int EM_H8S
int EM_H8_300
int EM_H8_300H
int EM_H8_500
int EM_HEXAGON
int EM_HUANY
int EM_IA_64
int EM_IP2K
int EM_JAVELIN
int EM_K10M
int EM_L10M
int EM_LATTICEMICO32
int EM_LOONGARCH
int EM_M16C
int EM_M32
int EM_M32C
int EM_M32R
int EM_MANIK
int EM_MAX
int EM_MAXQ30
int EM_MCST_ELBRUS
int EM_ME16
int EM_METAG
int EM_MIPS
int EM_MIPS_RS3_LE
int EM_MIPS_X
int EM_MMA
int EM_MMDSP_PLUS
int EM_MMIX
int EM_MN10200
int EM_MN10300
int EM_MSP430
int EM_NCPU
int EM_NDR1
int EM_NDS32
int EM_NONE
int EM_NS32K
int EM_OPEN8
int EM_OPENRISC
int EM_PARISC
int EM_PCP
int EM_PDP10
int EM_PDP11
int EM_PDSP
int EM_PJ
int EM_PPC
int EM_PPC64
int EM_PRISM
int EM_R32C
int EM_RCE
int EM_RH32
int EM_RISCV
int EM_RL78
int EM_RS08
int EM_RX
int EM_S370
int EM_S390
int EM_SCORE7
int EM_SEP
int EM_SE_C17
int EM_SE_C33
int EM_SH
int EM_SHARC
int EM_SLE9X
int EM_SNP1K
int EM_SPARC
int EM_SPARC32PLUS
int EM_SPARCV9
int EM_SPU
int EM_ST100
int EM_ST19
int EM_ST200
int EM_ST7
int EM_ST9PLUS
int EM_STARCORE
int EM_STM8
int EM_STXP7X
int EM_SVX
int EM_TILE64
int EM_TILEGX
int EM_TILEPRO
int EM_TINYJ
int EM_TI_C2000
int EM_TI_C5500
int EM_TI_C6000
int EM_TMM_GPP
int EM_TPC
int EM_TRICORE
int EM_TRIMEDIA
int EM_TSK3000
int EM_UNICORE
int EM_V800
int EM_V850
int EM_VAX
int EM_VIDEOCORE
int EM_VIDEOCORE3
int EM_VIDEOCORE5
int EM_VPP500
int EM_X86_64
int EM_XGATE
int EM_XIMO16
int EM_XTENSA
int EM_ZSP
short ET_CORE Core file
short ET_DYN Shared object file
short ET_EXEC Executable file
short ET_HIOS Operating system-specific
short ET_HIPROC Processor-specific
short ET_LOOS Operating system-specific
short ET_LOPROC Processor-specific
short ET_NONE
short ET_REL Relocatable file
int EV_CURRENT
int EV_NONE
int NT_GNU_ABI_TAG
int NT_GNU_BUILD_ID
int NT_GNU_GOLD_VERSION
int NT_GNU_HWCAP
int NT_GNU_PROPERTY_TYPE_0
String NT_OWNER_ANDROID
String NT_OWNER_CSR
String NT_OWNER_FREEBSD
String NT_OWNER_GNU
String NT_OWNER_NETBSD
int PF_MASKOS
int PF_MASKPROC
int PF_R
int PF_W
int PF_X
int PHT32_ENTRY_SIZE_MIN
int PHT64_ENTRY_SIZE_MIN
int PT_ARM_EXIDX
int PT_DYNAMIC
int PT_GNU_EH_FRAME
int PT_GNU_PROPERTY
int PT_GNU_RELRO
int PT_GNU_STACK
int PT_HIOS
int PT_HIPROC
int PT_HP_CORE_COMM
int PT_HP_CORE_KERNEL
int PT_HP_CORE_LOADABLE
int PT_HP_CORE_MMF
int PT_HP_CORE_NONE
int PT_HP_CORE_PROC
int PT_HP_CORE_SHM
int PT_HP_CORE_STACK
int PT_HP_CORE_UTSNAME
int PT_HP_CORE_VERSION
int PT_HP_FASTBIND
int PT_HP_HSL_ANNOT
int PT_HP_OPT_ANNOT
int PT_HP_PARALLEL
int PT_HP_STACK
int PT_HP_TLS
int PT_IA_64_ARCHEXT
int PT_IA_64_HP_HSL_ANOT
int PT_IA_64_HP_OPT_ANOT
int PT_IA_64_HP_STACK
int PT_IA_64_UNWIND
int PT_INTERP
int PT_LOAD The array element specifies a loadable segment, described by p_filesz and p_memsz.
int PT_LOOS
int PT_LOPROC
int PT_MIPS_OPTIONS
int PT_MIPS_REGINFO
int PT_MIPS_RTPROC
int PT_NOTE
int PT_NULL
int PT_PARISC_ARCHEXT
int PT_PARISC_UNWIND
int PT_PARISC_WEAKORDER
int PT_PHDR The array element, if present, specifies the location and size of the program header table itself, both in the file and in the memory image of the program.
int PT_SHLIB
int PT_TLS
int R_386_16 The following relocations are GNU extensions.
int R_386_32
int R_386_8
int R_386_COPY
int R_386_GLOB_DAT
int R_386_GOT32
int R_386_GOTOFF
int R_386_GOTPC
int R_386_IRELATIVE
int R_386_JMP_SLOT The link editor creates this relocation type for dynamic linking.
int R_386_NONE
int R_386_PC16
int R_386_PC32
int R_386_PC8
int R_386_PLT32
int R_386_RELATIVE
int R_386_TLS_DESC
int R_386_TLS_DESC_CALL
int R_386_TLS_DTPMOD32
int R_386_TLS_DTPOFF32
int R_386_TLS_GD
int R_386_TLS_GD_32 More TLS relocations
int R_386_TLS_GD_CALL
int R_386_TLS_GD_POP
int R_386_TLS_GD_PUSH
int R_386_TLS_GOTDESC
int R_386_TLS_GOTIE
int R_386_TLS_IE
int R_386_TLS_IE_32
int R_386_TLS_LDM
int R_386_TLS_LDM_32
int R_386_TLS_LDM_CALL
int R_386_TLS_LDM_POP
int R_386_TLS_LDM_PUSH
int R_386_TLS_LDO_32
int R_386_TLS_LE
int R_386_TLS_LE_32
int R_386_TLS_TPOFF TLS relocations
int R_386_TLS_TPOFF32
int R_AARCH64_ABS16
int R_AARCH64_ABS32
int R_AARCH64_ABS64
int R_AARCH64_ADD_ABS_LO12_NC
int R_AARCH64_ADR_PREL_LO21
int R_AARCH64_ADR_PREL_PG_HI21
int R_AARCH64_ADR_PREL_PG_HI21_NC
int R_AARCH64_CALL26
int R_AARCH64_CONDBR19
int R_AARCH64_COPY
int R_AARCH64_GLOB_DAT
int R_AARCH64_IRELATIVE
int R_AARCH64_JUMP26
int R_AARCH64_JUMP_SLOT
int R_AARCH64_LDST128_ABS_LO12_NC
int R_AARCH64_LDST16_ABS_LO12_NC
int R_AARCH64_LDST32_ABS_LO12_NC
int R_AARCH64_LDST64_ABS_LO12_NC
int R_AARCH64_LDST8_ABS_LO12_NC
int R_AARCH64_LD_PREL_LO19
int R_AARCH64_MOVW_PREL_G0
int R_AARCH64_MOVW_PREL_G0_NC
int R_AARCH64_MOVW_PREL_G1
int R_AARCH64_MOVW_PREL_G1_NC
int R_AARCH64_MOVW_PREL_G2
int R_AARCH64_MOVW_PREL_G2_NC
int R_AARCH64_MOVW_PREL_G3
int R_AARCH64_MOVW_SABS_G0
int R_AARCH64_MOVW_SABS_G1
int R_AARCH64_MOVW_SABS_G2
int R_AARCH64_MOVW_UABS_G0
int R_AARCH64_MOVW_UABS_G0_NC
int R_AARCH64_MOVW_UABS_G1
int R_AARCH64_MOVW_UABS_G1_NC
int R_AARCH64_MOVW_UABS_G2
int R_AARCH64_MOVW_UABS_G2_NC
int R_AARCH64_MOVW_UABS_G3
int R_AARCH64_NONE
int R_AARCH64_NONE_
int R_AARCH64_PREL16
int R_AARCH64_PREL32
int R_AARCH64_PREL64
int R_AARCH64_RELATIVE
int R_AARCH64_TLS_DTPREL32
int R_AARCH64_TLS_TPREL64
int R_AARCH64_TSTBR14
int R_ARM_ABS12
int R_ARM_ABS16
int R_ARM_ABS32
int R_ARM_ABS32_NOI
int R_ARM_ABS8
int R_ARM_ALU_PCREL_15_8
int R_ARM_ALU_PCREL_23_15
int R_ARM_ALU_PCREL_7_0
int R_ARM_ALU_PC_G0
int R_ARM_ALU_PC_G0_NC
int R_ARM_ALU_PC_G1
int R_ARM_ALU_PC_G1_NC
int R_ARM_ALU_PC_G2
int R_ARM_ALU_SBREL_19_12_NC
int R_ARM_ALU_SBREL_27_20_CK
int R_ARM_ALU_SB_G0
int R_ARM_ALU_SB_G0_NC
int R_ARM_ALU_SB_G1
int R_ARM_ALU_SB_G1_NC
int R_ARM_ALU_SB_G2
int R_ARM_BASE_ABS
int R_ARM_BASE_PREL
int R_ARM_BREL_ADJ
int R_ARM_CALL
int R_ARM_COPY
int R_ARM_GLOB_DAT
int R_ARM_GNU_VTENTRY
int R_ARM_GNU_VTINHERIT
int R_ARM_GOTOFF12
int R_ARM_GOTOFF32
int R_ARM_GOTRELAX
int R_ARM_GOT_ABS
int R_ARM_GOT_BREL
int R_ARM_GOT_BREL12
int R_ARM_GOT_PREL
int R_ARM_JUMP24
int R_ARM_JUMP_SLOT
int R_ARM_LDC_PC_G0
int R_ARM_LDC_PC_G1
int R_ARM_LDC_PC_G2
int R_ARM_LDC_SB_G0
int R_ARM_LDC_SB_G1
int R_ARM_LDC_SB_G2
int R_ARM_LDRS_PC_G0
int R_ARM_LDRS_PC_G1
int R_ARM_LDRS_PC_G2
int R_ARM_LDRS_SB_G0
int R_ARM_LDRS_SB_G1
int R_ARM_LDRS_SB_G2
int R_ARM_LDR_PC_G0
int R_ARM_LDR_PC_G1
int R_ARM_LDR_PC_G2
int R_ARM_LDR_SBREL_11_0_NC
int R_ARM_LDR_SB_G0
int R_ARM_LDR_SB_G1
int R_ARM_LDR_SB_G2
int R_ARM_ME_TOO
int R_ARM_MOVT_ABS
int R_ARM_MOVT_BREL
int R_ARM_MOVT_PREL
int R_ARM_MOVW_ABS_NC
int R_ARM_MOVW_BREL
int R_ARM_MOVW_BREL_NC
int R_ARM_MOVW_PREL_NC
int R_ARM_NONE
int R_ARM_PC24
int R_ARM_PLT32
int R_ARM_PLT32_ABS
int R_ARM_PREL31
int R_ARM_PRIVATE_0
int R_ARM_PRIVATE_1
int R_ARM_PRIVATE_10
int R_ARM_PRIVATE_11
int R_ARM_PRIVATE_12
int R_ARM_PRIVATE_13
int R_ARM_PRIVATE_14
int R_ARM_PRIVATE_15
int R_ARM_PRIVATE_2
int R_ARM_PRIVATE_3
int R_ARM_PRIVATE_4
int R_ARM_PRIVATE_5
int R_ARM_PRIVATE_6
int R_ARM_PRIVATE_7
int R_ARM_PRIVATE_8
int R_ARM_PRIVATE_9
int R_ARM_REL32
int R_ARM_REL32_NOI
int R_ARM_RELATIVE
int R_ARM_SBREL31
int R_ARM_SBREL32
int R_ARM_TARGET1
int R_ARM_TARGET2
int R_ARM_THM_ABS5
int R_ARM_THM_ALU_PREL_11_0
int R_ARM_THM_CALL
int R_ARM_THM_JUMP11
int R_ARM_THM_JUMP19
int R_ARM_THM_JUMP24
int R_ARM_THM_JUMP6
int R_ARM_THM_JUMP8
int R_ARM_THM_MOVT_ABS
int R_ARM_THM_MOVT_BREL
int R_ARM_THM_MOVT_PREL
int R_ARM_THM_MOVW_ABS_NC
int R_ARM_THM_MOVW_BREL
int R_ARM_THM_MOVW_BREL_NC
int R_ARM_THM_MOVW_PREL_NC
int R_ARM_THM_PC12
int R_ARM_THM_PC8
int R_ARM_THM_SWI8
int R_ARM_THM_TLS_CALL
int R_ARM_THM_TLS_DESCSEQ16
int R_ARM_THM_TLS_DESCSEQ32
int R_ARM_THM_XPC22
int R_ARM_TLS_CALL
int R_ARM_TLS_DESC
int R_ARM_TLS_DESCSEQ
int R_ARM_TLS_DTPMOD32
int R_ARM_TLS_DTPOFF32
int R_ARM_TLS_GD32
int R_ARM_TLS_GOTDESC
int R_ARM_TLS_IE12GP
int R_ARM_TLS_IE32
int R_ARM_TLS_LDM32
int R_ARM_TLS_LDO12
int R_ARM_TLS_LDO32
int R_ARM_TLS_LE12
int R_ARM_TLS_LE32
int R_ARM_TLS_TPOFF32
int R_ARM_V4BX
int R_ARM_XPC25
int R_MICROMIPS_26_S1
int R_MICROMIPS_CALL16
int R_MICROMIPS_GOT16
int R_MICROMIPS_GOT_DISP
int R_MICROMIPS_GOT_OFST
int R_MICROMIPS_GOT_PAGE
int R_MICROMIPS_HI16
int R_MICROMIPS_LO16
int R_MICROMIPS_PC16_S1
int R_MICROMIPS_TLS_DTPREL_HI16
int R_MICROMIPS_TLS_DTPREL_LO16
int R_MICROMIPS_TLS_GD
int R_MICROMIPS_TLS_LDM
int R_MICROMIPS_TLS_TPREL_HI16
int R_MICROMIPS_TLS_TPREL_LO16
int R_MIPS16_GOT16
int R_MIPS16_HI16
int R_MIPS16_LO16
int R_MIPS_16
int R_MIPS_26
int R_MIPS_32
int R_MIPS_64
int R_MIPS_ADD_IMMEDIATE
int R_MIPS_CALL16
int R_MIPS_CALL_HI16
int R_MIPS_CALL_LO16
int R_MIPS_COPY
int R_MIPS_DELETE
int R_MIPS_GLOB_DAT
int R_MIPS_GOT16
int R_MIPS_GOT_DISP
int R_MIPS_GOT_HI16
int R_MIPS_GOT_LO16
int R_MIPS_GOT_OFST
int R_MIPS_GOT_PAGE
int R_MIPS_GPREL16
int R_MIPS_GPREL32
int R_MIPS_HI16
int R_MIPS_HIGHER
int R_MIPS_HIGHEST
int R_MIPS_INSERT_A
int R_MIPS_INSERT_B
int R_MIPS_JALR
int R_MIPS_JUMP_SLOT
int R_MIPS_LITERAL
int R_MIPS_LO16
int R_MIPS_NONE
int R_MIPS_NUM
int R_MIPS_PC16
int R_MIPS_PC18_S3
int R_MIPS_PC19_S2
int R_MIPS_PC21_S2
int R_MIPS_PC26_S2
int R_MIPS_PC32
int R_MIPS_PCHI16
int R_MIPS_PCLO16
int R_MIPS_PJUMP
int R_MIPS_REL16
int R_MIPS_REL32
int R_MIPS_RELGOT
int R_MIPS_SCN_DISP
int R_MIPS_SHIFT5
int R_MIPS_SHIFT6
int R_MIPS_SUB
int R_MIPS_TLS_DTPMOD32
int R_MIPS_TLS_DTPMOD64
int R_MIPS_TLS_DTPREL32
int R_MIPS_TLS_DTPREL64
int R_MIPS_TLS_DTPREL_HI16
int R_MIPS_TLS_DTPREL_LO16
int R_MIPS_TLS_GD
int R_MIPS_TLS_GOTTPREL
int R_MIPS_TLS_LDM
int R_MIPS_TLS_TPREL32
int R_MIPS_TLS_TPREL64
int R_MIPS_TLS_TPREL_HI16
int R_MIPS_TLS_TPREL_LO16
int R_MIPS_UNUSED1
int R_MIPS_UNUSED2
int R_X86_64_16
int R_X86_64_32
int R_X86_64_32S
int R_X86_64_64
int R_X86_64_8
int R_X86_64_COPY
int R_X86_64_DTPMOD64
int R_X86_64_DTPOFF32
int R_X86_64_DTPOFF64
int R_X86_64_GLOB_DAT
int R_X86_64_GOT32
int R_X86_64_GOT64
int R_X86_64_GOTOFF64
int R_X86_64_GOTPC32
int R_X86_64_GOTPC32_TLSDESC
int R_X86_64_GOTPC64
int R_X86_64_GOTPCREL
int R_X86_64_GOTPCREL64
int R_X86_64_GOTPLT64
int R_X86_64_GOTTPOFF
int R_X86_64_IRELATIVE
int R_X86_64_JUMP_SLOT
int R_X86_64_NONE
int R_X86_64_NUM
int R_X86_64_PC16
int R_X86_64_PC32
int R_X86_64_PC64
int R_X86_64_PC8
int R_X86_64_PLT32
int R_X86_64_PLTOFF64
int R_X86_64_RELATIVE
int R_X86_64_RELATIVE64
int R_X86_64_SIZE32
int R_X86_64_SIZE64
int R_X86_64_TLSDESC
int R_X86_64_TLSDESC_CALL
int R_X86_64_TLSGD
int R_X86_64_TLSLD
int R_X86_64_TPOFF32
int R_X86_64_TPOFF64
int SHF_ALLOC
int SHF_COMPRESSED
int SHF_EXECINSTR
int SHF_GROUP
int SHF_INFO_LINK
int SHF_LINK_ORDER
int SHF_MASKOS
int SHF_MASKPROC
int SHF_MERGE
int SHF_OS_NONCONFORMING
int SHF_STRINGS
int SHF_TLS
int SHF_WRITE
int SHN_ABS This value specifies absolute values for the corresponding reference.
int SHN_COMMON Symbols defined relative to this section are common symbols, such as FORTRAN COMMON or unallocated C external variables.
int SHN_HIOS SHN_LOOS through SHN_HIOS: Values in this inclusive range are reserved for operating system-specific semantics.
int SHN_HIPROC SHN_LOPROC through SHN_HIPROC: Values in this inclusive range are reserved for processor-specific semantics.
int SHN_HIRESERVE This value specifies the upper bound of the range of reserved indexes.
int SHN_LOOS SHN_LOOS through SHN_HIOS: Values in this inclusive range are reserved for operating system-specific semantics.
int SHN_LOPROC SHN_LOPROC through SHN_HIPROC: Values in this inclusive range are reserved for processor-specific semantics.
int SHN_LORESERVE This value specifies the lower bound of the range of reserved indexes.
int SHN_UNDEF This value marks an undefined, missing, irrelevant, or otherwise meaningless section reference.
int SHN_XINDEX This value is an escape value.
int SHT32_ENTRY_SIZE_MIN
int SHT64_ENTRY_SIZE_MIN
int SHT_ARM_ATTRIBUTES
int SHT_ARM_DEBUGOVERLAY
int SHT_ARM_EXIDX
int SHT_ARM_OVERLAYSECTION
int SHT_ARM_PREEMPTMAP
int SHT_DYNAMIC The section holds information for dynamic linking.
int SHT_DYNSYM SHT_SYMTAB and SHT_DYNSYM: These sections hold a symbol table.
int SHT_FINI_ARRAY This section contains an array of pointers to termination functions.
int SHT_GNU_ATTRIBUTES
int SHT_GNU_HASH
int SHT_GNU_LIBLIST
int SHT_GNU_verdef
int SHT_GNU_verneed
int SHT_GNU_versym
int SHT_GROUP This section defines a section group.
int SHT_HASH The section holds a symbol hash table.
int SHT_HIOS SHT_LOOS through SHT_HIOS: Values in this inclusive range are reserved for operating system-specific semantics.
int SHT_HIPROC SHT_LOPROC through SHT_HIPROC: Values in this inclusive range are reserved for processor-specific semantics.
int SHT_HIUSER This value specifies the upper bound of the range of indexes reserved for application programs.
int SHT_INIT_ARRAY This section contains an array of pointers to initialization functions.
int SHT_LOOS SHT_LOOS through SHT_HIOS: Values in this inclusive range are reserved for operating system-specific semantics.
int SHT_LOPROC SHT_LOPROC through SHT_HIPROC: Values in this inclusive range are reserved for processor-specific semantics.
int SHT_LOUSER This value specifies the lower bound of the range of indexes reserved for application programs.
int SHT_MIPS_ABIFLAGS
int SHT_MIPS_OPTIONS
int SHT_MIPS_REGINFO
int SHT_NOBITS A section of this type occupies no space in the file but otherwise resembles SHT_PROGBITS.
int SHT_NOTE The section holds information that marks the file in some way.
int SHT_NULL This value marks the section header as inactive; it does not have an associated section.
int SHT_PREINIT_ARRAY This section contains an array of pointers to functions that are invoked before all other initialization functions.
int SHT_PROGBITS The section holds information defined by the program, whose format and meaning are determined solely by the program.
int SHT_REL The section holds relocation entries without explicit addends, such as type Elf32_Rel for the 32-bit class of object files or type Elf64_Rel for the 64-bit class of object files.
int SHT_RELA The section holds relocation entries with explicit addends, such as type Elf32_Rela for the 32-bit class of object files or type Elf64_Rela for the 64-bit class of object files.
int SHT_SHLIB This section type is reserved but has unspecified semantics.
int SHT_STRTAB The section holds a string table.
int SHT_SYMTAB SHT_SYMTAB and SHT_DYNSYM: These sections hold a symbol table.
int SHT_SYMTAB_SHNDX This section is associated with a section of type SHT_SYMTAB and is required if any of the section header indexes referenced by that symbol table contain the escape value SHN_XINDEX.
int SIZEOF_SYMBOL_ENTRY_32
int SIZEOF_SYMBOL_ENTRY_64
int STB_GLOBAL Global symbols are visible to all object files being combined.
int STB_HIPROC
int STB_LOCAL Local symbols are not visible outside the object file containing their definition.
int STB_LOPROC
int STB_WEAK Weak symbols resemble global symbols, but their definitions have lower precedence.
int STT_COMMON An uninitialized common block
int STT_FILE Local, absolute symbol that refers to a file.
int STT_FUNC The symbol is associated with a function or other executable code.
int STT_GNU_IFUNC GNU indirect function
int STT_HIOS
int STT_HIPROC
int STT_LOOS
int STT_LOPROC
int STT_NOTYPE
int STT_OBJECT The symbol is associated with a data object, such as a variable, an array, etc.
int STT_SECTION The symbol is associated with a section.
int STT_TLS Thread local data object
int STV_DEFAULT
int STV_HIDDEN
int STV_INTERNAL
int STV_PROTECTED
Fields
public static byte[] ElfMagic
public static int ElfMagicIntBE
public static int ElfMagicIntLE
Public Constructors
ELF()
Public Methods
static int Force_SE(int operand, int opSize)
static long SE(long operand, int opSize)
static String getArmAttributeTagString(int tag)
static String getDT(int tag)
static String getELFClassString(int id)
static String getELFDataString(int id)
static String getEMString(int id)
static String getETString(int id)
static String getEVString(int id)
static String getNoteAndroidVersionString(byte[] descData, ByteOrder order)
static String getNoteGnuABIString(byte[] descData, ByteOrder order)
static String getNoteTypeString(String name, int type)
static String getOSABIString(int osabi)
static String getPFString(int programFlags)
static String getPTString(int programType)
static String getPTString(int programType, int emachine)
static String getRTString(ProcessorType proctype, int id)
static String getSHFString(int id)
static String getSHFStringFlags(int flags)
static String getSHNString(int id)
static String getSHTString(int id)
static String getSTBString(int id)
static String getSTTString(int id)
static String getSTVString(int v)
static ELF.WellKnownSection getSection(int type, String name)
Retrieve the well-known ELF section or null if unknown
static String getX86RTString(int id)
static int high(int x)
static boolean isRT_GLOB_DAT(ProcessorType proctype, int relocationType)
static boolean isRT_JUMP_SLOT(ProcessorType proctype, int relocationType)
static int relocate(int id, int A, int ABitCount, int AHL, int P, int S, int G, int GP, int GP0, int EA, int L, ELF.SymbolLocality sym)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int ARM_ATTR_TAG_ABI_ALIGN_NEEDED

Constant Value: 24 (0x00000018)

public static final int ARM_ATTR_TAG_ABI_ALIGN_PRESERVED

Constant Value: 25 (0x00000019)

public static final int ARM_ATTR_TAG_ABI_ENUM_SIZE

Constant Value: 26 (0x0000001a)

public static final int ARM_ATTR_TAG_ABI_FP_16BIT_FORMAT

Constant Value: 38 (0x00000026)

public static final int ARM_ATTR_TAG_ABI_FP_DENORMAL

Constant Value: 20 (0x00000014)

public static final int ARM_ATTR_TAG_ABI_FP_EXCEPTIONS

Constant Value: 21 (0x00000015)

public static final int ARM_ATTR_TAG_ABI_FP_NUMBER_MODEL

Constant Value: 23 (0x00000017)

public static final int ARM_ATTR_TAG_ABI_FP_OPTIMIZATION_GOALS

Constant Value: 31 (0x0000001f)

public static final int ARM_ATTR_TAG_ABI_FP_ROUNDING

Constant Value: 19 (0x00000013)

public static final int ARM_ATTR_TAG_ABI_FP_USER_EXCEPTIONS

Constant Value: 22 (0x00000016)

public static final int ARM_ATTR_TAG_ABI_HARDFP_USE

Constant Value: 27 (0x0000001b)

public static final int ARM_ATTR_TAG_ABI_OPTIMIZATION_GOALS

Constant Value: 30 (0x0000001e)

public static final int ARM_ATTR_TAG_ABI_PCS_GOT_USE

Constant Value: 17 (0x00000011)

public static final int ARM_ATTR_TAG_ABI_PCS_R9_USE

Constant Value: 14 (0x0000000e)

public static final int ARM_ATTR_TAG_ABI_PCS_RO_DATA

Constant Value: 16 (0x00000010)

public static final int ARM_ATTR_TAG_ABI_PCS_RW_DATA

Constant Value: 15 (0x0000000f)

public static final int ARM_ATTR_TAG_ABI_PCS_WCHAR_T

Constant Value: 18 (0x00000012)

public static final int ARM_ATTR_TAG_ABI_VFP_ARGS

Constant Value: 28 (0x0000001c)

public static final int ARM_ATTR_TAG_ABI_WMMX_ARGS

Constant Value: 29 (0x0000001d)

public static final int ARM_ATTR_TAG_ADVANCED_SIMD_ARCH

Constant Value: 12 (0x0000000c)

public static final int ARM_ATTR_TAG_ALSO_COMPATIBLE_WITH

Constant Value: 65 (0x00000041)

public static final int ARM_ATTR_TAG_ARM_ISA_USE

Constant Value: 8 (0x00000008)

public static final int ARM_ATTR_TAG_COMPATIBILITY

Constant Value: 32 (0x00000020)

public static final int ARM_ATTR_TAG_CONFORMANCE

Constant Value: 67 (0x00000043)

public static final int ARM_ATTR_TAG_CPU_ARCH

Constant Value: 6 (0x00000006)

public static final int ARM_ATTR_TAG_CPU_ARCH_PROFILE

Constant Value: 7 (0x00000007)

public static final int ARM_ATTR_TAG_CPU_NAME

Constant Value: 5 (0x00000005)

public static final int ARM_ATTR_TAG_CPU_RAW_NAME

Constant Value: 4 (0x00000004)

public static final int ARM_ATTR_TAG_CPU_UNALIGNED_ACCESS

Constant Value: 34 (0x00000022)

public static final int ARM_ATTR_TAG_DIV_USE

Constant Value: 44 (0x0000002c)

public static final int ARM_ATTR_TAG_DSP_EXTENSION

Constant Value: 46 (0x0000002e)

public static final byte ARM_ATTR_TAG_FILE

Constant Value: 1 (0x00000001)

public static final int ARM_ATTR_TAG_FP_ARCH

Constant Value: 10 (0x0000000a)

public static final int ARM_ATTR_TAG_FP_HP_EXTENSION

Constant Value: 36 (0x00000024)

public static final int ARM_ATTR_TAG_MPEXTENSION_USE

Constant Value: 42 (0x0000002a)

public static final int ARM_ATTR_TAG_MPEXTENSION_USE_OLD

Constant Value: 70 (0x00000046)

public static final int ARM_ATTR_TAG_NODEFAULTS

Constant Value: 64 (0x00000040)

public static final int ARM_ATTR_TAG_PCS_CONFIG

Constant Value: 13 (0x0000000d)

public static final byte ARM_ATTR_TAG_SECTION

Constant Value: 2 (0x00000002)

public static final byte ARM_ATTR_TAG_SYMBOL

Constant Value: 3 (0x00000003)

public static final int ARM_ATTR_TAG_T2EE_USE

Constant Value: 66 (0x00000042)

public static final int ARM_ATTR_TAG_THUMB_ISA_USE

Constant Value: 9 (0x00000009)

public static final int ARM_ATTR_TAG_VIRTUALIZATION_USE

Constant Value: 68 (0x00000044)

public static final int ARM_ATTR_TAG_WMMX_ARCH

Constant Value: 11 (0x0000000b)

public static final int DT_AARCH64_BTI_PLT

Constant Value: 1879048193 (0x70000001)

public static final int DT_AARCH64_PAC_PLT

Constant Value: 1879048195 (0x70000003)

public static final int DT_AARCH64_VARIANT_PCS

Constant Value: 1879048197 (0x70000005)

public static final int DT_BIND_NOW

Constant Value: 24 (0x00000018)

public static final int DT_DEBUG

Constant Value: 21 (0x00000015)

public static final int DT_FINI

Constant Value: 13 (0x0000000d)

public static final int DT_FINI_ARRAY

Constant Value: 26 (0x0000001a)

public static final int DT_FINI_ARRAYSZ

Constant Value: 28 (0x0000001c)

public static final int DT_FLAGS

Constant Value: 30 (0x0000001e)

public static final int DT_FLAGS_1

Constant Value: 1879048187 (0x6ffffffb)

public static final int DT_GNU_HASH

Constant Value: 1879047925 (0x6ffffef5)

public static final int DT_HASH

Constant Value: 4 (0x00000004)

public static final int DT_HIOS

Constant Value: 1879048191 (0x6fffffff)

public static final int DT_HIPROC

Constant Value: 2147483647 (0x7fffffff)

public static final int DT_INIT

Constant Value: 12 (0x0000000c)

public static final int DT_INIT_ARRAY

Constant Value: 25 (0x00000019)

public static final int DT_INIT_ARRAYSZ

Constant Value: 27 (0x0000001b)

public static final int DT_JMPREL

If present, this entry's d_ptr member holds the address of relocation entries associated solely with the procedure linkage table. Separating these relocation entries lets the dynamic linker ignore them during process initialization, if lazy binding is enabled. If this entry is present, the related entries of types DT_PLTRELSZ and DT_PLTREL must also be present.

Constant Value: 23 (0x00000017)

public static final int DT_LOOS

Constant Value: 1610612736 (0x60000000)

public static final int DT_LOPROC

Constant Value: 1879048192 (0x70000000)

public static final int DT_NEEDED

Constant Value: 1 (0x00000001)

public static final int DT_NULL

Constant Value: 0 (0x00000000)

public static final int DT_PLTGOT

Constant Value: 3 (0x00000003)

public static final int DT_PLTREL

This member specifies the type of relocation entry to which the procedure linkage table refers. The d_val member holds DT_REL or DT_RELA, as appropriate. All relocations in a procedure linkage table must use the same relocation.

Constant Value: 20 (0x00000014)

public static final int DT_PLTRELSZ

Constant Value: 2 (0x00000002)

public static final int DT_PREINIT_ARRAY

Constant Value: 32 (0x00000020)

public static final int DT_PREINIT_ARRAYSZ

Constant Value: 33 (0x00000021)

public static final int DT_REL

Constant Value: 17 (0x00000011)

public static final int DT_RELA

Constant Value: 7 (0x00000007)

public static final int DT_RELACOUNT

Constant Value: 1879048185 (0x6ffffff9)

public static final int DT_RELAENT

Constant Value: 9 (0x00000009)

public static final int DT_RELASZ

Constant Value: 8 (0x00000008)

public static final int DT_RELCOUNT

Constant Value: 1879048186 (0x6ffffffa)

public static final int DT_RELENT

This element holds the size, in bytes, of the DT_REL relocation entry.

Constant Value: 19 (0x00000013)

public static final int DT_RELSZ

Constant Value: 18 (0x00000012)

public static final int DT_RPATH

Constant Value: 15 (0x0000000f)

public static final int DT_RUNPATH

Constant Value: 29 (0x0000001d)

public static final int DT_SONAME

Constant Value: 14 (0x0000000e)

public static final int DT_STRSZ

Constant Value: 10 (0x0000000a)

public static final int DT_STRTAB

Address of dynamic string table. (Not offset!)

Constant Value: 5 (0x00000005)

public static final int DT_SYMBOLIC

Constant Value: 16 (0x00000010)

public static final int DT_SYMENT

This element holds the size, in bytes, of a symbol table entry

Constant Value: 11 (0x0000000b)

public static final int DT_SYMTAB

This element holds the address of the symbol table, described in the first part of this chapter, with Elf32_Sym entries for the 32-bit class of files and Elf64_Sym entries for the 64-bit class of files.

Constant Value: 6 (0x00000006)

public static final int DT_SYMTAB_SHNDX

This element holds the address of the SHT_SYMTAB_SHNDX section associated with the dynamic symbol table referenced by the DT_SYMTAB element.

Constant Value: 34 (0x00000022)

public static final int DT_TEXTREL

Absence of this indicates no relocs should apply to a nonwritable segment

Constant Value: 22 (0x00000016)

public static final int DT_VERDEF

Constant Value: 1879048188 (0x6ffffffc)

public static final int DT_VERDEFNUM

Constant Value: 1879048189 (0x6ffffffd)

public static final int DT_VERNEED

Constant Value: 1879048190 (0x6ffffffe)

public static final int DT_VERNEEDNUM

Constant Value: 1879048191 (0x6fffffff)

public static final int DT_VERSYM

Constant Value: 1879048176 (0x6ffffff0)

public static final int ELF32_HEADER_SIZE_MIN

Constant Value: 52 (0x00000034)

public static final int ELF64_HEADER_SIZE_MIN

Constant Value: 64 (0x00000040)

public static final byte ELFCLASS32

Constant Value: 1 (0x00000001)

public static final byte ELFCLASS64

Constant Value: 2 (0x00000002)

public static final byte ELFCLASSNONE

Constant Value: 0 (0x00000000)

public static final byte ELFDATA2LSB

Constant Value: 1 (0x00000001)

public static final byte ELFDATA2MSB

Constant Value: 2 (0x00000002)

public static final byte ELFDATANONE

Constant Value: 0 (0x00000000)

public static final int ELFOSABI_AIX

Constant Value: 7 (0x00000007)

public static final int ELFOSABI_ARM

Constant Value: 97 (0x00000061)

public static final int ELFOSABI_AROS

Constant Value: 15 (0x0000000f)

public static final int ELFOSABI_C6000_ELFABI

Constant Value: 64 (0x00000040)

public static final int ELFOSABI_C6000_LINUX

Constant Value: 65 (0x00000041)

public static final int ELFOSABI_FENIXOS

Constant Value: 16 (0x00000010)

public static final int ELFOSABI_FREEBSD

Constant Value: 9 (0x00000009)

public static final int ELFOSABI_GNU

Constant Value: 3 (0x00000003)

public static final int ELFOSABI_HPUX

Constant Value: 1 (0x00000001)

public static final int ELFOSABI_HURD

Constant Value: 4 (0x00000004)

public static final int ELFOSABI_IRIX

Constant Value: 8 (0x00000008)

public static final int ELFOSABI_LINUX

Constant Value: 3 (0x00000003)

public static final int ELFOSABI_MODESTO

Constant Value: 11 (0x0000000b)

public static final int ELFOSABI_NETBSD

Constant Value: 2 (0x00000002)

public static final int ELFOSABI_NONE

Constant Value: 0 (0x00000000)

public static final int ELFOSABI_NSK

Constant Value: 14 (0x0000000e)

public static final int ELFOSABI_OPENBSD

Constant Value: 12 (0x0000000c)

public static final int ELFOSABI_OPENVMS

Constant Value: 13 (0x0000000d)

public static final int ELFOSABI_SOLARIS

Constant Value: 6 (0x00000006)

public static final int ELFOSABI_STANDALONE

Constant Value: 255 (0x000000ff)

public static final int ELFOSABI_TRU64

Constant Value: 10 (0x0000000a)

public static final int ELF_HEADER_SIZE_MIN_SAFE

Constant Value: 64 (0x00000040)

public static final int ELF_NOTE_OS_FREEBSD

Constant Value: 3 (0x00000003)

public static final int ELF_NOTE_OS_GNU

Constant Value: 1 (0x00000001)

public static final int ELF_NOTE_OS_LINUX

Constant Value: 0 (0x00000000)

public static final int ELF_NOTE_OS_SOLARIS2

Constant Value: 2 (0x00000002)

public static final int EM_386

Constant Value: 3 (0x00000003)

public static final int EM_486

Constant Value: 6 (0x00000006)

public static final int EM_56800EX

Constant Value: 200 (0x000000c8)

public static final int EM_68HC05

Constant Value: 72 (0x00000048)

public static final int EM_68HC08

Constant Value: 71 (0x00000047)

public static final int EM_68HC11

Constant Value: 70 (0x00000046)

public static final int EM_68HC12

Constant Value: 53 (0x00000035)

public static final int EM_68HC16

Constant Value: 69 (0x00000045)

public static final int EM_68K

Constant Value: 4 (0x00000004)

public static final int EM_78KOR

Constant Value: 199 (0x000000c7)

public static final int EM_8051

Constant Value: 165 (0x000000a5)

public static final int EM_860

Constant Value: 7 (0x00000007)

public static final int EM_88K

Constant Value: 5 (0x00000005)

public static final int EM_960

Constant Value: 19 (0x00000013)

public static final int EM_AARCH64

Constant Value: 183 (0x000000b7)

public static final int EM_ALPHA

Constant Value: 41 (0x00000029)

public static final int EM_ALTERA_NIOS2

Constant Value: 113 (0x00000071)

public static final int EM_ARC

Constant Value: 45 (0x0000002d)

public static final int EM_ARCA

Constant Value: 109 (0x0000006d)

public static final int EM_ARC_COMPACT

Constant Value: 93 (0x0000005d)

public static final int EM_ARC_COMPACT2

Constant Value: 195 (0x000000c3)

public static final int EM_ARM

Constant Value: 40 (0x00000028)

public static final int EM_AVR

Constant Value: 83 (0x00000053)

public static final int EM_AVR32

Constant Value: 185 (0x000000b9)

public static final int EM_BLACKFIN

Constant Value: 106 (0x0000006a)

public static final int EM_BPF

Constant Value: 247 (0x000000f7)

public static final int EM_C166

Constant Value: 116 (0x00000074)

public static final int EM_CE

Constant Value: 119 (0x00000077)

public static final int EM_CLOUDSHIELD

Constant Value: 192 (0x000000c0)

public static final int EM_COLDFIRE

Constant Value: 52 (0x00000034)

public static final int EM_COREA_1ST

Constant Value: 193 (0x000000c1)

public static final int EM_COREA_2ND

Constant Value: 194 (0x000000c2)

public static final int EM_CR

Constant Value: 103 (0x00000067)

public static final int EM_CR16

Constant Value: 177 (0x000000b1)

public static final int EM_CRAYNV2

Constant Value: 172 (0x000000ac)

public static final int EM_CRIS

Constant Value: 76 (0x0000004c)

public static final int EM_CRX

Constant Value: 114 (0x00000072)

public static final int EM_CSKY

Constant Value: 252 (0x000000fc)

public static final int EM_CUDA

Constant Value: 190 (0x000000be)

public static final int EM_CYPRESS_M8C

Constant Value: 161 (0x000000a1)

public static final int EM_D10V

Constant Value: 85 (0x00000055)

public static final int EM_D30V

Constant Value: 86 (0x00000056)

public static final int EM_DSP24

Constant Value: 136 (0x00000088)

public static final int EM_DSPIC30F

Constant Value: 118 (0x00000076)

public static final int EM_DXP

Constant Value: 112 (0x00000070)

public static final int EM_ECOG1

Constant Value: 168 (0x000000a8)

public static final int EM_ECOG16

Constant Value: 176 (0x000000b0)

public static final int EM_ECOG1X

Constant Value: 168 (0x000000a8)

public static final int EM_ECOG2

Constant Value: 134 (0x00000086)

public static final int EM_ETPU

Constant Value: 178 (0x000000b2)

public static final int EM_EXCESS

Constant Value: 111 (0x0000006f)

public static final int EM_F2MC16

Constant Value: 104 (0x00000068)

public static final int EM_FIREPATH

Constant Value: 78 (0x0000004e)

public static final int EM_FR20

Constant Value: 37 (0x00000025)

public static final int EM_FR30

Constant Value: 84 (0x00000054)

public static final int EM_FRV

Constant Value: 21569 (0x00005441)

public static final int EM_FX66

Constant Value: 66 (0x00000042)

public static final int EM_H8S

Constant Value: 48 (0x00000030)

public static final int EM_H8_300

Constant Value: 46 (0x0000002e)

public static final int EM_H8_300H

Constant Value: 47 (0x0000002f)

public static final int EM_H8_500

Constant Value: 49 (0x00000031)

public static final int EM_HEXAGON

Constant Value: 164 (0x000000a4)

public static final int EM_HUANY

Constant Value: 81 (0x00000051)

public static final int EM_IA_64

Constant Value: 50 (0x00000032)

public static final int EM_IP2K

Constant Value: 101 (0x00000065)

public static final int EM_JAVELIN

Constant Value: 77 (0x0000004d)

public static final int EM_K10M

Constant Value: 181 (0x000000b5)

public static final int EM_L10M

Constant Value: 180 (0x000000b4)

public static final int EM_LATTICEMICO32

Constant Value: 138 (0x0000008a)

public static final int EM_LOONGARCH

Constant Value: 258 (0x00000102)

public static final int EM_M16C

Constant Value: 117 (0x00000075)

public static final int EM_M32

Constant Value: 1 (0x00000001)

public static final int EM_M32C

Constant Value: 120 (0x00000078)

public static final int EM_M32R

Constant Value: 88 (0x00000058)

public static final int EM_MANIK

Constant Value: 171 (0x000000ab)

public static final int EM_MAX

Constant Value: 102 (0x00000066)

public static final int EM_MAXQ30

Constant Value: 169 (0x000000a9)

public static final int EM_MCST_ELBRUS

Constant Value: 175 (0x000000af)

public static final int EM_ME16

Constant Value: 59 (0x0000003b)

public static final int EM_METAG

Constant Value: 174 (0x000000ae)

public static final int EM_MIPS

Constant Value: 8 (0x00000008)

public static final int EM_MIPS_RS3_LE

Constant Value: 10 (0x0000000a)

public static final int EM_MIPS_X

Constant Value: 51 (0x00000033)

public static final int EM_MMA

Constant Value: 54 (0x00000036)

public static final int EM_MMDSP_PLUS

Constant Value: 160 (0x000000a0)

public static final int EM_MMIX

Constant Value: 80 (0x00000050)

public static final int EM_MN10200

Constant Value: 90 (0x0000005a)

public static final int EM_MN10300

Constant Value: 89 (0x00000059)

public static final int EM_MSP430

Constant Value: 105 (0x00000069)

public static final int EM_NCPU

Constant Value: 56 (0x00000038)

public static final int EM_NDR1

Constant Value: 57 (0x00000039)

public static final int EM_NDS32

Constant Value: 167 (0x000000a7)

public static final int EM_NONE

Constant Value: 0 (0x00000000)

public static final int EM_NS32K

Constant Value: 97 (0x00000061)

public static final int EM_OPEN8

Constant Value: 196 (0x000000c4)

public static final int EM_OPENRISC

Constant Value: 92 (0x0000005c)

public static final int EM_PARISC

Constant Value: 15 (0x0000000f)

public static final int EM_PCP

Constant Value: 55 (0x00000037)

public static final int EM_PDP10

Constant Value: 64 (0x00000040)

public static final int EM_PDP11

Constant Value: 65 (0x00000041)

public static final int EM_PDSP

Constant Value: 63 (0x0000003f)

public static final int EM_PJ

Constant Value: 91 (0x0000005b)

public static final int EM_PPC

Constant Value: 20 (0x00000014)

public static final int EM_PPC64

Constant Value: 21 (0x00000015)

public static final int EM_PRISM

Constant Value: 82 (0x00000052)

public static final int EM_R32C

Constant Value: 162 (0x000000a2)

public static final int EM_RCE

Constant Value: 39 (0x00000027)

public static final int EM_RH32

Constant Value: 38 (0x00000026)

public static final int EM_RISCV

Constant Value: 243 (0x000000f3)

public static final int EM_RL78

Constant Value: 197 (0x000000c5)

public static final int EM_RS08

Constant Value: 132 (0x00000084)

public static final int EM_RX

Constant Value: 173 (0x000000ad)

public static final int EM_S370

Constant Value: 9 (0x00000009)

public static final int EM_S390

Constant Value: 22 (0x00000016)

public static final int EM_SCORE7

Constant Value: 135 (0x00000087)

public static final int EM_SEP

Constant Value: 108 (0x0000006c)

public static final int EM_SE_C17

Constant Value: 139 (0x0000008b)

public static final int EM_SE_C33

Constant Value: 107 (0x0000006b)

public static final int EM_SH

Constant Value: 42 (0x0000002a)

public static final int EM_SHARC

Constant Value: 133 (0x00000085)

public static final int EM_SLE9X

Constant Value: 179 (0x000000b3)

public static final int EM_SNP1K

Constant Value: 99 (0x00000063)

public static final int EM_SPARC

Constant Value: 2 (0x00000002)

public static final int EM_SPARC32PLUS

Constant Value: 18 (0x00000012)

public static final int EM_SPARCV9

Constant Value: 43 (0x0000002b)

public static final int EM_SPU

Constant Value: 23 (0x00000017)

public static final int EM_ST100

Constant Value: 60 (0x0000003c)

public static final int EM_ST19

Constant Value: 74 (0x0000004a)

public static final int EM_ST200

Constant Value: 100 (0x00000064)

public static final int EM_ST7

Constant Value: 68 (0x00000044)

public static final int EM_ST9PLUS

Constant Value: 67 (0x00000043)

public static final int EM_STARCORE

Constant Value: 58 (0x0000003a)

public static final int EM_STM8

Constant Value: 186 (0x000000ba)

public static final int EM_STXP7X

Constant Value: 166 (0x000000a6)

public static final int EM_SVX

Constant Value: 73 (0x00000049)

public static final int EM_TILE64

Constant Value: 187 (0x000000bb)

public static final int EM_TILEGX

Constant Value: 191 (0x000000bf)

public static final int EM_TILEPRO

Constant Value: 188 (0x000000bc)

public static final int EM_TINYJ

Constant Value: 61 (0x0000003d)

public static final int EM_TI_C2000

Constant Value: 141 (0x0000008d)

public static final int EM_TI_C5500

Constant Value: 142 (0x0000008e)

public static final int EM_TI_C6000

Constant Value: 140 (0x0000008c)

public static final int EM_TMM_GPP

Constant Value: 96 (0x00000060)

public static final int EM_TPC

Constant Value: 98 (0x00000062)

public static final int EM_TRICORE

Constant Value: 44 (0x0000002c)

public static final int EM_TRIMEDIA

Constant Value: 163 (0x000000a3)

public static final int EM_TSK3000

Constant Value: 131 (0x00000083)

public static final int EM_UNICORE

Constant Value: 110 (0x0000006e)

public static final int EM_V800

Constant Value: 36 (0x00000024)

public static final int EM_V850

Constant Value: 87 (0x00000057)

public static final int EM_VAX

Constant Value: 75 (0x0000004b)

public static final int EM_VIDEOCORE

Constant Value: 95 (0x0000005f)

public static final int EM_VIDEOCORE3

Constant Value: 137 (0x00000089)

public static final int EM_VIDEOCORE5

Constant Value: 198 (0x000000c6)

public static final int EM_VPP500

Constant Value: 17 (0x00000011)

public static final int EM_X86_64

Constant Value: 62 (0x0000003e)

public static final int EM_XGATE

Constant Value: 115 (0x00000073)

public static final int EM_XIMO16

Constant Value: 170 (0x000000aa)

public static final int EM_XTENSA

Constant Value: 94 (0x0000005e)

public static final int EM_ZSP

Constant Value: 79 (0x0000004f)

public static final short ET_CORE

Core file

Constant Value: 4 (0x00000004)

public static final short ET_DYN

Shared object file

Constant Value: 3 (0x00000003)

public static final short ET_EXEC

Executable file

Constant Value: 2 (0x00000002)

public static final short ET_HIOS

Operating system-specific

Constant Value: -257 (0xfffffeff)

public static final short ET_HIPROC

Processor-specific

Constant Value: -1 (0xffffffff)

public static final short ET_LOOS

Operating system-specific

Constant Value: -512 (0xfffffe00)

public static final short ET_LOPROC

Processor-specific

Constant Value: -256 (0xffffff00)

public static final short ET_NONE

Constant Value: 0 (0x00000000)

public static final short ET_REL

Relocatable file

Constant Value: 1 (0x00000001)

public static final int EV_CURRENT

Constant Value: 1 (0x00000001)

public static final int EV_NONE

Constant Value: 0 (0x00000000)

public static final int NT_GNU_ABI_TAG

Constant Value: 1 (0x00000001)

public static final int NT_GNU_BUILD_ID

Constant Value: 3 (0x00000003)

public static final int NT_GNU_GOLD_VERSION

Constant Value: 4 (0x00000004)

public static final int NT_GNU_HWCAP

Constant Value: 2 (0x00000002)

public static final int NT_GNU_PROPERTY_TYPE_0

Constant Value: 5 (0x00000005)

public static final String NT_OWNER_ANDROID

Constant Value: "Android"

public static final String NT_OWNER_CSR

Constant Value: "csr"

public static final String NT_OWNER_FREEBSD

Constant Value: "FreeBSD"

public static final String NT_OWNER_GNU

Constant Value: "GNU"

public static final String NT_OWNER_NETBSD

Constant Value: "NetBSD"

public static final int PF_MASKOS

Constant Value: 267386880 (0x0ff00000)

public static final int PF_MASKPROC

Constant Value: -268435456 (0xf0000000)

public static final int PF_R

Constant Value: 4 (0x00000004)

public static final int PF_W

Constant Value: 2 (0x00000002)

public static final int PF_X

Constant Value: 1 (0x00000001)

public static final int PHT32_ENTRY_SIZE_MIN

Constant Value: 32 (0x00000020)

public static final int PHT64_ENTRY_SIZE_MIN

Constant Value: 56 (0x00000038)

public static final int PT_ARM_EXIDX

Constant Value: 1879048193 (0x70000001)

public static final int PT_DYNAMIC

Constant Value: 2 (0x00000002)

public static final int PT_GNU_EH_FRAME

Constant Value: 1685382480 (0x6474e550)

public static final int PT_GNU_PROPERTY

Constant Value: 1685382483 (0x6474e553)

public static final int PT_GNU_RELRO

Constant Value: 1685382482 (0x6474e552)

public static final int PT_GNU_STACK

Constant Value: 1685382481 (0x6474e551)

public static final int PT_HIOS

Constant Value: 1879048191 (0x6fffffff)

public static final int PT_HIPROC

Constant Value: 2147483647 (0x7fffffff)

public static final int PT_HP_CORE_COMM

Constant Value: 1610612740 (0x60000004)

public static final int PT_HP_CORE_KERNEL

Constant Value: 1610612739 (0x60000003)

public static final int PT_HP_CORE_LOADABLE

Constant Value: 1610612742 (0x60000006)

public static final int PT_HP_CORE_MMF

Constant Value: 1610612745 (0x60000009)

public static final int PT_HP_CORE_NONE

Constant Value: 1610612737 (0x60000001)

public static final int PT_HP_CORE_PROC

Constant Value: 1610612741 (0x60000005)

public static final int PT_HP_CORE_SHM

Constant Value: 1610612744 (0x60000008)

public static final int PT_HP_CORE_STACK

Constant Value: 1610612743 (0x60000007)

public static final int PT_HP_CORE_UTSNAME

Constant Value: 1610612757 (0x60000015)

public static final int PT_HP_CORE_VERSION

Constant Value: 1610612738 (0x60000002)

public static final int PT_HP_FASTBIND

Constant Value: 1610612753 (0x60000011)

public static final int PT_HP_HSL_ANNOT

Constant Value: 1610612755 (0x60000013)

public static final int PT_HP_OPT_ANNOT

Constant Value: 1610612754 (0x60000012)

public static final int PT_HP_PARALLEL

Constant Value: 1610612752 (0x60000010)

public static final int PT_HP_STACK

Constant Value: 1610612756 (0x60000014)

public static final int PT_HP_TLS

Constant Value: 1610612736 (0x60000000)

public static final int PT_IA_64_ARCHEXT

Constant Value: 1879048192 (0x70000000)

public static final int PT_IA_64_HP_HSL_ANOT

Constant Value: 1610612755 (0x60000013)

public static final int PT_IA_64_HP_OPT_ANOT

Constant Value: 1610612754 (0x60000012)

public static final int PT_IA_64_HP_STACK

Constant Value: 1610612756 (0x60000014)

public static final int PT_IA_64_UNWIND

Constant Value: 1879048193 (0x70000001)

public static final int PT_INTERP

Constant Value: 3 (0x00000003)

public static final int PT_LOAD

The array element specifies a loadable segment, described by p_filesz and p_memsz. The bytes from the file are mapped to the beginning of the memory segment. If the segment's memory size is larger than the file size, the extra bytes are defined to hold the value 0 and to follow the segment's initialized area. The file size may not be larger than the memory size. Loadable segment entries in the program header table appear in ascending order, sorted on the vaddr member

Constant Value: 1 (0x00000001)

public static final int PT_LOOS

Constant Value: 1610612736 (0x60000000)

public static final int PT_LOPROC

Constant Value: 1879048192 (0x70000000)

public static final int PT_MIPS_OPTIONS

Constant Value: 1879048194 (0x70000002)

public static final int PT_MIPS_REGINFO

Constant Value: 1879048192 (0x70000000)

public static final int PT_MIPS_RTPROC

Constant Value: 1879048193 (0x70000001)

public static final int PT_NOTE

Constant Value: 4 (0x00000004)

public static final int PT_NULL

Constant Value: 0 (0x00000000)

public static final int PT_PARISC_ARCHEXT

Constant Value: 1879048192 (0x70000000)

public static final int PT_PARISC_UNWIND

Constant Value: 1879048193 (0x70000001)

public static final int PT_PARISC_WEAKORDER

Constant Value: 1879048194 (0x70000002)

public static final int PT_PHDR

The array element, if present, specifies the location and size of the program header table itself, both in the file and in the memory image of the program. This segment type may not occur more than once in a file. Moreover, it may occur only if the program header table is part of the memory image of the program. If it is present, it must precede any loadable segment entry. See "Program Interpreter" in the appendix at the end of Book III for further information.

Constant Value: 6 (0x00000006)

public static final int PT_SHLIB

Constant Value: 5 (0x00000005)

public static final int PT_TLS

Constant Value: 7 (0x00000007)

public static final int R_386_16

The following relocations are GNU extensions.

Constant Value: 20 (0x00000014)

public static final int R_386_32

Constant Value: 1 (0x00000001)

public static final int R_386_8

Constant Value: 22 (0x00000016)

public static final int R_386_COPY

Constant Value: 5 (0x00000005)

public static final int R_386_GLOB_DAT

Constant Value: 6 (0x00000006)

public static final int R_386_GOT32

Constant Value: 3 (0x00000003)

public static final int R_386_GOTOFF

Constant Value: 9 (0x00000009)

public static final int R_386_GOTPC

Constant Value: 10 (0x0000000a)

public static final int R_386_IRELATIVE

Constant Value: 42 (0x0000002a)

public static final int R_386_JMP_SLOT

The link editor creates this relocation type for dynamic linking. Its offset member gives the location of a procedure linkage table entry. The dynamic linker modifies the procedure linkage table entry to transfer control to the designated symbol's address.

Constant Value: 7 (0x00000007)

public static final int R_386_NONE

Constant Value: 0 (0x00000000)

public static final int R_386_PC16

Constant Value: 21 (0x00000015)

public static final int R_386_PC32

Constant Value: 2 (0x00000002)

public static final int R_386_PC8

Constant Value: 23 (0x00000017)

public static final int R_386_PLT32

Constant Value: 4 (0x00000004)

public static final int R_386_RELATIVE

Constant Value: 8 (0x00000008)

public static final int R_386_TLS_DESC

Constant Value: 41 (0x00000029)

public static final int R_386_TLS_DESC_CALL

Constant Value: 40 (0x00000028)

public static final int R_386_TLS_DTPMOD32

Constant Value: 35 (0x00000023)

public static final int R_386_TLS_DTPOFF32

Constant Value: 36 (0x00000024)

public static final int R_386_TLS_GD

Constant Value: 18 (0x00000012)

public static final int R_386_TLS_GD_32

More TLS relocations

Constant Value: 24 (0x00000018)

public static final int R_386_TLS_GD_CALL

Constant Value: 26 (0x0000001a)

public static final int R_386_TLS_GD_POP

Constant Value: 27 (0x0000001b)

public static final int R_386_TLS_GD_PUSH

Constant Value: 25 (0x00000019)

public static final int R_386_TLS_GOTDESC

Constant Value: 39 (0x00000027)

public static final int R_386_TLS_GOTIE

Constant Value: 16 (0x00000010)

public static final int R_386_TLS_IE

Constant Value: 15 (0x0000000f)

public static final int R_386_TLS_IE_32

Constant Value: 33 (0x00000021)

public static final int R_386_TLS_LDM

Constant Value: 19 (0x00000013)

public static final int R_386_TLS_LDM_32

Constant Value: 28 (0x0000001c)

public static final int R_386_TLS_LDM_CALL

Constant Value: 30 (0x0000001e)

public static final int R_386_TLS_LDM_POP

Constant Value: 31 (0x0000001f)

public static final int R_386_TLS_LDM_PUSH

Constant Value: 29 (0x0000001d)

public static final int R_386_TLS_LDO_32

Constant Value: 32 (0x00000020)

public static final int R_386_TLS_LE

Constant Value: 17 (0x00000011)

public static final int R_386_TLS_LE_32

Constant Value: 34 (0x00000022)

public static final int R_386_TLS_TPOFF

TLS relocations

Constant Value: 14 (0x0000000e)

public static final int R_386_TLS_TPOFF32

Constant Value: 37 (0x00000025)

public static final int R_AARCH64_ABS16

Constant Value: 259 (0x00000103)

public static final int R_AARCH64_ABS32

Constant Value: 258 (0x00000102)

public static final int R_AARCH64_ABS64

Constant Value: 257 (0x00000101)

public static final int R_AARCH64_ADD_ABS_LO12_NC

Constant Value: 277 (0x00000115)

public static final int R_AARCH64_ADR_PREL_LO21

Constant Value: 274 (0x00000112)

public static final int R_AARCH64_ADR_PREL_PG_HI21

Constant Value: 275 (0x00000113)

public static final int R_AARCH64_ADR_PREL_PG_HI21_NC

Constant Value: 276 (0x00000114)

public static final int R_AARCH64_CALL26

Constant Value: 283 (0x0000011b)

public static final int R_AARCH64_CONDBR19

Constant Value: 280 (0x00000118)

public static final int R_AARCH64_COPY

Constant Value: 1024 (0x00000400)

public static final int R_AARCH64_GLOB_DAT

Constant Value: 1025 (0x00000401)

public static final int R_AARCH64_IRELATIVE

Constant Value: 1032 (0x00000408)

public static final int R_AARCH64_JUMP26

Constant Value: 282 (0x0000011a)

public static final int R_AARCH64_JUMP_SLOT

Constant Value: 1026 (0x00000402)

public static final int R_AARCH64_LDST128_ABS_LO12_NC

Constant Value: 299 (0x0000012b)

public static final int R_AARCH64_LDST16_ABS_LO12_NC

Constant Value: 284 (0x0000011c)

public static final int R_AARCH64_LDST32_ABS_LO12_NC

Constant Value: 285 (0x0000011d)

public static final int R_AARCH64_LDST64_ABS_LO12_NC

Constant Value: 286 (0x0000011e)

public static final int R_AARCH64_LDST8_ABS_LO12_NC

Constant Value: 278 (0x00000116)

public static final int R_AARCH64_LD_PREL_LO19

Constant Value: 273 (0x00000111)

public static final int R_AARCH64_MOVW_PREL_G0

Constant Value: 287 (0x0000011f)

public static final int R_AARCH64_MOVW_PREL_G0_NC

Constant Value: 288 (0x00000120)

public static final int R_AARCH64_MOVW_PREL_G1

Constant Value: 289 (0x00000121)

public static final int R_AARCH64_MOVW_PREL_G1_NC

Constant Value: 290 (0x00000122)

public static final int R_AARCH64_MOVW_PREL_G2

Constant Value: 291 (0x00000123)

public static final int R_AARCH64_MOVW_PREL_G2_NC

Constant Value: 292 (0x00000124)

public static final int R_AARCH64_MOVW_PREL_G3

Constant Value: 293 (0x00000125)

public static final int R_AARCH64_MOVW_SABS_G0

Constant Value: 270 (0x0000010e)

public static final int R_AARCH64_MOVW_SABS_G1

Constant Value: 271 (0x0000010f)

public static final int R_AARCH64_MOVW_SABS_G2

Constant Value: 272 (0x00000110)

public static final int R_AARCH64_MOVW_UABS_G0

Constant Value: 263 (0x00000107)

public static final int R_AARCH64_MOVW_UABS_G0_NC

Constant Value: 264 (0x00000108)

public static final int R_AARCH64_MOVW_UABS_G1

Constant Value: 265 (0x00000109)

public static final int R_AARCH64_MOVW_UABS_G1_NC

Constant Value: 266 (0x0000010a)

public static final int R_AARCH64_MOVW_UABS_G2

Constant Value: 267 (0x0000010b)

public static final int R_AARCH64_MOVW_UABS_G2_NC

Constant Value: 268 (0x0000010c)

public static final int R_AARCH64_MOVW_UABS_G3

Constant Value: 269 (0x0000010d)

public static final int R_AARCH64_NONE

Constant Value: 256 (0x00000100)

public static final int R_AARCH64_NONE_

Constant Value: 0 (0x00000000)

public static final int R_AARCH64_PREL16

Constant Value: 262 (0x00000106)

public static final int R_AARCH64_PREL32

Constant Value: 261 (0x00000105)

public static final int R_AARCH64_PREL64

Constant Value: 260 (0x00000104)

public static final int R_AARCH64_RELATIVE

Constant Value: 1027 (0x00000403)

public static final int R_AARCH64_TLS_DTPREL32

Constant Value: 1031 (0x00000407)

public static final int R_AARCH64_TLS_TPREL64

Constant Value: 1030 (0x00000406)

public static final int R_AARCH64_TSTBR14

Constant Value: 279 (0x00000117)

public static final int R_ARM_ABS12

Constant Value: 6 (0x00000006)

public static final int R_ARM_ABS16

Constant Value: 5 (0x00000005)

public static final int R_ARM_ABS32

Constant Value: 2 (0x00000002)

public static final int R_ARM_ABS32_NOI

Constant Value: 55 (0x00000037)

public static final int R_ARM_ABS8

Constant Value: 8 (0x00000008)

public static final int R_ARM_ALU_PCREL_15_8

Constant Value: 33 (0x00000021)

public static final int R_ARM_ALU_PCREL_23_15

Constant Value: 34 (0x00000022)

public static final int R_ARM_ALU_PCREL_7_0

Constant Value: 32 (0x00000020)

public static final int R_ARM_ALU_PC_G0

Constant Value: 58 (0x0000003a)

public static final int R_ARM_ALU_PC_G0_NC

Constant Value: 57 (0x00000039)

public static final int R_ARM_ALU_PC_G1

Constant Value: 60 (0x0000003c)

public static final int R_ARM_ALU_PC_G1_NC

Constant Value: 59 (0x0000003b)

public static final int R_ARM_ALU_PC_G2

Constant Value: 61 (0x0000003d)

public static final int R_ARM_ALU_SBREL_19_12_NC

Constant Value: 36 (0x00000024)

public static final int R_ARM_ALU_SBREL_27_20_CK

Constant Value: 37 (0x00000025)

public static final int R_ARM_ALU_SB_G0

Constant Value: 71 (0x00000047)

public static final int R_ARM_ALU_SB_G0_NC

Constant Value: 70 (0x00000046)

public static final int R_ARM_ALU_SB_G1

Constant Value: 73 (0x00000049)

public static final int R_ARM_ALU_SB_G1_NC

Constant Value: 72 (0x00000048)

public static final int R_ARM_ALU_SB_G2

Constant Value: 74 (0x0000004a)

public static final int R_ARM_BASE_ABS

Constant Value: 31 (0x0000001f)

public static final int R_ARM_BASE_PREL

Constant Value: 25 (0x00000019)

public static final int R_ARM_BREL_ADJ

Constant Value: 12 (0x0000000c)

public static final int R_ARM_CALL

Constant Value: 28 (0x0000001c)

public static final int R_ARM_COPY

Constant Value: 20 (0x00000014)

public static final int R_ARM_GLOB_DAT

Constant Value: 21 (0x00000015)

public static final int R_ARM_GNU_VTENTRY

Constant Value: 100 (0x00000064)

public static final int R_ARM_GNU_VTINHERIT

Constant Value: 101 (0x00000065)

public static final int R_ARM_GOTOFF12

Constant Value: 98 (0x00000062)

public static final int R_ARM_GOTOFF32

Constant Value: 24 (0x00000018)

public static final int R_ARM_GOTRELAX

Constant Value: 99 (0x00000063)

public static final int R_ARM_GOT_ABS

Constant Value: 95 (0x0000005f)

public static final int R_ARM_GOT_BREL

Constant Value: 26 (0x0000001a)

public static final int R_ARM_GOT_BREL12

Constant Value: 97 (0x00000061)

public static final int R_ARM_GOT_PREL

Constant Value: 96 (0x00000060)

public static final int R_ARM_JUMP24

Constant Value: 29 (0x0000001d)

public static final int R_ARM_JUMP_SLOT

Constant Value: 22 (0x00000016)

public static final int R_ARM_LDC_PC_G0

Constant Value: 67 (0x00000043)

public static final int R_ARM_LDC_PC_G1

Constant Value: 68 (0x00000044)

public static final int R_ARM_LDC_PC_G2

Constant Value: 69 (0x00000045)

public static final int R_ARM_LDC_SB_G0

Constant Value: 81 (0x00000051)

public static final int R_ARM_LDC_SB_G1

Constant Value: 82 (0x00000052)

public static final int R_ARM_LDC_SB_G2

Constant Value: 83 (0x00000053)

public static final int R_ARM_LDRS_PC_G0

Constant Value: 64 (0x00000040)

public static final int R_ARM_LDRS_PC_G1

Constant Value: 65 (0x00000041)

public static final int R_ARM_LDRS_PC_G2

Constant Value: 66 (0x00000042)

public static final int R_ARM_LDRS_SB_G0

Constant Value: 78 (0x0000004e)

public static final int R_ARM_LDRS_SB_G1

Constant Value: 79 (0x0000004f)

public static final int R_ARM_LDRS_SB_G2

Constant Value: 80 (0x00000050)

public static final int R_ARM_LDR_PC_G0

Constant Value: 4 (0x00000004)

public static final int R_ARM_LDR_PC_G1

Constant Value: 62 (0x0000003e)

public static final int R_ARM_LDR_PC_G2

Constant Value: 63 (0x0000003f)

public static final int R_ARM_LDR_SBREL_11_0_NC

Constant Value: 35 (0x00000023)

public static final int R_ARM_LDR_SB_G0

Constant Value: 75 (0x0000004b)

public static final int R_ARM_LDR_SB_G1

Constant Value: 76 (0x0000004c)

public static final int R_ARM_LDR_SB_G2

Constant Value: 77 (0x0000004d)

public static final int R_ARM_ME_TOO

Constant Value: 128 (0x00000080)

public static final int R_ARM_MOVT_ABS

Constant Value: 44 (0x0000002c)

public static final int R_ARM_MOVT_BREL

Constant Value: 85 (0x00000055)

public static final int R_ARM_MOVT_PREL

Constant Value: 46 (0x0000002e)

public static final int R_ARM_MOVW_ABS_NC

Constant Value: 43 (0x0000002b)

public static final int R_ARM_MOVW_BREL

Constant Value: 86 (0x00000056)

public static final int R_ARM_MOVW_BREL_NC

Constant Value: 84 (0x00000054)

public static final int R_ARM_MOVW_PREL_NC

Constant Value: 45 (0x0000002d)

public static final int R_ARM_NONE

Constant Value: 0 (0x00000000)

public static final int R_ARM_PC24

Constant Value: 1 (0x00000001)

public static final int R_ARM_PLT32

Constant Value: 27 (0x0000001b)

public static final int R_ARM_PLT32_ABS

Constant Value: 94 (0x0000005e)

public static final int R_ARM_PREL31

Constant Value: 42 (0x0000002a)

public static final int R_ARM_PRIVATE_0

Constant Value: 112 (0x00000070)

public static final int R_ARM_PRIVATE_1

Constant Value: 113 (0x00000071)

public static final int R_ARM_PRIVATE_10

Constant Value: 122 (0x0000007a)

public static final int R_ARM_PRIVATE_11

Constant Value: 123 (0x0000007b)

public static final int R_ARM_PRIVATE_12

Constant Value: 124 (0x0000007c)

public static final int R_ARM_PRIVATE_13

Constant Value: 125 (0x0000007d)

public static final int R_ARM_PRIVATE_14

Constant Value: 126 (0x0000007e)

public static final int R_ARM_PRIVATE_15

Constant Value: 127 (0x0000007f)

public static final int R_ARM_PRIVATE_2

Constant Value: 114 (0x00000072)

public static final int R_ARM_PRIVATE_3

Constant Value: 115 (0x00000073)

public static final int R_ARM_PRIVATE_4

Constant Value: 116 (0x00000074)

public static final int R_ARM_PRIVATE_5

Constant Value: 117 (0x00000075)

public static final int R_ARM_PRIVATE_6

Constant Value: 118 (0x00000076)

public static final int R_ARM_PRIVATE_7

Constant Value: 119 (0x00000077)

public static final int R_ARM_PRIVATE_8

Constant Value: 120 (0x00000078)

public static final int R_ARM_PRIVATE_9

Constant Value: 121 (0x00000079)

public static final int R_ARM_REL32

Constant Value: 3 (0x00000003)

public static final int R_ARM_REL32_NOI

Constant Value: 56 (0x00000038)

public static final int R_ARM_RELATIVE

Constant Value: 23 (0x00000017)

public static final int R_ARM_SBREL31

Constant Value: 39 (0x00000027)

public static final int R_ARM_SBREL32

Constant Value: 9 (0x00000009)

public static final int R_ARM_TARGET1

Constant Value: 38 (0x00000026)

public static final int R_ARM_TARGET2

Constant Value: 41 (0x00000029)

public static final int R_ARM_THM_ABS5

Constant Value: 7 (0x00000007)

public static final int R_ARM_THM_ALU_PREL_11_0

Constant Value: 53 (0x00000035)

public static final int R_ARM_THM_CALL

Constant Value: 10 (0x0000000a)

public static final int R_ARM_THM_JUMP11

Constant Value: 102 (0x00000066)

public static final int R_ARM_THM_JUMP19

Constant Value: 51 (0x00000033)

public static final int R_ARM_THM_JUMP24

Constant Value: 30 (0x0000001e)

public static final int R_ARM_THM_JUMP6

Constant Value: 52 (0x00000034)

public static final int R_ARM_THM_JUMP8

Constant Value: 103 (0x00000067)

public static final int R_ARM_THM_MOVT_ABS

Constant Value: 48 (0x00000030)

public static final int R_ARM_THM_MOVT_BREL

Constant Value: 88 (0x00000058)

public static final int R_ARM_THM_MOVT_PREL

Constant Value: 50 (0x00000032)

public static final int R_ARM_THM_MOVW_ABS_NC

Constant Value: 47 (0x0000002f)

public static final int R_ARM_THM_MOVW_BREL

Constant Value: 89 (0x00000059)

public static final int R_ARM_THM_MOVW_BREL_NC

Constant Value: 87 (0x00000057)

public static final int R_ARM_THM_MOVW_PREL_NC

Constant Value: 49 (0x00000031)

public static final int R_ARM_THM_PC12

Constant Value: 54 (0x00000036)

public static final int R_ARM_THM_PC8

Constant Value: 11 (0x0000000b)

public static final int R_ARM_THM_SWI8

Constant Value: 14 (0x0000000e)

public static final int R_ARM_THM_TLS_CALL

Constant Value: 93 (0x0000005d)

public static final int R_ARM_THM_TLS_DESCSEQ16

Constant Value: 129 (0x00000081)

public static final int R_ARM_THM_TLS_DESCSEQ32

Constant Value: 130 (0x00000082)

public static final int R_ARM_THM_XPC22

Constant Value: 16 (0x00000010)

public static final int R_ARM_TLS_CALL

Constant Value: 91 (0x0000005b)

public static final int R_ARM_TLS_DESC

Constant Value: 13 (0x0000000d)

public static final int R_ARM_TLS_DESCSEQ

Constant Value: 92 (0x0000005c)

public static final int R_ARM_TLS_DTPMOD32

Constant Value: 17 (0x00000011)

public static final int R_ARM_TLS_DTPOFF32

Constant Value: 18 (0x00000012)

public static final int R_ARM_TLS_GD32

Constant Value: 104 (0x00000068)

public static final int R_ARM_TLS_GOTDESC

Constant Value: 90 (0x0000005a)

public static final int R_ARM_TLS_IE12GP

Constant Value: 111 (0x0000006f)

public static final int R_ARM_TLS_IE32

Constant Value: 107 (0x0000006b)

public static final int R_ARM_TLS_LDM32

Constant Value: 105 (0x00000069)

public static final int R_ARM_TLS_LDO12

Constant Value: 109 (0x0000006d)

public static final int R_ARM_TLS_LDO32

Constant Value: 106 (0x0000006a)

public static final int R_ARM_TLS_LE12

Constant Value: 110 (0x0000006e)

public static final int R_ARM_TLS_LE32

Constant Value: 108 (0x0000006c)

public static final int R_ARM_TLS_TPOFF32

Constant Value: 19 (0x00000013)

public static final int R_ARM_V4BX

Constant Value: 40 (0x00000028)

public static final int R_ARM_XPC25

Constant Value: 15 (0x0000000f)

public static final int R_MICROMIPS_26_S1

Constant Value: 133 (0x00000085)

public static final int R_MICROMIPS_CALL16

Constant Value: 142 (0x0000008e)

public static final int R_MICROMIPS_GOT16

Constant Value: 138 (0x0000008a)

public static final int R_MICROMIPS_GOT_DISP

Constant Value: 145 (0x00000091)

public static final int R_MICROMIPS_GOT_OFST

Constant Value: 147 (0x00000093)

public static final int R_MICROMIPS_GOT_PAGE

Constant Value: 146 (0x00000092)

public static final int R_MICROMIPS_HI16

Constant Value: 134 (0x00000086)

public static final int R_MICROMIPS_LO16

Constant Value: 135 (0x00000087)

public static final int R_MICROMIPS_PC16_S1

Constant Value: 141 (0x0000008d)

public static final int R_MICROMIPS_TLS_DTPREL_HI16

Constant Value: 164 (0x000000a4)

public static final int R_MICROMIPS_TLS_DTPREL_LO16

Constant Value: 165 (0x000000a5)

public static final int R_MICROMIPS_TLS_GD

Constant Value: 162 (0x000000a2)

public static final int R_MICROMIPS_TLS_LDM

Constant Value: 163 (0x000000a3)

public static final int R_MICROMIPS_TLS_TPREL_HI16

Constant Value: 169 (0x000000a9)

public static final int R_MICROMIPS_TLS_TPREL_LO16

Constant Value: 170 (0x000000aa)

public static final int R_MIPS16_GOT16

Constant Value: 102 (0x00000066)

public static final int R_MIPS16_HI16

Constant Value: 104 (0x00000068)

public static final int R_MIPS16_LO16

Constant Value: 105 (0x00000069)

public static final int R_MIPS_16

Constant Value: 1 (0x00000001)

public static final int R_MIPS_26

Constant Value: 4 (0x00000004)

public static final int R_MIPS_32

Constant Value: 2 (0x00000002)

public static final int R_MIPS_64

Constant Value: 18 (0x00000012)

public static final int R_MIPS_ADD_IMMEDIATE

Constant Value: 34 (0x00000022)

public static final int R_MIPS_CALL16

Constant Value: 11 (0x0000000b)

public static final int R_MIPS_CALL_HI16

Constant Value: 30 (0x0000001e)

public static final int R_MIPS_CALL_LO16

Constant Value: 31 (0x0000001f)

public static final int R_MIPS_COPY

Constant Value: 126 (0x0000007e)

public static final int R_MIPS_DELETE

Constant Value: 27 (0x0000001b)

public static final int R_MIPS_GLOB_DAT

Constant Value: 51 (0x00000033)

public static final int R_MIPS_GOT16

Constant Value: 9 (0x00000009)

public static final int R_MIPS_GOT_DISP

Constant Value: 19 (0x00000013)

public static final int R_MIPS_GOT_HI16

Constant Value: 22 (0x00000016)

public static final int R_MIPS_GOT_LO16

Constant Value: 23 (0x00000017)

public static final int R_MIPS_GOT_OFST

Constant Value: 21 (0x00000015)

public static final int R_MIPS_GOT_PAGE

Constant Value: 20 (0x00000014)

public static final int R_MIPS_GPREL16

Constant Value: 7 (0x00000007)

public static final int R_MIPS_GPREL32

Constant Value: 12 (0x0000000c)

public static final int R_MIPS_HI16

Constant Value: 5 (0x00000005)

public static final int R_MIPS_HIGHER

Constant Value: 28 (0x0000001c)

public static final int R_MIPS_HIGHEST

Constant Value: 29 (0x0000001d)

public static final int R_MIPS_INSERT_A

Constant Value: 25 (0x00000019)

public static final int R_MIPS_INSERT_B

Constant Value: 26 (0x0000001a)

public static final int R_MIPS_JALR

Constant Value: 37 (0x00000025)

public static final int R_MIPS_JUMP_SLOT

Constant Value: 127 (0x0000007f)

public static final int R_MIPS_LITERAL

Constant Value: 8 (0x00000008)

public static final int R_MIPS_LO16

Constant Value: 6 (0x00000006)

public static final int R_MIPS_NONE

Constant Value: 0 (0x00000000)

public static final int R_MIPS_NUM

Constant Value: 218 (0x000000da)

public static final int R_MIPS_PC16

Constant Value: 10 (0x0000000a)

public static final int R_MIPS_PC18_S3

Constant Value: 62 (0x0000003e)

public static final int R_MIPS_PC19_S2

Constant Value: 63 (0x0000003f)

public static final int R_MIPS_PC21_S2

Constant Value: 60 (0x0000003c)

public static final int R_MIPS_PC26_S2

Constant Value: 61 (0x0000003d)

public static final int R_MIPS_PC32

Constant Value: 248 (0x000000f8)

public static final int R_MIPS_PCHI16

Constant Value: 64 (0x00000040)

public static final int R_MIPS_PCLO16

Constant Value: 65 (0x00000041)

public static final int R_MIPS_PJUMP

Constant Value: 35 (0x00000023)

public static final int R_MIPS_REL16

Constant Value: 33 (0x00000021)

public static final int R_MIPS_REL32

Constant Value: 3 (0x00000003)

public static final int R_MIPS_RELGOT

Constant Value: 36 (0x00000024)

public static final int R_MIPS_SCN_DISP

Constant Value: 32 (0x00000020)

public static final int R_MIPS_SHIFT5

Constant Value: 16 (0x00000010)

public static final int R_MIPS_SHIFT6

Constant Value: 17 (0x00000011)

public static final int R_MIPS_SUB

Constant Value: 24 (0x00000018)

public static final int R_MIPS_TLS_DTPMOD32

Constant Value: 38 (0x00000026)

public static final int R_MIPS_TLS_DTPMOD64

Constant Value: 40 (0x00000028)

public static final int R_MIPS_TLS_DTPREL32

Constant Value: 39 (0x00000027)

public static final int R_MIPS_TLS_DTPREL64

Constant Value: 41 (0x00000029)

public static final int R_MIPS_TLS_DTPREL_HI16

Constant Value: 44 (0x0000002c)

public static final int R_MIPS_TLS_DTPREL_LO16

Constant Value: 45 (0x0000002d)

public static final int R_MIPS_TLS_GD

Constant Value: 42 (0x0000002a)

public static final int R_MIPS_TLS_GOTTPREL

Constant Value: 46 (0x0000002e)

public static final int R_MIPS_TLS_LDM

Constant Value: 43 (0x0000002b)

public static final int R_MIPS_TLS_TPREL32

Constant Value: 47 (0x0000002f)

public static final int R_MIPS_TLS_TPREL64

Constant Value: 48 (0x00000030)

public static final int R_MIPS_TLS_TPREL_HI16

Constant Value: 49 (0x00000031)

public static final int R_MIPS_TLS_TPREL_LO16

Constant Value: 50 (0x00000032)

public static final int R_MIPS_UNUSED1

Constant Value: 13 (0x0000000d)

public static final int R_MIPS_UNUSED2

Constant Value: 14 (0x0000000e)

public static final int R_X86_64_16

Constant Value: 12 (0x0000000c)

public static final int R_X86_64_32

Constant Value: 10 (0x0000000a)

public static final int R_X86_64_32S

Constant Value: 11 (0x0000000b)

public static final int R_X86_64_64

Constant Value: 1 (0x00000001)

public static final int R_X86_64_8

Constant Value: 14 (0x0000000e)

public static final int R_X86_64_COPY

Constant Value: 5 (0x00000005)

public static final int R_X86_64_DTPMOD64

Constant Value: 16 (0x00000010)

public static final int R_X86_64_DTPOFF32

Constant Value: 21 (0x00000015)

public static final int R_X86_64_DTPOFF64

Constant Value: 17 (0x00000011)

public static final int R_X86_64_GLOB_DAT

Constant Value: 6 (0x00000006)

public static final int R_X86_64_GOT32

Constant Value: 3 (0x00000003)

public static final int R_X86_64_GOT64

Constant Value: 27 (0x0000001b)

public static final int R_X86_64_GOTOFF64

Constant Value: 25 (0x00000019)

public static final int R_X86_64_GOTPC32

Constant Value: 26 (0x0000001a)

public static final int R_X86_64_GOTPC32_TLSDESC

Constant Value: 34 (0x00000022)

public static final int R_X86_64_GOTPC64

Constant Value: 29 (0x0000001d)

public static final int R_X86_64_GOTPCREL

Constant Value: 9 (0x00000009)

public static final int R_X86_64_GOTPCREL64

Constant Value: 28 (0x0000001c)

public static final int R_X86_64_GOTPLT64

Constant Value: 30 (0x0000001e)

public static final int R_X86_64_GOTTPOFF

Constant Value: 22 (0x00000016)

public static final int R_X86_64_IRELATIVE

Constant Value: 37 (0x00000025)

public static final int R_X86_64_JUMP_SLOT

Constant Value: 7 (0x00000007)

public static final int R_X86_64_NONE

Constant Value: 0 (0x00000000)

public static final int R_X86_64_NUM

Constant Value: 39 (0x00000027)

public static final int R_X86_64_PC16

Constant Value: 13 (0x0000000d)

public static final int R_X86_64_PC32

Constant Value: 2 (0x00000002)

public static final int R_X86_64_PC64

Constant Value: 24 (0x00000018)

public static final int R_X86_64_PC8

Constant Value: 15 (0x0000000f)

public static final int R_X86_64_PLT32

Constant Value: 4 (0x00000004)

public static final int R_X86_64_PLTOFF64

Constant Value: 31 (0x0000001f)

public static final int R_X86_64_RELATIVE

Constant Value: 8 (0x00000008)

public static final int R_X86_64_RELATIVE64

Constant Value: 38 (0x00000026)

public static final int R_X86_64_SIZE32

Constant Value: 32 (0x00000020)

public static final int R_X86_64_SIZE64

Constant Value: 33 (0x00000021)

public static final int R_X86_64_TLSDESC

Constant Value: 36 (0x00000024)

public static final int R_X86_64_TLSDESC_CALL

Constant Value: 35 (0x00000023)

public static final int R_X86_64_TLSGD

Constant Value: 19 (0x00000013)

public static final int R_X86_64_TLSLD

Constant Value: 20 (0x00000014)

public static final int R_X86_64_TPOFF32

Constant Value: 23 (0x00000017)

public static final int R_X86_64_TPOFF64

Constant Value: 18 (0x00000012)

public static final int SHF_ALLOC

Constant Value: 2 (0x00000002)

public static final int SHF_COMPRESSED

Constant Value: 2048 (0x00000800)

public static final int SHF_EXECINSTR

Constant Value: 4 (0x00000004)

public static final int SHF_GROUP

Constant Value: 512 (0x00000200)

public static final int SHF_INFO_LINK

Constant Value: 64 (0x00000040)

public static final int SHF_LINK_ORDER

Constant Value: 128 (0x00000080)

public static final int SHF_MASKOS

Constant Value: 267386880 (0x0ff00000)

public static final int SHF_MASKPROC

Constant Value: -268435456 (0xf0000000)

public static final int SHF_MERGE

Constant Value: 16 (0x00000010)

public static final int SHF_OS_NONCONFORMING

Constant Value: 256 (0x00000100)

public static final int SHF_STRINGS

Constant Value: 32 (0x00000020)

public static final int SHF_TLS

Constant Value: 1024 (0x00000400)

public static final int SHF_WRITE

Constant Value: 1 (0x00000001)

public static final int SHN_ABS

This value specifies absolute values for the corresponding reference. For example, symbols defined relative to section number SHN_ABS have absolute values and are not affected by relocation.

Constant Value: 65521 (0x0000fff1)

public static final int SHN_COMMON

Symbols defined relative to this section are common symbols, such as FORTRAN COMMON or unallocated C external variables.

Constant Value: 65522 (0x0000fff2)

public static final int SHN_HIOS

SHN_LOOS through SHN_HIOS: Values in this inclusive range are reserved for operating system-specific semantics.

Constant Value: 65343 (0x0000ff3f)

public static final int SHN_HIPROC

SHN_LOPROC through SHN_HIPROC: Values in this inclusive range are reserved for processor-specific semantics.

Constant Value: 65311 (0x0000ff1f)

public static final int SHN_HIRESERVE

This value specifies the upper bound of the range of reserved indexes. The system reserves indexes between SHN_LORESERVE and SHN_HIRESERVE, inclusive; the values do not reference the section header table. The section header table does not contain entries for the reserved indexes.

Constant Value: 65535 (0x0000ffff)

public static final int SHN_LOOS

SHN_LOOS through SHN_HIOS: Values in this inclusive range are reserved for operating system-specific semantics.

Constant Value: 65312 (0x0000ff20)

public static final int SHN_LOPROC

SHN_LOPROC through SHN_HIPROC: Values in this inclusive range are reserved for processor-specific semantics.

Constant Value: 65280 (0x0000ff00)

public static final int SHN_LORESERVE

This value specifies the lower bound of the range of reserved indexes.

Constant Value: 65280 (0x0000ff00)

public static final int SHN_UNDEF

This value marks an undefined, missing, irrelevant, or otherwise meaningless section reference. For example, a symbol ``defined'' relative to section number SHN_UNDEF is an undefined symbol.

Constant Value: 0 (0x00000000)

public static final int SHN_XINDEX

This value is an escape value. It indicates that the actual section header index is too large to fit in the containing field and is to be found in another location (specific to the structure where it appears).

Constant Value: 65535 (0x0000ffff)

public static final int SHT32_ENTRY_SIZE_MIN

Constant Value: 40 (0x00000028)

public static final int SHT64_ENTRY_SIZE_MIN

Constant Value: 64 (0x00000040)

public static final int SHT_ARM_ATTRIBUTES

Constant Value: 1879048195 (0x70000003)

public static final int SHT_ARM_DEBUGOVERLAY

Constant Value: 1879048196 (0x70000004)

public static final int SHT_ARM_EXIDX

Constant Value: 1879048193 (0x70000001)

public static final int SHT_ARM_OVERLAYSECTION

Constant Value: 1879048197 (0x70000005)

public static final int SHT_ARM_PREEMPTMAP

Constant Value: 1879048194 (0x70000002)

public static final int SHT_DYNAMIC

The section holds information for dynamic linking. Currently, an object file may have only one dynamic section, but this restriction may be relaxed in the future.

Constant Value: 6 (0x00000006)

public static final int SHT_DYNSYM

SHT_SYMTAB and SHT_DYNSYM: These sections hold a symbol table. Currently, an object file may have only one section of each type, but this restriction may be relaxed in the future. Typically, SHT_SYMTAB provides symbols for link editing, though it may also be used for dynamic linking. As a complete symbol table, it may contain many symbols unnecessary for dynamic linking. Consequently, an object file may also contain a SHT_DYNSYM section, which holds a minimal set of dynamic linking symbols, to save space. See ``Symbol Table'' below for details.

Constant Value: 11 (0x0000000b)

public static final int SHT_FINI_ARRAY

This section contains an array of pointers to termination functions. Each pointer in the array is taken as a parameterless procedure with a void return.

Constant Value: 15 (0x0000000f)

public static final int SHT_GNU_ATTRIBUTES

Constant Value: 1879048181 (0x6ffffff5)

public static final int SHT_GNU_HASH

Constant Value: 1879048182 (0x6ffffff6)

public static final int SHT_GNU_LIBLIST

Constant Value: 1879048183 (0x6ffffff7)

public static final int SHT_GNU_verdef

Constant Value: 1879048189 (0x6ffffffd)

public static final int SHT_GNU_verneed

Constant Value: 1879048190 (0x6ffffffe)

public static final int SHT_GNU_versym

Constant Value: 1879048191 (0x6fffffff)

public static final int SHT_GROUP

This section defines a section group. A section group is a set of sections that are related and that must be treated specially by the linker. Sections of type SHT_GROUP may appear only in relocatable objects (objects with the ELF header e_type member set to ET_REL). The section header table entry for a group section must appear in the section header table before the entries for any of the sections that are members of the group.

Constant Value: 17 (0x00000011)

public static final int SHT_HASH

The section holds a symbol hash table. Currently, an object file may have only one hash table, but this restriction may be relaxed in the future.

Constant Value: 5 (0x00000005)

public static final int SHT_HIOS

SHT_LOOS through SHT_HIOS: Values in this inclusive range are reserved for operating system-specific semantics.

Constant Value: 1879048191 (0x6fffffff)

public static final int SHT_HIPROC

SHT_LOPROC through SHT_HIPROC: Values in this inclusive range are reserved for processor-specific semantics.

Constant Value: 2147483647 (0x7fffffff)

public static final int SHT_HIUSER

This value specifies the upper bound of the range of indexes reserved for application programs. Section types between SHT_LOUSER and SHT_HIUSER may be used by the application, without conflicting with current or future system-defined section types.

Constant Value: -1 (0xffffffff)

public static final int SHT_INIT_ARRAY

This section contains an array of pointers to initialization functions. Each pointer in the array is taken as a parameterless procedure with a void return.

Constant Value: 14 (0x0000000e)

public static final int SHT_LOOS

SHT_LOOS through SHT_HIOS: Values in this inclusive range are reserved for operating system-specific semantics.

Constant Value: 1610612736 (0x60000000)

public static final int SHT_LOPROC

SHT_LOPROC through SHT_HIPROC: Values in this inclusive range are reserved for processor-specific semantics.

Constant Value: 1879048192 (0x70000000)

public static final int SHT_LOUSER

This value specifies the lower bound of the range of indexes reserved for application programs.

Constant Value: -2147483648 (0x80000000)

public static final int SHT_MIPS_ABIFLAGS

Constant Value: 1879048234 (0x7000002a)

public static final int SHT_MIPS_OPTIONS

Constant Value: 1879048205 (0x7000000d)

public static final int SHT_MIPS_REGINFO

Constant Value: 1879048198 (0x70000006)

public static final int SHT_NOBITS

A section of this type occupies no space in the file but otherwise resembles SHT_PROGBITS. Although this section contains no bytes, the sh_offset member contains the conceptual file offset.

Constant Value: 8 (0x00000008)

public static final int SHT_NOTE

The section holds information that marks the file in some way.

Constant Value: 7 (0x00000007)

public static final int SHT_NULL

This value marks the section header as inactive; it does not have an associated section. Other members of the section header have undefined values.

Constant Value: 0 (0x00000000)

public static final int SHT_PREINIT_ARRAY

This section contains an array of pointers to functions that are invoked before all other initialization functions. Each pointer in the array is taken as a parameterless procedure with a void return.

Constant Value: 16 (0x00000010)

public static final int SHT_PROGBITS

The section holds information defined by the program, whose format and meaning are determined solely by the program.

Constant Value: 1 (0x00000001)

public static final int SHT_REL

The section holds relocation entries without explicit addends, such as type Elf32_Rel for the 32-bit class of object files or type Elf64_Rel for the 64-bit class of object files. An object file may have multiple relocation sections.

Constant Value: 9 (0x00000009)

public static final int SHT_RELA

The section holds relocation entries with explicit addends, such as type Elf32_Rela for the 32-bit class of object files or type Elf64_Rela for the 64-bit class of object files. An object file may have multiple relocation sections.

Constant Value: 4 (0x00000004)

public static final int SHT_SHLIB

This section type is reserved but has unspecified semantics.

Constant Value: 10 (0x0000000a)

public static final int SHT_STRTAB

The section holds a string table. An object file may have multiple string table sections.

Constant Value: 3 (0x00000003)

public static final int SHT_SYMTAB

SHT_SYMTAB and SHT_DYNSYM: These sections hold a symbol table. Currently, an object file may have only one section of each type, but this restriction may be relaxed in the future. Typically, SHT_SYMTAB provides symbols for link editing, though it may also be used for dynamic linking. As a complete symbol table, it may contain many symbols unnecessary for dynamic linking. Consequently, an object file may also contain a SHT_DYNSYM section, which holds a minimal set of dynamic linking symbols, to save space.

Constant Value: 2 (0x00000002)

public static final int SHT_SYMTAB_SHNDX

This section is associated with a section of type SHT_SYMTAB and is required if any of the section header indexes referenced by that symbol table contain the escape value SHN_XINDEX. The section is an array of Elf32_Word values. Each value corresponds one to one with a symbol table entry and appear in the same order as those entries. The values represent the section header indexes against which the symbol table entries are defined. Only if corresponding symbol table entry's st_shndx field contains the escape value SHN_XINDEX will the matching Elf32_Word hold the actual section header index; otherwise, the entry must be SHN_UNDEF (0).

Constant Value: 18 (0x00000012)

public static final int SIZEOF_SYMBOL_ENTRY_32

Constant Value: 16 (0x00000010)

public static final int SIZEOF_SYMBOL_ENTRY_64

Constant Value: 24 (0x00000018)

public static final int STB_GLOBAL

Global symbols are visible to all object files being combined. One file's definition of a global symbol will satisfy another file's undefined reference to the same global symbol.

Constant Value: 1 (0x00000001)

public static final int STB_HIPROC

Constant Value: 15 (0x0000000f)

public static final int STB_LOCAL

Local symbols are not visible outside the object file containing their definition. Local symbols of the same name may exist in multiple files without interfering with each other.

Constant Value: 0 (0x00000000)

public static final int STB_LOPROC

Constant Value: 13 (0x0000000d)

public static final int STB_WEAK

Weak symbols resemble global symbols, but their definitions have lower precedence.

Constant Value: 2 (0x00000002)

public static final int STT_COMMON

An uninitialized common block

Constant Value: 5 (0x00000005)

public static final int STT_FILE

Local, absolute symbol that refers to a file.

Conventionally, the symbol's name gives the name of the source file associated with the object file. A file symbol has STB_LOCAL binding, its section index is SHN_ABS, and it precedes the other STB_LOCAL symbols for the file, if it is present.

Constant Value: 4 (0x00000004)

public static final int STT_FUNC

The symbol is associated with a function or other executable code.

Constant Value: 2 (0x00000002)

public static final int STT_GNU_IFUNC

GNU indirect function

Constant Value: 10 (0x0000000a)

public static final int STT_HIOS

Constant Value: 12 (0x0000000c)

public static final int STT_HIPROC

Constant Value: 15 (0x0000000f)

public static final int STT_LOOS

Constant Value: 10 (0x0000000a)

public static final int STT_LOPROC

Constant Value: 13 (0x0000000d)

public static final int STT_NOTYPE

Constant Value: 0 (0x00000000)

public static final int STT_OBJECT

The symbol is associated with a data object, such as a variable, an array, etc.

Constant Value: 1 (0x00000001)

public static final int STT_SECTION

The symbol is associated with a section. Symbol table entries of this type exist primarily for relocation and normally have STB_LOCAL binding.

Constant Value: 3 (0x00000003)

public static final int STT_TLS

Thread local data object

Constant Value: 6 (0x00000006)

public static final int STV_DEFAULT

Constant Value: 0 (0x00000000)

public static final int STV_HIDDEN

Constant Value: 2 (0x00000002)

public static final int STV_INTERNAL

Constant Value: 1 (0x00000001)

public static final int STV_PROTECTED

Constant Value: 3 (0x00000003)

Fields

public static byte[] ElfMagic

public static int ElfMagicIntBE

public static int ElfMagicIntLE

Public Constructors

public ELF ()

Public Methods

public static int Force_SE (int operand, int opSize)

public static long SE (long operand, int opSize)

public static String getArmAttributeTagString (int tag)

public static String getDT (int tag)

public static String getELFClassString (int id)

public static String getELFDataString (int id)

public static String getEMString (int id)

public static String getETString (int id)

public static String getEVString (int id)

public static String getNoteAndroidVersionString (byte[] descData, ByteOrder order)

public static String getNoteGnuABIString (byte[] descData, ByteOrder order)

public static String getNoteTypeString (String name, int type)

public static String getOSABIString (int osabi)

public static String getPFString (int programFlags)

public static String getPTString (int programType)

public static String getPTString (int programType, int emachine)

public static String getRTString (ProcessorType proctype, int id)

public static String getSHFString (int id)

public static String getSHFStringFlags (int flags)

public static String getSHNString (int id)

public static String getSHTString (int id)

public static String getSTBString (int id)

public static String getSTTString (int id)

public static String getSTVString (int v)

public static ELF.WellKnownSection getSection (int type, String name)

Retrieve the well-known ELF section or null if unknown

Parameters
type Section type, see SHT_*
name Section name, starting by "."

public static String getX86RTString (int id)

public static int high (int x)

public static boolean isRT_GLOB_DAT (ProcessorType proctype, int relocationType)

public static boolean isRT_JUMP_SLOT (ProcessorType proctype, int relocationType)

public static int relocate (int id, int A, int ABitCount, int AHL, int P, int S, int G, int GP, int GP0, int EA, int L, ELF.SymbolLocality sym)