getRelocationTableByName

fnElfRelocationTable getRelocationTableByName(ElfFile file, string name)

Get a relocation table by section name from an ELF file.

Parameters

fileThe ELF file.
nameThe section name (e.g., ".rel.dyn", ".rela.plt").

Returns

An ElfRelocationTable for the specified section.

Throws

Exception if the section cannot be found or is not a relocation section.