Class OldStyleExecutable

java.lang.Object
ghidra.app.util.bin.format.mz.OldStyleExecutable

public class OldStyleExecutable extends Object
A class to manage loading Old-style (MZ) Executables.
  • Constructor Details

    • OldStyleExecutable

      public OldStyleExecutable(ByteProvider bp) throws IOException
      Constructs a new instance of an old-style executable
      Parameters:
      bp - the byte provider
      Throws:
      IOException - if an I/O error occurs
  • Method Details

    • getBinaryReader

      public BinaryReader 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