dmd.scanelf
Extract symbols from an ELF object file.
License
Source: scanelf.d
Documentation: https://dlang.org/phobos/dmd_scanelf.html
-
Declaration
voidscanElfObjModule(void delegate(const(char)[] name, int pickAny)pAddSymbol, const(ubyte)[]base, const(char)*module_name, Locloc);Reads an object module from
base[] and passes the names of any exported symbols to (*pAddSymbol)().Parameters
void delegate(const(char)[] name, int pickAny)pAddSymbolfunction to pass the names to
const(ubyte)[]basearray of contents of object module
const(char)*module_namename of the object module (used for error messages)
Locloclocation to use for error printing