Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

dmd.scanelf

Extract symbols from an ELF object file.
Authors:

Source scanelf.d

void scanElfObjModule(void delegate(const(char)[] name, int pickAny) pAddSymbol, const(ubyte)[] base, const(char)* module_name, Loc loc);
Reads an object module from base[] and passes the names of any exported symbols to (*pAddSymbol)().
Parameters:
void delegate(const(char)[] name, int pickAny) pAddSymbol function to pass the names to
const(ubyte)[] base array of contents of object module
const(char)* module_name name of the object module (used for error messages)
Loc loc location to use for error printing