Class MzExecutable

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

public class MzExecutable extends Object
A class to manage loading old-style DOS MZ executables
  • Constructor Details

    • MzExecutable

      public MzExecutable(ByteProvider provider) throws IOException
      Constructs a new instance of an old-style MZ executable
      Parameters:
      provider - The bytes
      Throws:
      IOException - if an I/O error occurs
  • Method Details

    • getBinaryReader

      public BinaryReader getBinaryReader()
      Returns the underlying binary reader
      Returns:
      the underlying binary reader
    • getHeader

      public OldDOSHeader getHeader()
      Returns the DOS Header from this old-style MZ executable
      Returns:
      the DOS Header from this old-style MZ executable
    • getRelocations

      public List<MzRelocation> getRelocations()
      Returns the old-style MZ relocations
      Returns:
      the old-style MZ relocations