CoffRelocation

Undocumented in source.

Members

Functions

targetSize
size_t targetSize()
Undocumented in source. Be warned that the author may not have intended to support it.
typeString
string typeString()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

SymbolTableIndex
uint SymbolTableIndex;

A zero-based index into the symbol table. This symbol gives the address that is to be used for the relocation. If the specified symbol has section storage class, then the symbol’s address is the address with the first section of the same name.

Type
ushort Type;

A value that indicates the kind of relocation that should be performed. Valid relocation types depend on machine type. See section 5.2.1, “Type Indicators.

VirtualAddress
uint VirtualAddress;

The address of the item to which relocation is applied. This is the offset from the beginning of the section, plus the value of the section’s RVA/Offset field. See section 4, “Section Table (Section Headers).” For example, if the first byte of the section has an address of 0x10, the third byte has an address of 0x12.

Meta