Package ghidra.app.util.bin.format.ne
Class NewExecutable
java.lang.Object
ghidra.app.util.bin.format.ne.NewExecutable
A class to manage loading New Executables (NE).
-
Constructor Summary
ConstructorDescriptionNewExecutable
(ByteProvider bp, SegmentedAddress baseAddr) Constructs a new instance of an new executable. -
Method Summary
Modifier and TypeMethodDescriptionReturns the underlying binary reader.Returns the DOS header from the new executable.Returns the Windows header from the new executable.
-
Constructor Details
-
NewExecutable
Constructs a new instance of an new executable.- Parameters:
bp
- the byte providerbaseAddr
- the image base of the executable- Throws:
IOException
- if an I/O error occurs.
-
-
Method Details
-
getBinaryReader
Returns the underlying binary reader.- Returns:
- the underlying binary reader
-
getDOSHeader
Returns the DOS header from the new executable.- Returns:
- the DOS header from the new executable
-
getWindowsHeader
Returns the Windows header from the new executable.- Returns:
- the Windows header from the new executable
-