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)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) throws java.io.IOException
Constructs a new instance of an new executable.- Parameters:
bp- the byte provider- 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
-
-