Package ghidra.app.util.bin.format.mz

# 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 Summary

  Constructors
  Constructor
  Description
  `MzExecutable(ByteProvider provider)`
  Constructs a new instance of an old-style MZ executable

- ## Method Summary

  Modifier and Type
  Method
  Description
  `BinaryReader`
  `getBinaryReader()`
  Returns the underlying binary reader
  `OldDOSHeader`
  `getHeader()`
  Returns the DOS Header from this old-style MZ executable
  `List<MzRelocation>`
  `getRelocations()`
  Returns the old-style MZ relocations

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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