getSectionByIndex

fnElfSection getSectionByIndex(ElfFile file, size_t index)

Get a section by its index.

Parameters

fileThe ELF file.
indexThe section index.

Returns

An ElfSection for the specified index.

Throws

Exception if the index is out of bounds.