Package org.eclipse.cdt.utils.xcoff
Class XCoff32
- java.lang.Object
-
- org.eclipse.cdt.utils.xcoff.XCoff32
-
public class XCoff32 extends Object
Representation of AIX XCOFF32 binary format
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXCoff32.Attributestatic classXCoff32.FileHeaderstatic classXCoff32.OptionalHeaderstatic classXCoff32.SectionHeaderclassXCoff32.Symbol
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()XCoff32.AttributegetAttributes()static XCoff32.AttributegetAttributes(byte[] hints)static XCoff32.AttributegetAttributes(String file)XCoff32.FileHeadergetFileHeader()XCoff32.OptionalHeadergetOptionalHeader()XCoff32.SectionHeader[]getSectionHeaders()byte[]getStringTable()XCoff32.Symbol[]getSymbols()static booleanisXCOFF32Header(byte[] hints)static voidmain(String[] args)StringtoString()
-
-
-
Field Detail
-
NL
public static final String NL
-
-
Constructor Detail
-
XCoff32
protected XCoff32()
-
XCoff32
public XCoff32(String filename) throws IOException
- Throws:
IOException
-
XCoff32
public XCoff32(String filename, long offset) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getAttributes
public XCoff32.Attribute getAttributes()
-
getFileHeader
public XCoff32.FileHeader getFileHeader() throws IOException
- Throws:
IOException
-
getOptionalHeader
public XCoff32.OptionalHeader getOptionalHeader() throws IOException
- Throws:
IOException
-
getSectionHeaders
public XCoff32.SectionHeader[] getSectionHeaders() throws IOException
- Throws:
IOException
-
getSymbols
public XCoff32.Symbol[] getSymbols() throws IOException
- Throws:
IOException
-
getStringTable
public byte[] getStringTable() throws IOException- Throws:
IOException
-
dispose
public void dispose() throws IOException- Throws:
IOException
-
main
public static void main(String[] args)
-
isXCOFF32Header
public static boolean isXCOFF32Header(byte[] hints)
-
getAttributes
public static XCoff32.Attribute getAttributes(byte[] hints) throws IOException
- Throws:
IOException
-
getAttributes
public static XCoff32.Attribute getAttributes(String file) throws IOException
- Throws:
IOException
-
-