scanMachObjModule

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

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

Parameters

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

function to pass the names to

base
Type: const(ubyte)[]

array of contents of object module

module_name
Type: const(char)*

name of the object module (used for error messages)

loc
Type: Loc

location to use for error printing

Meta