- java.lang.Object
-
- com.ibm.j9ddr.corereaders.aix.XCOFFReader
-
- All Implemented Interfaces:
IModuleFile
public class XCOFFReader extends Object implements IModuleFile
XCOFF spec here: http://publib16.boulder.ibm.com/pseries/en_US/files/aixfiles/XCOFF.htm
-
-
Field Summary
Fields Modifier and Type Field Description static short
F_AR32W
static short
F_DYNLOAD
static short
F_EXEC
static short
F_LNNO
static short
F_LOADONLY
static short
F_RELFLG
static short
F_SHROBJ
static int
STYP_BSS
static int
STYP_DATA
static int
STYP_DEBUG
static int
STYP_EXCEPT
static int
STYP_INFO
static int
STYP_LOADER
static int
STYP_OVRFLO
static int
STYP_PAD
static int
STYP_REG
static int
STYP_TBSS
static int
STYP_TDATA
static int
STYP_TEXT
static int
STYP_TYPCHK
-
Constructor Summary
Constructors Constructor Description XCOFFReader(File library)
XCOFFReader(File library, long l, long m)
XCOFFReader(String libraryName, ImageInputStream in, long l, long m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
baseFileOffset()
void
close()
long
logicalSize()
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.j9ddr.corereaders.IModuleFile
getProperties, getSymbols, getTextSegment
-
-
-
-
Field Detail
-
F_RELFLG
public static final short F_RELFLG
- See Also:
- Constant Field Values
-
F_EXEC
public static final short F_EXEC
- See Also:
- Constant Field Values
-
F_LNNO
public static final short F_LNNO
- See Also:
- Constant Field Values
-
F_AR32W
public static final short F_AR32W
- See Also:
- Constant Field Values
-
F_DYNLOAD
public static final short F_DYNLOAD
- See Also:
- Constant Field Values
-
F_SHROBJ
public static final short F_SHROBJ
- See Also:
- Constant Field Values
-
F_LOADONLY
public static final short F_LOADONLY
- See Also:
- Constant Field Values
-
STYP_REG
public static final int STYP_REG
- See Also:
- Constant Field Values
-
STYP_PAD
public static final int STYP_PAD
- See Also:
- Constant Field Values
-
STYP_TEXT
public static final int STYP_TEXT
- See Also:
- Constant Field Values
-
STYP_DATA
public static final int STYP_DATA
- See Also:
- Constant Field Values
-
STYP_BSS
public static final int STYP_BSS
- See Also:
- Constant Field Values
-
STYP_EXCEPT
public static final int STYP_EXCEPT
- See Also:
- Constant Field Values
-
STYP_INFO
public static final int STYP_INFO
- See Also:
- Constant Field Values
-
STYP_TDATA
public static final int STYP_TDATA
- See Also:
- Constant Field Values
-
STYP_TBSS
public static final int STYP_TBSS
- See Also:
- Constant Field Values
-
STYP_LOADER
public static final int STYP_LOADER
- See Also:
- Constant Field Values
-
STYP_DEBUG
public static final int STYP_DEBUG
- See Also:
- Constant Field Values
-
STYP_TYPCHK
public static final int STYP_TYPCHK
- See Also:
- Constant Field Values
-
STYP_OVRFLO
public static final int STYP_OVRFLO
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XCOFFReader
public XCOFFReader(File library) throws IOException
- Throws:
IOException
-
XCOFFReader
public XCOFFReader(File library, long l, long m) throws IOException
- Throws:
IOException
-
XCOFFReader
public XCOFFReader(String libraryName, ImageInputStream in, long l, long m) throws IOException
- Throws:
IOException
-
-
Method Detail
-
baseFileOffset
public long baseFileOffset()
-
logicalSize
public long logicalSize()
-
close
public void close() throws IOException
- Throws:
IOException
-
-