Class NewExecutable

java.lang.Object
ghidra.app.util.bin.format.ne.NewExecutable

public class NewExecutable extends Object
A class to manage loading New Executables (NE).
  • Constructor Details

    • NewExecutable

      public NewExecutable(ByteProvider bp, SegmentedAddress baseAddr) throws IOException
      Constructs a new instance of an new executable.
      Parameters:
      bp - the byte provider
      baseAddr - the image base of the executable
      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 the new executable.
      Returns:
      the DOS header from the new executable
    • getWindowsHeader

      public WindowsHeader getWindowsHeader()
      Returns the Windows header from the new executable.
      Returns:
      the Windows header from the new executable