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

public Interface OptionalHeaderStandardFields

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

Models the information stored in the standard fields portion of the optional header of a Portable Executable 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
getAddressOfEntryPoint()

Address of entry point, relative to image base, when executable file is loaded into memory.

public int
getBaseOfCode()

Address, relative to image base, of beginning of code section, when loaded into memory.

public int
getBaseOfData()

Onle present in PE32 files; absent in PE32+ files.

public byte
public byte
public int
getSizeOfCode()

Size of the code (text) section, or the sum of all code sections if there are multiple sections.

public int
getSizeOfInitializedData()

Size of the initialized data section, or the sum of all such sections if there are multiple data sections.

public int
getSizeOfUninitializedData()

Size of the uninitialized data section (BSS), or the sum of all such sections if there are multiple BSS sections.

Method Detail

getAddressOfEntryPointback to summary
public int getAddressOfEntryPoint()

Address of entry point, relative to image base, when executable file is loaded into memory. For program images, this is the starting address. For device drivers, this is the address of the initialization function. An entry point is optional for DLLs. When none is present this field should be 0.

getBaseOfCodeback to summary
public int getBaseOfCode()

Address, relative to image base, of beginning of code section, when loaded into memory.

getBaseOfDataback to summary
public int getBaseOfData() throws COFFException

Onle present in PE32 files; absent in PE32+ files. Address, relative to image base, of beginning of data section, when loaded into memory.

getMajorLinkerVersionback to summary
public byte getMajorLinkerVersion()
getMinorLinkerVersionback to summary
public byte getMinorLinkerVersion()
getSizeOfCodeback to summary
public int getSizeOfCode()

Size of the code (text) section, or the sum of all code sections if there are multiple sections.

getSizeOfInitializedDataback to summary
public int getSizeOfInitializedData()

Size of the initialized data section, or the sum of all such sections if there are multiple data sections.

getSizeOfUninitializedDataback to summary
public int getSizeOfUninitializedData()

Size of the uninitialized data section (BSS), or the sum of all such sections if there are multiple BSS sections.