ddmd.scanomf

Compiler implementation of the D programming language.

Members

Functions

OMFObjSize
uint OMFObjSize(const(void)* base, uint length, const(char)* name)
Undocumented in source. Be warned that the author may not have intended to support it.
parseName
void parseName(const(ubyte)** pp, char* name)
Undocumented in source. Be warned that the author may not have intended to support it.
scanOmfLib
bool scanOmfLib(void delegate(char* name, void* base, size_t length) pAddObjModule, void* buf, size_t buflen, uint pagesize)

Scan a block of memory buf[0..buflen], pulling out each OMF object module in it and sending the info in it to (*pAddObjModule).

scanOmfObjModule
void scanOmfObjModule(void delegate(const(char)[] name, int pickAny) pAddSymbol, const(ubyte)[] base, const(char)* module_name, Loc loc)

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

writeOMFObj
void writeOMFObj(OutBuffer* buf, const(void)* base, uint length, const(char)* name)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

ALIAS
enum ALIAS;
Undocumented in source.
BLKDEF
enum BLKDEF;
Undocumented in source.
BLKEND
enum BLKEND;
Undocumented in source.
CEXTDEF
enum CEXTDEF;
Undocumented in source.
COMDAT
enum COMDAT;
Undocumented in source.
COMDEF
enum COMDEF;
Undocumented in source.
COMENT
enum COMENT;
Undocumented in source.
DEBSYM
enum DEBSYM;
Undocumented in source.
ENDREC
enum ENDREC;
Undocumented in source.
EXTDEF
enum EXTDEF;
Undocumented in source.
FIXUPP
enum FIXUPP;
Undocumented in source.
GRPDEF
enum GRPDEF;
Undocumented in source.
LCOMDEF
enum LCOMDEF;
Undocumented in source.
LEDATA
enum LEDATA;
Undocumented in source.
LEXTDEF
enum LEXTDEF;
Undocumented in source.
LHEADR
enum LHEADR;
Undocumented in source.
LIBDIC
enum LIBDIC;
Undocumented in source.
LIBHED
enum LIBHED;
Undocumented in source.
LIBIDMAX
enum LIBIDMAX;
Undocumented in source.
LIBLOC
enum LIBLOC;
Undocumented in source.
LIBNAM
enum LIBNAM;
Undocumented in source.
LIDATA
enum LIDATA;
Undocumented in source.
LINNUM
enum LINNUM;
Undocumented in source.
LINSYM
enum LINSYM;
Undocumented in source.
LLNAMES
enum LLNAMES;
Undocumented in source.
LNAMES
enum LNAMES;
Undocumented in source.
LOCSYM
enum LOCSYM;
Undocumented in source.
LOG
enum LOG;
Undocumented in source.
LPUBDEF
enum LPUBDEF;
Undocumented in source.
M386END
enum M386END;
Undocumented in source.
MODEND
enum MODEND;
Undocumented in source.
OVLDEF
enum OVLDEF;
Undocumented in source.
PEDATA
enum PEDATA;
Undocumented in source.
PIDATA
enum PIDATA;
Undocumented in source.
PUB386
enum PUB386;
Undocumented in source.
PUBDEF
enum PUBDEF;
Undocumented in source.
REDATA
enum REDATA;
Undocumented in source.
REGINT
enum REGINT;
Undocumented in source.
RHEADR
enum RHEADR;

Record types:

RIDATA
enum RIDATA;
Undocumented in source.
SEGDEF
enum SEGDEF;
Undocumented in source.
THEADR
enum THEADR;
Undocumented in source.
TYPDEF
enum TYPDEF;
Undocumented in source.

Static functions

parseIdx
ushort parseIdx(const(ubyte)** pp)
Undocumented in source. Be warned that the author may not have intended to support it.
skipDataType
void skipDataType(const(ubyte)** pp)
Undocumented in source. Be warned that the author may not have intended to support it.
skipNumericField
void skipNumericField(const(ubyte)** pp)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

Source

See Source File
$(DMDSRC _scanomf.d)