Package org.eclipse.cdt.utils.elf.parser
Class GNUElfBinaryObject
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.cdt.utils.BinaryFile
org.eclipse.cdt.utils.BinaryObjectAdapter
org.eclipse.cdt.utils.elf.parser.ElfBinaryObject
org.eclipse.cdt.utils.elf.parser.GNUElfBinaryObject
- All Implemented Interfaces:
IBinaryParser.IBinaryFile
,IBinaryParser.IBinaryObject
,org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
GNUElfBinaryExecutable
,GNUElfBinaryShared
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.cdt.utils.BinaryObjectAdapter
BinaryObjectAdapter.BinaryObjectInfo
-
Field Summary
Fields inherited from class org.eclipse.cdt.utils.BinaryObjectAdapter
NO_SYMBOLS
Fields inherited from interface org.eclipse.cdt.core.IBinaryParser.IBinaryFile
ARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED
-
Constructor Summary
ConstructorDescriptionGNUElfBinaryObject
(IBinaryParser parser, org.eclipse.core.runtime.IPath path, int type) GNUElfBinaryObject
(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.ARHeader header) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addSymbols
(Elf.Symbol[] array, int type, List<Symbol> list) <T> T
getAdapter
(Class<T> adapter) getAddr2line
(boolean autodisposing) protected CPPFilt
protected Objdump
protected void
loadSymbols
(ElfHelper helper) Methods inherited from class org.eclipse.cdt.utils.elf.parser.ElfBinaryObject
getAddressFactory, getBinaryObjectInfo, getCPU, getElfHelper, getName, getSymbols, isLittleEndian, loadAll, loadInfo, loadInfo
Methods inherited from class org.eclipse.cdt.utils.BinaryObjectAdapter
getBSS, getData, getNeededSharedLibs, getSoName, getSymbol, getText, hasDebug, toString
Methods inherited from class org.eclipse.cdt.utils.BinaryFile
getBinaryParser, getPath, getType, hasChanged
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.cdt.core.IBinaryParser.IBinaryFile
getBinaryParser, getPath, getType
-
Constructor Details
-
GNUElfBinaryObject
public GNUElfBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.ARHeader header) - Parameters:
parser
-path
-header
-
-
GNUElfBinaryObject
- Parameters:
parser
-path
-type
-
-
-
Method Details
-
getAddr2line
-
getCPPFilt
-
getObjdump
-
getContents
- Specified by:
getContents
in interfaceIBinaryParser.IBinaryFile
- Overrides:
getContents
in classElfBinaryObject
- Returns:
- the binary contents.
- Throws:
IOException
- See Also:
-
loadSymbols
- Overrides:
loadSymbols
in classElfBinaryObject
- Throws:
IOException
-
addSymbols
- Overrides:
addSymbols
in classElfBinaryObject
-
getAdapter
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
- Overrides:
getAdapter
in classElfBinaryObject
-