Interface IELFSymbolEntry
public interface IELFSymbolEntry
An ELF symbol.
-
Method Summary
Modifier and TypeMethodDescriptionFormat this symbol for display.longGet the symbol address.intGet symbol binding.getName()Get symbol name.intGet section header index.longgetSize()Get symbol size.intgetType()Get symbol type.longgetValue()Get symbol value.intGet symbol visibility.booleanDetermine whether the symbol is external.
-
Method Details
-
getValue
long getValue()Get symbol value.- Returns:
- symbol value
-
getSize
long getSize()Get symbol size.- Returns:
- symbol size
-
getType
int getType()Get symbol type.- Returns:
- symbol type
-
getBinding
int getBinding()Get symbol binding.- Returns:
- symbol binding
-
getVisibility
int getVisibility()Get symbol visibility.- Returns:
- symbol visibility
-
getName
String getName()Get symbol name.- Returns:
- symbol name
-
getAddress
long getAddress()Get the symbol address.- Returns:
- relative virtual address
-
isExternal
boolean isExternal()Determine whether the symbol is external.- Returns:
- true if the symbol is external
-
getShIndex
int getShIndex()Get section header index.- Returns:
- section header index
-
format
Format this symbol for display.- Parameters:
elf- owning ELF unit- Returns:
- formatted symbol
-