scanMSCoffObjModule

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

void
scanMSCoffObjModule
(
void delegate
(
const(char)[] name
,)
pAddSymbol
,
scope const ubyte[] base
,
const char* module_name
,,)

Parameters

pAddSymbol void delegate
(
const(char)[] name
,)

function to pass the names to

base ubyte[]

array of contents of object module

module_name char*

name of the object module (used for error messages)

loc Loc

location to use for error printing

eSink ErrorSink

where the error messages go

Meta