scanMachObjModule

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

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

Parameters

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

function to pass the names to

base const(ubyte)[]

array of contents of object module

module_name const(char)*

name of the object module (used for error messages)

loc Loc

location to use for error printing

Meta