public class SOMBinaryObject extends BinaryObjectAdapter
BinaryObjectAdapter.BinaryObjectInfoNO_SYMBOLSARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED| Constructor and Description |
|---|
SOMBinaryObject(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
AR.ARHeader header) |
SOMBinaryObject(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
int type) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSymbols(SOM.Symbol[] peSyms,
byte[] table,
List<Symbol> list) |
<T> T |
getAdapter(Class<T> adapter) |
Addr2line |
getAddr2line(boolean autodisposing) |
IAddressFactory |
getAddressFactory() |
protected BinaryObjectAdapter.BinaryObjectInfo |
getBinaryObjectInfo() |
InputStream |
getContents() |
protected CPPFilt |
getCPPFilt() |
String |
getName()
The name of the object
|
protected Objdump |
getObjdump() |
protected SOM |
getSOM() |
IBinaryParser.ISymbol[] |
getSymbols()
Symbols of the object
|
protected void |
loadAll() |
protected void |
loadInfo() |
protected void |
loadInfo(SOM som) |
protected void |
loadSymbols(SOM som) |
getBSS, getCPU, getData, getNeededSharedLibs, getSoName, getSymbol, getText, hasDebug, isLittleEndian, toStringgetBinaryParser, getPath, getType, hasChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBinaryParser, getPath, getTypepublic SOMBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.ARHeader header)
parser - path - header - public SOMBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, int type)
parser - path - type - public IBinaryParser.ISymbol[] getSymbols()
IBinaryParser.IBinaryObjectgetSymbols in interface IBinaryParser.IBinaryObjectgetSymbols in class BinaryObjectAdapterIBinaryParser.IBinaryObject.getSymbols()protected BinaryObjectAdapter.BinaryObjectInfo getBinaryObjectInfo()
getBinaryObjectInfo in class BinaryObjectAdapterpublic String getName()
IBinaryParser.IBinaryObjectgetName in interface IBinaryParser.IBinaryObjectgetName in class BinaryObjectAdapterIBinaryParser.IBinaryObject.getName()public InputStream getContents() throws IOException
getContents in interface IBinaryParser.IBinaryFilegetContents in class BinaryFileIOExceptionIBinaryParser.IBinaryFile.getContents()protected SOM getSOM() throws IOException
IOExceptionprotected void loadAll()
throws IOException
IOExceptionprotected void loadInfo()
throws IOException
IOExceptionprotected void loadInfo(SOM som) throws IOException
IOExceptionprotected void loadSymbols(SOM som) throws IOException
IOExceptionprotected void addSymbols(SOM.Symbol[] peSyms, byte[] table, List<Symbol> list)
public Addr2line getAddr2line(boolean autodisposing)
protected CPPFilt getCPPFilt()
protected Objdump getObjdump()
public <T> T getAdapter(Class<T> adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptablegetAdapter in class org.eclipse.core.runtime.PlatformObjectpublic IAddressFactory getAddressFactory()
getAddressFactory in interface IBinaryParser.IBinaryObjectgetAddressFactory in class BinaryObjectAdapterCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.