Class PE

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    @Deprecated
    public class PE
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Deprecated.
    Deprecated as of CDT 6.9. Use 64 bit version PE64. This class is planned for removal in next major release.
    • Field Detail

      • NL

        public static final java.lang.String NL
        Deprecated.
    • Constructor Detail

      • PE

        public PE​(java.lang.String filename)
           throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • PE

        public PE​(java.lang.String filename,
                  long pos)
           throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • PE

        public PE​(java.lang.String filename,
                  long pos,
                  boolean filter)
           throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
    • Method Detail

      • isValidMachine

        public static boolean isValidMachine​(int magic)
        Deprecated.
      • isExeHeader

        public static boolean isExeHeader​(byte[] e_signature)
        Deprecated.
      • getAttribute

        public PE.Attribute getAttribute()
                                  throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getAttribute

        public static PE.Attribute getAttribute​(byte[] data)
                                         throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getAttribute

        public static PE.Attribute getAttribute​(java.lang.String file)
                                         throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Deprecated.
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.io.IOException
      • dispose

        public void dispose()
                     throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Deprecated.
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • getDOSHeader

        public PE.DOSHeader getDOSHeader()
        Deprecated.
      • getImageDataDirectories

        public PE.ImageDataDirectory[] getImageDataDirectories()
                                                        throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getSectionHeaders

        public Coff.SectionHeader[] getSectionHeaders()
                                               throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getSymbols

        public Coff.Symbol[] getSymbols()
                                 throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getStringTable

        public byte[] getStringTable()
                              throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object
      • getSymbolReader

        public ISymbolReader getSymbolReader()
        Deprecated.
      • getStringTableEntry

        public java.lang.String getStringTableEntry​(int offset)
                                             throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
        Since:
        5.1
      • getFilename

        public java.lang.String getFilename()
        Deprecated.
        Since:
        5.1