Package org.eclipse.cdt.utils.som.parser
Class SOMBinaryObject
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.cdt.utils.BinaryFile
org.eclipse.cdt.utils.BinaryObjectAdapter
org.eclipse.cdt.utils.som.parser.SOMBinaryObject
- All Implemented Interfaces:
IBinaryParser.IBinaryFile
,IBinaryParser.IBinaryObject
,org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
SOMBinaryExecutable
,SOMBinaryShared
Binary file in HP-UX SOM format
-
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
ConstructorDescriptionSOMBinaryObject
(IBinaryParser parser, org.eclipse.core.runtime.IPath path, int type) SOMBinaryObject
(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.ARHeader header) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addSymbols
(SOM.Symbol[] peSyms, byte[] table, List<Symbol> list) <T> T
getAdapter
(Class<T> adapter) getAddr2line
(boolean autodisposing) protected BinaryObjectAdapter.BinaryObjectInfo
protected CPPFilt
getName()
The name of the objectprotected Objdump
protected SOM
getSOM()
Symbols of the objectprotected void
loadAll()
protected void
loadInfo()
protected void
protected void
loadSymbols
(SOM som) Methods inherited from class org.eclipse.cdt.utils.BinaryObjectAdapter
getBSS, getCPU, getData, getNeededSharedLibs, getSoName, getSymbol, getText, hasDebug, isLittleEndian, 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
-
SOMBinaryObject
public SOMBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.ARHeader header) - Parameters:
parser
-path
-header
-
-
SOMBinaryObject
- Parameters:
parser
-path
-type
-
-
-
Method Details
-
getSymbols
Description copied from interface:IBinaryParser.IBinaryObject
Symbols of the object- Specified by:
getSymbols
in interfaceIBinaryParser.IBinaryObject
- Specified by:
getSymbols
in classBinaryObjectAdapter
- Returns:
- ISymbol[] arrays of symbols
- See Also:
-
getBinaryObjectInfo
- Specified by:
getBinaryObjectInfo
in classBinaryObjectAdapter
-
getName
Description copied from interface:IBinaryParser.IBinaryObject
The name of the object- Specified by:
getName
in interfaceIBinaryParser.IBinaryObject
- Overrides:
getName
in classBinaryObjectAdapter
- Returns:
- String
- See Also:
-
getContents
- Specified by:
getContents
in interfaceIBinaryParser.IBinaryFile
- Overrides:
getContents
in classBinaryFile
- Returns:
- the binary contents.
- Throws:
IOException
- See Also:
-
getSOM
- Throws:
IOException
-
loadAll
- Throws:
IOException
-
loadInfo
- Throws:
IOException
-
loadInfo
- Throws:
IOException
-
loadSymbols
- Throws:
IOException
-
addSymbols
-
getAddr2line
-
getCPPFilt
-
getObjdump
-
getAdapter
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
- Overrides:
getAdapter
in classorg.eclipse.core.runtime.PlatformObject
-
getAddressFactory
- Specified by:
getAddressFactory
in interfaceIBinaryParser.IBinaryObject
- Specified by:
getAddressFactory
in classBinaryObjectAdapter
-