public class GNUElfBinaryObject extends ElfBinaryObject
BinaryObjectAdapter.BinaryObjectInfoNO_SYMBOLSARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED| Constructor and Description |
|---|
GNUElfBinaryObject(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
AR.ARHeader header) |
GNUElfBinaryObject(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
int type) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSymbols(Elf.Symbol[] array,
int type,
List<Symbol> list) |
<T> T |
getAdapter(Class<T> adapter) |
Addr2line |
getAddr2line(boolean autodisposing) |
InputStream |
getContents() |
protected CPPFilt |
getCPPFilt() |
protected Objdump |
getObjdump() |
protected void |
loadSymbols(ElfHelper helper) |
getAddressFactory, getBinaryObjectInfo, getCPU, getElfHelper, getName, getSymbols, isLittleEndian, loadAll, loadInfo, loadInfogetBSS, getData, getNeededSharedLibs, getSoName, getSymbol, getText, hasDebug, toStringgetBinaryParser, getPath, getType, hasChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBinaryParser, getPath, getTypepublic GNUElfBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.ARHeader header)
parser - path - header - public GNUElfBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, int type)
parser - path - type - public Addr2line getAddr2line(boolean autodisposing)
protected CPPFilt getCPPFilt()
protected Objdump getObjdump()
public InputStream getContents() throws IOException
getContents in interface IBinaryParser.IBinaryFilegetContents in class ElfBinaryObjectIOExceptionIBinaryParser.IBinaryFile.getContents()protected void loadSymbols(ElfHelper helper) throws IOException
loadSymbols in class ElfBinaryObjectIOExceptionprotected void addSymbols(Elf.Symbol[] array, int type, List<Symbol> list)
addSymbols in class ElfBinaryObjectpublic <T> T getAdapter(Class<T> adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptablegetAdapter in class ElfBinaryObjectCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.