View source code
Display the source code in dmd/scanelf.d from which thispage was generated on github.
Report a bug
If you spot a problem with this page, click here to create aBugzilla 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 usinglocal clone.

Function dmd.scanelf.scanElfObjModule

Reads an object module from base[] and passes the names of any exported symbols to (*pAddSymbol)().

void scanElfObjModule(
  void delegate(const(char)[], int) pAddSymbol,
  scope const(ubyte[]) base,
  const(char*) module_name,
  Loc loc,
  ErrorSink eSink
);

Parameters

NameDescription
pAddSymbol function to pass the names to
base array of contents of object module
module_name name of the object module (used for error messages)
loc location to use for error printing
eSink where the error messages go

Authors

Walter Bright

License

Boost License 1.0