public interface ELFSectionHeader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DYNAMIC_STRING_TABLE_NAME
Section header name identifying the section as a dynamic string
table.
|
static int |
FLAG_ALLOC
Flag informing that section occupies memory during process
execution.
|
static int |
FLAG_EXEC_INSTR
Flag informaing that section contains executable machine
instructions.
|
static int |
FLAG_MASK
Flag informing that all the bits in the mask are reserved for processor
specific semantics.
|
static int |
FLAG_WRITE
Flag informing that this section contains data that should be writable
during process execution.
|
static int |
NDX_ABS
Absolute values for the corresponding reference.
|
static int |
NDX_COMMON
Symbols defined relative to this section are common symbols, such
as FORTRAN, COMMON or unallocated C external variables.
|
static int |
NDX_HIPROC
Upper bound section header index reserved for processor specific
semantics.
|
static int |
NDX_HIRESERVE
Upper bound section header index.
|
static int |
NDX_LOPROC
Lower bound section header index reserved for processor specific
semantics.
|
static int |
NDX_LORESERVE
Lower bound section header index.
|
static int |
NDX_UNDEFINED
Undefined section header index.
|
static java.lang.String |
STRING_TABLE_NAME
Section header name identifying the section as a string table.
|
static int |
TYPE_DYNAMIC
Section holds information for dynamic linking.
|
static int |
TYPE_DYNSYM
Section holds a minimum set of dynamic linking symbols.
|
static int |
TYPE_HASH
Section holds symbol hash table.
|
static int |
TYPE_HIPROC
Upper bound section type that contains processor specific semantics.
|
static int |
TYPE_HIUSER
Upper bound of the range of indexes reserved for application
programs.
|
static int |
TYPE_LOPROC
Lower bound section type that contains processor specific semantics.
|
static int |
TYPE_LOUSER
Lower bound of the range of indexes reserved for application
programs.
|
static int |
TYPE_NOBITS
Section occupies no space but resembles TYPE_PROGBITS.
|
static int |
TYPE_NOTE
Section holds information that marks the file.
|
static int |
TYPE_NULL
Section is inactive.
|
static int |
TYPE_PROGBITS
Section holds information defined by the program.
|
static int |
TYPE_RELO
Section holds relocation entries without explicit addends.
|
static int |
TYPE_RELO_EXPLICIT
Section holds relocation entries with explicit addends.
|
static int |
TYPE_SHLIB
Section is reserved but has unspecified semantics.
|
static int |
TYPE_STRTBL
Section holds string table information.
|
static int |
TYPE_SYMTBL
Section holds symbol table information for link editing.
|
Modifier and Type | Method and Description |
---|---|
ELFSymbol |
getELFSymbol(int index)
Returns the symbol at the specified index.
|
ELFHashTable |
getHashTable()
Returns the hash table for this section or null if one does not
exist.
|
int |
getLink() |
java.lang.String |
getName()
Returns the name of the section or null if the section has no name.
|
int |
getNumberOfSymbols()
Returns the number of symbols in this section or 0 if none.
|
int |
getOffset()
Returns the offset in bytes to the beginning of the section.
|
ELFStringTable |
getStringTable()
Returns the string table for this section or null if one does not
exist.
|
int |
getType()
Returns the type of section header.
|
static final int NDX_UNDEFINED
static final int NDX_LORESERVE
static final int NDX_LOPROC
static final int NDX_HIPROC
static final int NDX_ABS
static final int NDX_COMMON
static final int NDX_HIRESERVE
static final int TYPE_NULL
static final int TYPE_PROGBITS
static final int TYPE_SYMTBL
static final int TYPE_STRTBL
static final int TYPE_RELO_EXPLICIT
static final int TYPE_HASH
static final int TYPE_DYNAMIC
static final int TYPE_NOTE
static final int TYPE_NOBITS
static final int TYPE_RELO
static final int TYPE_SHLIB
static final int TYPE_DYNSYM
static final int TYPE_LOPROC
static final int TYPE_HIPROC
static final int TYPE_LOUSER
static final int TYPE_HIUSER
static final int FLAG_WRITE
static final int FLAG_ALLOC
static final int FLAG_EXEC_INSTR
static final int FLAG_MASK
static final java.lang.String STRING_TABLE_NAME
static final java.lang.String DYNAMIC_STRING_TABLE_NAME
int getType()
int getNumberOfSymbols()
ELFSymbol getELFSymbol(int index)
ELFStringTable getStringTable()
ELFHashTable getHashTable()
int getLink()
java.lang.String getName()
int getOffset()
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.