public interface ELFHeader
Modifier and Type | Field and Description |
---|---|
static int |
ARCH_68k
Motorolla 68000 architecture type.
|
static int |
ARCH_88k
Motorolla 88000 architecture type.
|
static int |
ARCH_ATT
AT&T architecture type.
|
static int |
ARCH_i386
Intel 386 architecture type.
|
static int |
ARCH_i860
Intel 860 architecture type.
|
static int |
ARCH_MIPS
MIPS architecture type.
|
static int |
ARCH_NONE
No architecture type.
|
static int |
ARCH_SPARC
SPARC architecture type.
|
static int |
FT_CORE
Core file file type.
|
static int |
FT_DYN
Shared object file type.
|
static int |
FT_EXEC
Executable file type.
|
static int |
FT_HICPROC
Processor specific.
|
static int |
FT_LOCPROC
Processor specific.
|
static int |
FT_NONE
No file type.
|
static int |
FT_REL
Relocatable file type.
|
Modifier and Type | Method and Description |
---|---|
short |
getArch()
Returns one of the architecture constants.
|
ELFStringTable |
getDynamicStringTable()
Returns the dynamic string table associated with this ELF file, or null
if one does not exist.
|
ELFSectionHeader |
getDynamicSymbolTableSection()
Returns the dynamic symbol table associated with this ELF file, or null
if one does not exist.
|
ELFSymbol |
getELFSymbol(long address)
Returns the elf symbol with the specified address or null if one is not
found.
|
ELFSymbol |
getELFSymbol(java.lang.String name)
Returns the elf symbol with the specified name or null if one is not
found.
|
short |
getFileType()
Returns a file type which is defined by the file type constants.
|
ELFHashTable |
getHashTable()
Returns the hash table associated with this ELF file, or null if one
does not exist.
|
short |
getNumberOfSectionHeaders()
Returns the number of section headers.
|
ELFSectionHeader |
getSectionHeader(int index)
Returns the section header at the specified index.
|
short |
getSectionHeaderSize()
Returns the size of a section header.
|
ELFStringTable |
getSectionHeaderStringTable()
Returns the section header string table associated with this ELF
file.
|
ELFStringTable |
getStringTable()
Returns the string table associated with this ELF file.
|
ELFSectionHeader |
getSymbolTableSection()
Returns the symbol table associated with this ELF file, or null if one
does not exist.
|
static final int FT_NONE
static final int FT_REL
static final int FT_EXEC
static final int FT_DYN
static final int FT_CORE
static final int FT_LOCPROC
static final int FT_HICPROC
static final int ARCH_NONE
static final int ARCH_ATT
static final int ARCH_SPARC
static final int ARCH_i386
static final int ARCH_68k
static final int ARCH_88k
static final int ARCH_i860
static final int ARCH_MIPS
short getFileType()
short getArch()
short getSectionHeaderSize()
short getNumberOfSectionHeaders()
ELFSectionHeader getSectionHeader(int index)
ELFStringTable getSectionHeaderStringTable()
ELFStringTable getStringTable()
ELFStringTable getDynamicStringTable()
ELFHashTable getHashTable()
ELFSectionHeader getSymbolTableSection()
ELFSectionHeader getDynamicSymbolTableSection()
ELFSymbol getELFSymbol(java.lang.String name)
ELFSymbol getELFSymbol(long address)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.