public class SOMBinaryObject extends BinaryObjectAdapter
BinaryObjectAdapter.BinaryObjectInfo
NO_SYMBOLS
ARCHIVE, 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, toString
getBinaryParser, getPath, getType, hasChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBinaryParser, getPath, getType
public 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.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 SOM getSOM() throws IOException
IOException
protected void loadAll() throws IOException
IOException
protected void loadInfo() throws IOException
IOException
protected void loadInfo(SOM som) throws IOException
IOException
protected void loadSymbols(SOM som) throws IOException
IOException
protected 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.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.