# Interface: com.pnfsoftware.jeb.core.units.codeobject.IPEOptionalHeader

This interface describes the principal header a PE executable file. 

 Reference: https://msdn.microsoft.com/en\-us/library/windows/desktop/ms680547\(v=vs.85\).aspx

## Method: getAddressOfEntryPoint
- return type: `long`

Description: Get entry\-point RVA.
return: entry\-point RVA

## Method: getBaseOfCode
- return type: `long`

Description: Get base of code RVA.
return: base of code RVA

## Method: getBaseOfData
- return type: `long`

Description: Get base of data RVA.
return: base of data RVA

## Method: getCheckSum
- return type: `int`

Description: Get image checksum.
return: image checksum

## Method: getDataDirectory
- return type: `com.pnfsoftware.jeb.core.units.codeobject.IPEDataDirectory[]`

Description: Get data directory entries.
return: data directory entries

## Method: getDllCharacteristics
- return type: `short`

Description: Get DLL characteristics flags.
return: DLL characteristics flags

## Method: getFileAlignment
- return type: `int`

Description: Get file alignment.
return: file alignment

## Method: getImageBase
- return type: `long`

Description: Get preferred image base.
return: preferred image base

## Method: getLoaderFlags
- return type: `int`

Description: Get loader flags.
return: loader flags

## Method: getMagic
- return type: `short`

Description: Get optional header magic value.
return: optional header magic value

## Method: getMajorImageVersion
- return type: `short`

Description: Get major image version.
return: major image version

## Method: getMajorLinkerVersion
- return type: `byte`

Description: Get major linker version.
return: major linker version

## Method: getMajorOperatingSystemVersion
- return type: `short`

Description: Get major target operating system version.
return: major target operating system version

## Method: getMajorSubsystemVersion
- return type: `short`

Description: Get major subsystem version.
return: major subsystem version

## Method: getMinorImageVersion
- return type: `short`

Description: Get minor image version.
return: minor image version

## Method: getMinorLinkerVersion
- return type: `byte`

Description: Get minor linker version.
return: minor linker version

## Method: getMinorOperatingSystemVersion
- return type: `short`

Description: Get minor target operating system version.
return: minor target operating system version

## Method: getMinorSubsystemVersion
- return type: `short`

Description: Get minor subsystem version.
return: minor subsystem version

## Method: getNumberOfRvaAndSizes
- return type: `long`

Description: Get number of data\-directory entries.
return: number of data\-directory entries

## Method: getSectionAlignment
- return type: `int`

Description: Get section alignment.
return: section alignment

## Method: getSizeOfCode
- return type: `long`

Description: Get size of code sections.
return: size of code sections

## Method: getSizeOfHeaders
- return type: `long`

Description: Get headers size.
return: headers size

## Method: getSizeOfHeapCommit
- return type: `long`

Description: Get committed heap size.
return: committed heap size

## Method: getSizeOfHeapReserve
- return type: `long`

Description: Get reserved heap size.
return: reserved heap size

## Method: getSizeOfImage
- return type: `long`

Description: Get image size in memory.
return: image size in memory

## Method: getSizeOfInitializedData
- return type: `long`

Description: Get size of initialized data.
return: size of initialized data

## Method: getSizeOfStackCommit
- return type: `long`

Description: Get committed stack size.
return: committed stack size

## Method: getSizeOfStackReserve
- return type: `long`

Description: Get reserved stack size.
return: reserved stack size

## Method: getSizeOfUninitializedData
- return type: `long`

Description: Get size of uninitialized data.
return: size of uninitialized data

## Method: getSubsystem
- return type: `short`

Description: Get subsystem value.
return: subsystem value

## Method: getWin32VersionValue
- return type: `int`

Description: Get reserved Win32 version value.
return: reserved Win32 version value

