public class XCOFFBinaryObject extends BinaryObjectAdapter
BinaryObjectAdapter.BinaryObjectInfo
NO_SYMBOLS
ARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED
Constructor and Description |
---|
XCOFFBinaryObject(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
AR.MemberHeader header) |
XCOFFBinaryObject(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
int type) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSymbols(XCoff32.Symbol[] peSyms,
byte[] table,
List<XCoffSymbol> list) |
<T> T |
getAdapter(Class<T> adapter) |
Addr2line |
getAddr2line(boolean autodisposing) |
IAddressFactory |
getAddressFactory() |
protected BinaryObjectAdapter.BinaryObjectInfo |
getBinaryObjectInfo() |
InputStream |
getContents() |
String |
getName()
The name of the object
|
IBinaryParser.ISymbol[] |
getSymbols()
Symbols of the object
|
protected XCoff32 |
getXCoff32() |
protected void |
loadAll() |
protected void |
loadInfo() |
protected void |
loadInfo(XCoff32 xcoff) |
protected void |
loadSymbols(XCoff32 xcoff) |
getBSS, getCPU, getData, getNeededSharedLibs, getSoName, getSymbol, getText, hasDebug, isLittleEndian, toString
getBinaryParser, getPath, getType, hasChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBinaryParser, getPath, getType
public XCOFFBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, int type)
parser
- path
- type
- public XCOFFBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.MemberHeader header)
parser
- path
- header
- public IBinaryParser.ISymbol[] getSymbols()
IBinaryParser.IBinaryObject
getSymbols
in interface IBinaryParser.IBinaryObject
getSymbols
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.getSymbols()
protected BinaryObjectAdapter.BinaryObjectInfo getBinaryObjectInfo()
getBinaryObjectInfo
in class BinaryObjectAdapter
public String getName()
IBinaryParser.IBinaryObject
getName
in interface IBinaryParser.IBinaryObject
getName
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.getName()
public InputStream getContents() throws IOException
getContents
in interface IBinaryParser.IBinaryFile
getContents
in class BinaryFile
IOException
IBinaryParser.IBinaryFile.getContents()
protected XCoff32 getXCoff32() throws IOException
IOException
protected void loadAll() throws IOException
IOException
protected void loadInfo() throws IOException
IOException
protected void loadInfo(XCoff32 xcoff) throws IOException
IOException
protected void loadSymbols(XCoff32 xcoff) throws IOException
IOException
protected void addSymbols(XCoff32.Symbol[] peSyms, byte[] table, List<XCoffSymbol> list)
public Addr2line getAddr2line(boolean autodisposing)
public <T> T getAdapter(Class<T> adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class org.eclipse.core.runtime.PlatformObject
public IAddressFactory getAddressFactory()
getAddressFactory
in interface IBinaryParser.IBinaryObject
getAddressFactory
in class BinaryObjectAdapter
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.