ElfRelocationTable.this

this(ElfFile file, size_t sectionIndex)

Constructor from an ELF file and section index.

The section should be either SHT_REL or SHT_RELA.

Parameters

fileThe ELF file.
sectionIndexThe index of the relocation section.

Throws

Exception if the section is not a valid relocation section.