Package org.eclipse.cdt.utils
Class BinaryObjectAdapter
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.cdt.utils.BinaryFile
org.eclipse.cdt.utils.BinaryObjectAdapter
- All Implemented Interfaces:
IBinaryParser.IBinaryFile,IBinaryParser.IBinaryObject,org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
ElfBinaryObject,MachOBinaryObject64,PEBinaryObject64,SOMBinaryObject,XCOFFBinaryObject
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from interface org.eclipse.cdt.core.IBinaryParser.IBinaryFile
ARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED -
Constructor Summary
ConstructorsConstructorDescriptionBinaryObjectAdapter(IBinaryParser parser, org.eclipse.core.runtime.IPath path, int type) -
Method Summary
Modifier and TypeMethodDescriptionabstract IAddressFactoryprotected abstract BinaryObjectAdapter.BinaryObjectInfolonggetBSS()getCPU()CPU namelonggetData()getName()The name of the objectString[]Symbo at this address.abstract IBinaryParser.ISymbol[]Symbols of the objectlonggetText()booleanhasDebug()True if the binary contains debug informationbooleanThe endiantoString()Methods inherited from class org.eclipse.cdt.utils.BinaryFile
getBinaryParser, getContents, getPath, getType, hasChangedMethods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.cdt.core.IBinaryParser.IBinaryFile
getBinaryParser, getContents, getPath, getType
-
Field Details
-
NO_SYMBOLS
-
-
Constructor Details
-
BinaryObjectAdapter
-
-
Method Details
-
getSymbol
Description copied from interface:IBinaryParser.IBinaryObjectSymbo at this address.- Specified by:
getSymbolin interfaceIBinaryParser.IBinaryObject- Parameters:
addr-- Returns:
- ISymbol
-
getBSS
public long getBSS()- Specified by:
getBSSin interfaceIBinaryParser.IBinaryObject- See Also:
-
getCPU
Description copied from interface:IBinaryParser.IBinaryObjectCPU name- Specified by:
getCPUin interfaceIBinaryParser.IBinaryObject- Returns:
- String - cpu name
- See Also:
-
getData
public long getData()- Specified by:
getDatain interfaceIBinaryParser.IBinaryObject- See Also:
-
getText
public long getText()- Specified by:
getTextin interfaceIBinaryParser.IBinaryObject- See Also:
-
hasDebug
public boolean hasDebug()Description copied from interface:IBinaryParser.IBinaryObjectTrue if the binary contains debug information- Specified by:
hasDebugin interfaceIBinaryParser.IBinaryObject- Returns:
- true if debug information
- See Also:
-
isLittleEndian
public boolean isLittleEndian()Description copied from interface:IBinaryParser.IBinaryObjectThe endian- Specified by:
isLittleEndianin interfaceIBinaryParser.IBinaryObject- Returns:
- boolean - true for little endian
- See Also:
-
getSoName
- See Also:
-
getName
Description copied from interface:IBinaryParser.IBinaryObjectThe name of the object- Specified by:
getNamein interfaceIBinaryParser.IBinaryObject- Returns:
- String
- See Also:
-
toString
-
getSymbols
Description copied from interface:IBinaryParser.IBinaryObjectSymbols of the object- Specified by:
getSymbolsin interfaceIBinaryParser.IBinaryObject- Returns:
- ISymbol[] arrays of symbols
- See Also:
-
getAddressFactory
- Specified by:
getAddressFactoryin interfaceIBinaryParser.IBinaryObject
-
getBinaryObjectInfo
-