Interface IELFRelocationEntry
public interface IELFRelocationEntry
Description of a relocation entry.
-
Method Summary
Modifier and TypeMethodDescriptionformat(IELFUnit elf, IELFSymbolTable st) Format this relocation entry for display.longGet relocation addend.longgetInfo()Get relocation info word.longGet relocation offset.intGet symbol table index.intgetType()Get relocation type.booleanDetermine whether an addend is present.
-
Method Details
-
getOffset
long getOffset()Get relocation offset.- Returns:
- relocation offset
-
getInfo
long getInfo()Get relocation info word.- Returns:
- relocation info word
-
isAddendSet
boolean isAddendSet()Determine whether an addend is present.- Returns:
- true if an addend is present
-
getAddend
long getAddend()Get relocation addend.- Returns:
- relocation addend
-
getSymbolIndex
int getSymbolIndex()Get symbol table index.- Returns:
- symbol table index
-
getType
int getType()Get relocation type.- Returns:
- relocation type
-
format
Format this relocation entry for display.- Parameters:
elf- owning ELF unitst- symbol table- Returns:
- formatted relocation entry
-