getInterpreter
fn
string getInterpreter(ElfFile file)Get the interpreter path from an ELF file.
Returns the path to the program interpreter (e.g., /lib64/ld-linux-x86-64.so.2).
Parameters
file | The ELF file to get the interpreter from. |
Returns
The interpreter path as a string, or null if not found.
Throws
Exception if the interpreter section cannot be read.