Interface IELFRelocationTable


public interface IELFRelocationTable
Description of a relocation table, holding relocation entries.
  • 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

      IELFRelocationEntry getEntry(int index)
      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

      String format(IELFUnit elf)
      Format this relocation table for display.
      Parameters:
      elf - owning ELF unit
      Returns:
      formatted relocation table