ElfEditor.load

ElfEditor load(string path)

Load an existing ELF file for editing.

This method reads the ELF file and populates the internal builder with its contents. Note that complex relocations and dynamic entries may not be fully preserved in this initial implementation.

Parameters

pathPath to the ELF file to load.

Returns

A new ElfEditor instance with the loaded file contents.

Throws

Exception if the file cannot be read or is not a valid ELF file.