Package ghidra.app.util.bin.format.ne
Class WindowsHeader
java.lang.Object
ghidra.app.util.bin.format.ne.WindowsHeader
A class to represent and parse the 
 Windows new-style executable (NE) header.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final shortThe magic number for Windows NE files.
- 
Constructor SummaryConstructorsConstructorDescriptionWindowsHeader(BinaryReader reader, SegmentedAddress baseAddr, short index) Constructor
- 
Method SummaryModifier and TypeMethodDescriptionReturns the entry table.Returns the imported name table.Returns the information block.Returns the module reference table.Returns the non-resident name table.Returns the processor name.Returns the resident name table.Returns the resource table.Returns the segment table.
- 
Field Details- 
IMAGE_NE_SIGNATUREpublic static final short IMAGE_NE_SIGNATUREThe magic number for Windows NE files.- See Also:
 
 
- 
- 
Constructor Details- 
WindowsHeaderpublic WindowsHeader(BinaryReader reader, SegmentedAddress baseAddr, short index) throws InvalidWindowsHeaderException, IOException Constructor- Parameters:
- reader- the binary reader
- baseAddr- the image base address
- index- the index where the windows headers begins
- Throws:
- InvalidWindowsHeaderException- if the bytes defined in the binary reader at the specified index do not constitute a valid windows header.
- IOException- for problems reading the header bytes
 
 
- 
- 
Method Details- 
getProcessorNameReturns the processor name.- Returns:
- the processor name
 
- 
getInformationBlockReturns the information block.- Returns:
- the information block
 
- 
getSegmentTableReturns the segment table.- Returns:
- the segment table
 
- 
getResourceTableReturns the resource table.- Returns:
- the resource table
 
- 
getResidentNameTableReturns the resident name table.- Returns:
- the resident name table
 
- 
getModuleReferenceTableReturns the module reference table.- Returns:
- the module reference table
 
- 
getImportedNameTableReturns the imported name table.- Returns:
- the imported name table
 
- 
getEntryTableReturns the entry table.- Returns:
- the entry table
 
- 
getNonResidentNameTableReturns the non-resident name table.- Returns:
- the non-resident name table
 
 
-