Interface IELFRelocationTable
public interface IELFRelocationTable
Description of a relocation table, holding relocation entries.
-
Method Summary
Modifier and TypeMethodDescriptionFormat this relocation table for display.intGet number of relocation entries.List<? extends IELFRelocationEntry> Get relocation entries.getEntry(int index) Retrieve a relocation entry by index.longGet relocation table file offset.intGet relocation section index.intGet associated symbol section index.intGet target section index.
-
Method Details
-
getCountOfEntries
int getCountOfEntries()Get number of relocation entries.- Returns:
- number of relocation entries
-
getEntries
List<? extends IELFRelocationEntry> getEntries()Get relocation entries.- Returns:
- relocation entries
-
getEntry
Retrieve a relocation entry by index.- Parameters:
index- relocation entry index- Returns:
- relocation entry
-
getSectionIndex
int getSectionIndex()Get relocation section index.- Returns:
- relocation section index
-
getSymbolSectionIndex
int getSymbolSectionIndex()Get associated symbol section index.- Returns:
- associated symbol section index
-
getTargetSectionIndex
int getTargetSectionIndex()Get target section index.- Returns:
- target section index
-
getFileOffset
long getFileOffset()Get relocation table file offset.- Returns:
- relocation table file offset
-
format
Format this relocation table for display.- Parameters:
elf- owning ELF unit- Returns:
- formatted relocation table
-