listDependencies

fnstring[] listDependencies(ElfFile file)

List the dynamic dependencies (needed libraries) of an ELF file.

Parameters

fileThe ELF file to list dependencies from.

Returns

An array of library names that the file depends on.

Throws

Exception if the dynamic section cannot be found or read.