Package ghidra.app.util.bin.format.ne
Class NewExecutable
- java.lang.Object
 - 
- ghidra.app.util.bin.format.ne.NewExecutable
 
 
- 
public class NewExecutable extends java.lang.ObjectA class to manage loading New Executables (NE). 
- 
- 
Constructor Summary
Constructors Constructor Description NewExecutable(GenericFactory factory, ByteProvider bp, SegmentedAddress baseAddr)Constructs a new instance of an new executable. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FactoryBundledWithBinaryReadergetBinaryReader()Returns the underlying binary reader.DOSHeadergetDOSHeader()Returns the DOS header from the new executable.WindowsHeadergetWindowsHeader()Returns the Windows header from the new executable. 
 - 
 
- 
- 
Constructor Detail
- 
NewExecutable
public NewExecutable(GenericFactory factory, ByteProvider bp, SegmentedAddress baseAddr) throws java.io.IOException
Constructs a new instance of an new executable.- Parameters:
 factory- is the object factory to bundle with the readerbp- the byte providerbaseAddr- the image base of the executable- Throws:
 java.io.IOException- if an I/O error occurs.
 
 - 
 
- 
Method Detail
- 
getBinaryReader
public FactoryBundledWithBinaryReader getBinaryReader()
Returns the underlying binary reader.- Returns:
 - the underlying binary reader
 
 
- 
getDOSHeader
public DOSHeader getDOSHeader()
Returns the DOS header from the new executable.- Returns:
 - the DOS header from the new executable
 
 
- 
getWindowsHeader
public WindowsHeader getWindowsHeader()
Returns the Windows header from the new executable.- Returns:
 - the Windows header from the new executable
 
 
 - 
 
 -