Class XCoff32


  • public class XCoff32
    extends java.lang.Object
    Representation of AIX XCOFF32 binary format
    • Field Detail

      • NL

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

      • XCoff32

        protected XCoff32()
      • XCoff32

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

        public XCoff32​(java.lang.String filename,
                       long offset)
                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getFileHeader

        public XCoff32.FileHeader getFileHeader()
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getOptionalHeader

        public XCoff32.OptionalHeader getOptionalHeader()
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getSectionHeaders

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

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

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

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

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

        public static void main​(java.lang.String[] args)
      • isXCOFF32Header

        public static boolean isXCOFF32Header​(byte[] hints)
      • getAttributes

        public static XCoff32.Attribute getAttributes​(byte[] hints)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • getAttributes

        public static XCoff32.Attribute getAttributes​(java.lang.String file)
                                               throws java.io.IOException
        Throws:
        java.io.IOException