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

public Interface OptionalHeader

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

Models the information stored in the optional header of a Portable Executable file.

Field Summary

Modifier and TypeField and Description
public static final short
MAGIC_PE32

Magic number for a PE32 file

public static final short
MAGIC_PE32_PLUS

Magic number for a PE32+ file

public static final short
MAGIC_ROM_IMAGE

Magic number for a "ROM image"

Method Summary

Modifier and TypeMethod and Description
public OptionalHeaderDataDirectories
getDataDirectories()

Gets the data directories portion of the optional header.

public short
getMagicNumber()

Returns the magic number of the Optional Header (MAGIC_PE32, MAGIC_PE32_PLUS, or MAGIC_ROM_IMAGE)

public OptionalHeaderStandardFields
getStandardFields()

These are defined for all implementations of COFF, including UNIX.

public OptionalHeaderWindowsSpecificFields
getWindowsSpecificFields()

These include additional fields to support specific features of Windows (for example, subsystem).

Field Detail

MAGIC_PE32back to summary
public static final short MAGIC_PE32

Magic number for a PE32 file

MAGIC_PE32_PLUSback to summary
public static final short MAGIC_PE32_PLUS

Magic number for a PE32+ file

MAGIC_ROM_IMAGEback to summary
public static final short MAGIC_ROM_IMAGE

Magic number for a "ROM image"

Method Detail

getDataDirectoriesback to summary
public OptionalHeaderDataDirectories getDataDirectories()

Gets the data directories portion of the optional header.

getMagicNumberback to summary
public short getMagicNumber()

Returns the magic number of the Optional Header (MAGIC_PE32, MAGIC_PE32_PLUS, or MAGIC_ROM_IMAGE)

getStandardFieldsback to summary
public OptionalHeaderStandardFields getStandardFields()

These are defined for all implementations of COFF, including UNIX.

getWindowsSpecificFieldsback to summary
public OptionalHeaderWindowsSpecificFields getWindowsSpecificFields()

These include additional fields to support specific features of Windows (for example, subsystem).