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_SYMBOLSFields inherited from interface org.eclipse.cdt.core.IBinaryParser.IBinaryFile
ARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED -
Constructor Summary
ConstructorsConstructorDescriptionGNUElfBinaryObject(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 voidaddSymbols(Elf.Symbol[] array, int type, List<Symbol> list) <T> TgetAdapter(Class<T> adapter) getAddr2line(boolean autodisposing) protected CPPFiltprotected Objdumpprotected voidloadSymbols(ElfHelper helper) Methods inherited from class org.eclipse.cdt.utils.elf.parser.ElfBinaryObject
getAddressFactory, getBinaryObjectInfo, getCPU, getElfHelper, getName, getSymbols, isLittleEndian, loadAll, loadInfo, loadInfoMethods inherited from class org.eclipse.cdt.utils.BinaryObjectAdapter
getBSS, getData, getNeededSharedLibs, getSoName, getSymbol, getText, hasDebug, toStringMethods inherited from class org.eclipse.cdt.utils.BinaryFile
getBinaryParser, getPath, getType, hasChangedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getContentsin interfaceIBinaryParser.IBinaryFile- Overrides:
getContentsin classElfBinaryObject- Returns:
- the binary contents.
- Throws:
IOException- See Also:
-
loadSymbols
- Overrides:
loadSymbolsin classElfBinaryObject- Throws:
IOException
-
addSymbols
- Overrides:
addSymbolsin classElfBinaryObject
-
getAdapter
- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable- Overrides:
getAdapterin classElfBinaryObject
-