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.scanomf
Extract symbols from an OMF object file.
Authors:
License:
Source scanomf.d
Documentation https://dlang.org/phobos/dmd_scanomf.html
- nothrow void
scanOmfObjModule
(void delegate(const(char)[] name, int pickAny) nothrowpAddSymbol
, scope const ubyte[]base
, scope const char*module_name
, Locloc
, ErrorSinkeSink
); - Reads an object module from base[] and passes the names of any exported symbols to (*pAddSymbol)().Parameters:
void delegate(const(char)[] name, int pickAny) nothrow pAddSymbol
function to pass the names to ubyte[] base
array of contents of object module char* module_name
name of the object module (used for error messages) Loc loc
location to use for error printing ErrorSink eSink
where the error messages go - nothrow bool
scanOmfLib
(void delegate(char* name, void* base, size_t length) nothrowpAddObjModule
, scope void*buf
, size_tbuflen
, uintpagesize
); - Scan a block of memory buf[0..buflen], pulling out each OMF object module in it and sending the info in it to (*pAddObjModule).Returns:true for corrupt OMF data
Copyright © 1999-2024 by the D Language Foundation | Page generated by
Ddoc on (no date time)