public class GNUElfBinaryObject extends ElfBinaryObject
BinaryObjectAdapter.BinaryObjectInfo
NO_SYMBOLS
ARCHIVE, 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, loadInfo
getBSS, getData, getNeededSharedLibs, getSoName, getSymbol, getText, hasDebug, toString
getBinaryParser, getPath, getType, hasChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBinaryParser, getPath, getType
public 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.IBinaryFile
getContents
in class ElfBinaryObject
IOException
IBinaryParser.IBinaryFile.getContents()
protected void loadSymbols(ElfHelper helper) throws IOException
loadSymbols
in class ElfBinaryObject
IOException
protected void addSymbols(Elf.Symbol[] array, int type, List<Symbol> list)
addSymbols
in class ElfBinaryObject
public <T> T getAdapter(Class<T> adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class ElfBinaryObject
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.