APIdia Launch Partner
Top Description Methods
sun.jvm.hotspot.debugger.win32.coff

public Interface COFFRelocation

Known Direct Implementers
sun.jvm.hotspot.debugger.win32.coff.COFFFileParser.COFFFileImpl.COFFHeaderImpl.COFFRelocationImpl

Describes a COFF relocation, only present in an object file. (Some of the descriptions are taken directly from Microsoft's documentation and are copyrighted by Microsoft.)

Method Summary

Modifier and TypeMethod and Description
public int
getSymbolTableIndex()

A zero-based index into the symbol table.

public short
getType()

A value indicating what kind of relocation should be performed.

public int
getVirtualAddress()

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 sun.jvm.hotspot.debugger.win32.coff.SectionHeader.) For example, if the first byte of the section has an address of 0x10, the third byte has an address of 0x12.

Method Detail

getSymbolTableIndexback to summary
public int getSymbolTableIndex()

A zero-based index into the symbol table. This symbol gives the address 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.

getTypeback to summary
public short getType()

A value indicating what kind of relocation should be performed. Valid relocation types depend on machine type. See sun.jvm.hotspot.debugger.win32.coff.TypeIndicators.

getVirtualAddressback to summary
public int getVirtualAddress()

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 sun.jvm.hotspot.debugger.win32.coff.SectionHeader.) For example, if the first byte of the section has an address of 0x10, the third byte has an address of 0x12.