Package ghidra.app.util.bin.format.pe
Class OptionalHeaderROM
java.lang.Object
ghidra.app.util.bin.format.pe.OptionalHeaderROM
A class to represent the IMAGE_ROM_OPTIONAL_HEADER
data structure.
typedef struct _IMAGE_ROM_OPTIONAL_HEADER { WORD Magic; BYTE MajorLinkerVersion; BYTE MinorLinkerVersion; DWORD SizeOfCode; DWORD SizeOfInitializedData; DWORD SizeOfUninitializedData; DWORD AddressOfEntryPoint; DWORD BaseOfCode; DWORD BaseOfData; DWORD BaseOfBss; DWORD GprMask; DWORD CprMask[4]; DWORD GpValue; } IMAGE_ROM_OPTIONAL_HEADER, *PIMAGE_ROM_OPTIONAL_HEADER;
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
int[]
int
int
short
getMagic()
byte
byte
int
int
int
-
Constructor Details
-
OptionalHeaderROM
public OptionalHeaderROM()
-
-
Method Details
-
getMagic
public short getMagic() -
getMajorLinkerVersion
public byte getMajorLinkerVersion() -
getMinorLinkerVersion
public byte getMinorLinkerVersion() -
getSizeOfCode
public int getSizeOfCode() -
getSizeOfInitializedData
public int getSizeOfInitializedData() -
getSizeOfUninitializedData
public int getSizeOfUninitializedData() -
getAddressOfEntryPoint
public int getAddressOfEntryPoint() -
getBaseOfCode
public int getBaseOfCode() -
getBaseOfData
public int getBaseOfData() -
getBaseOfBss
public int getBaseOfBss() -
getGprMask
public int getGprMask() -
getCprMask
public int[] getCprMask() -
getGpValue
public int getGpValue()
-