public abstract class BinaryObjectAdapter extends BinaryFile implements IBinaryParser.IBinaryObject
Modifier and Type | Class and Description |
---|---|
class |
BinaryObjectAdapter.BinaryObjectInfo |
Modifier and Type | Field and Description |
---|---|
protected static IBinaryParser.ISymbol[] |
NO_SYMBOLS |
ARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED
Constructor and Description |
---|
BinaryObjectAdapter(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
int type) |
Modifier and Type | Method and Description |
---|---|
abstract IAddressFactory |
getAddressFactory() |
protected abstract BinaryObjectAdapter.BinaryObjectInfo |
getBinaryObjectInfo() |
long |
getBSS() |
String |
getCPU()
CPU name
|
long |
getData() |
String |
getName()
The name of the object
|
String[] |
getNeededSharedLibs() |
String |
getSoName() |
IBinaryParser.ISymbol |
getSymbol(IAddress addr)
Symbo at this address.
|
abstract IBinaryParser.ISymbol[] |
getSymbols()
Symbols of the object
|
long |
getText() |
boolean |
hasDebug()
True if the binary contains debug information
|
boolean |
isLittleEndian()
The endian
|
String |
toString() |
getBinaryParser, getContents, getPath, getType, hasChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBinaryParser, getContents, getPath, getType
protected static final IBinaryParser.ISymbol[] NO_SYMBOLS
public BinaryObjectAdapter(IBinaryParser parser, org.eclipse.core.runtime.IPath path, int type)
public IBinaryParser.ISymbol getSymbol(IAddress addr)
IBinaryParser.IBinaryObject
getSymbol
in interface IBinaryParser.IBinaryObject
public long getBSS()
getBSS
in interface IBinaryParser.IBinaryObject
IBinaryParser.IBinaryObject.getBSS()
public String getCPU()
IBinaryParser.IBinaryObject
getCPU
in interface IBinaryParser.IBinaryObject
IBinaryParser.IBinaryObject.getCPU()
public long getData()
getData
in interface IBinaryParser.IBinaryObject
IBinaryParser.IBinaryObject.getData()
public long getText()
getText
in interface IBinaryParser.IBinaryObject
IBinaryParser.IBinaryObject.getText()
public boolean hasDebug()
IBinaryParser.IBinaryObject
hasDebug
in interface IBinaryParser.IBinaryObject
IBinaryParser.IBinaryObject.hasDebug()
public boolean isLittleEndian()
IBinaryParser.IBinaryObject
isLittleEndian
in interface IBinaryParser.IBinaryObject
IBinaryParser.IBinaryObject.isLittleEndian()
public String[] getNeededSharedLibs()
public String getSoName()
IBinaryParser.IBinaryShared.getSoName()
public String getName()
IBinaryParser.IBinaryObject
getName
in interface IBinaryParser.IBinaryObject
IBinaryParser.IBinaryObject.getName()
public abstract IBinaryParser.ISymbol[] getSymbols()
IBinaryParser.IBinaryObject
getSymbols
in interface IBinaryParser.IBinaryObject
IBinaryParser.IBinaryObject.getSymbols()
public abstract IAddressFactory getAddressFactory()
getAddressFactory
in interface IBinaryParser.IBinaryObject
protected abstract BinaryObjectAdapter.BinaryObjectInfo getBinaryObjectInfo()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.