Package ghidra.app.util.bin.format.mz
Class OldStyleExecutable
- java.lang.Object
-
- ghidra.app.util.bin.format.mz.OldStyleExecutable
-
public class OldStyleExecutable extends java.lang.Object
A class to manage loading Old-style (MZ) Executables.
-
-
Constructor Summary
Constructors Constructor Description OldStyleExecutable(GenericFactory factory, ByteProvider bp)
Constructs a new instance of an old-style executable
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FactoryBundledWithBinaryReader
getBinaryReader()
Returns the underlying binary reader.DOSHeader
getDOSHeader()
Returns the DOS Header from this old-style executable.
-
-
-
Constructor Detail
-
OldStyleExecutable
public OldStyleExecutable(GenericFactory factory, ByteProvider bp) throws java.io.IOException
Constructs a new instance of an old-style 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 this old-style executable.- Returns:
- the DOS Header from this old-style executable
-
-