PecoffObj

Undocumented in source.

Members

Functions

load
void load()

Performs actual processing of .obj data stored in fileData if not already loaded

print
void print(Sink sink)
Undocumented in source. Be warned that the author may not have intended to support it.
printRelocations
void printRelocations(Sink sink)
Undocumented in source. Be warned that the author may not have intended to support it.
printSectionTable
void printSectionTable(Sink sink)
Undocumented in source. Be warned that the author may not have intended to support it.
printStringTable
void printStringTable(Sink sink)
Undocumented in source. Be warned that the author may not have intended to support it.
printSymbolTable
void printSymbolTable(Sink sink)
Undocumented in source. Be warned that the author may not have intended to support it.
toBytes
void toBytes(Sink sink)
Undocumented in source. Be warned that the author may not have intended to support it.
toFile
void toFile(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromBytes
PecoffObj fromBytes(ubyte[] fileData, string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
fromBytesLazy
PecoffObj fromBytesLazy(ubyte[] fileData, string filename)

Returns obj without actual parsing. Call load before accessing

fromFile
PecoffObj fromFile(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.
fromFileLazy
PecoffObj fromFileLazy(string filename)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

fileData
ubyte[] fileData;
Undocumented in source.
filename
string filename;
Undocumented in source.
header
CoffFileHeader* header;
Undocumented in source.
isLoaded
bool isLoaded;

Indicates if members below are usable. Call load if not.

sectionHeaders
SectionHeader[] sectionHeaders;
Undocumented in source.
sections
Section[] sections;
Undocumented in source.
stringTable
string stringTable;
Undocumented in source.
symbols
SymbolTableEntry[] symbols;
Undocumented in source.
totalRelocations
size_t totalRelocations;
Undocumented in source.

Meta