Class NewExecutable


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

      • NewExecutable

        public NewExecutable​(GenericFactory factory,
                             ByteProvider bp,
                             SegmentedAddress baseAddr)
                      throws java.io.IOException
        Constructs a new instance of an new executable.
        Parameters:
        factory - is the object factory to bundle with the reader
        bp - the byte provider
        baseAddr - the image base of the executable
        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 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