MachOBinaryObject64.
This class is planned for removal in next major release.@Deprecated public class MachOBinaryObject extends BinaryObjectAdapter
BinaryObjectAdapter.BinaryObjectInfo| Modifier and Type | Field and Description |
|---|---|
protected IAddressFactory |
addressFactory
Deprecated.
|
protected MachO.Attribute |
attributes
Deprecated.
|
protected AR.ARHeader |
header
Deprecated.
|
protected String[] |
needed
Deprecated.
|
protected MachOHelper.Sizes |
sizes
Deprecated.
|
protected String |
soname
Deprecated.
|
protected IBinaryParser.ISymbol[] |
symbols
Deprecated.
|
protected long |
timeStamp
Deprecated.
|
NO_SYMBOLSARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED| Constructor and Description |
|---|
MachOBinaryObject(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
AR.ARHeader header)
Deprecated.
|
MachOBinaryObject(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
int type)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearCachedValues()
Deprecated.
|
<T> T |
getAdapter(Class<T> adapter)
Deprecated.
|
IAddressFactory |
getAddressFactory()
Deprecated.
|
protected BinaryObjectAdapter.BinaryObjectInfo |
getBinaryObjectInfo()
Deprecated.
|
long |
getBSS()
Deprecated.
|
InputStream |
getContents()
Deprecated.
|
protected CPPFilt |
getCPPFilt()
Deprecated.
|
String |
getCPU()
Deprecated.
CPU name
|
long |
getData()
Deprecated.
|
protected MachOHelper |
getMachOHelper()
Deprecated.
|
String |
getName()
Deprecated.
The name of the object
|
String[] |
getNeededSharedLibs()
Deprecated.
|
String |
getSoName()
Deprecated.
|
IBinaryParser.ISymbol |
getSymbol(IAddress addr)
Deprecated.
Symbo at this address.
|
IBinaryParser.ISymbol[] |
getSymbols()
Deprecated.
Symbols of the object
|
long |
getText()
Deprecated.
|
protected boolean |
hasChanged()
Deprecated.
|
boolean |
hasDebug()
Deprecated.
True if the binary contains debug information
|
protected MachO.Attribute |
internalGetAttributes()
Deprecated.
|
protected String[] |
internalGetNeeded()
Deprecated.
|
protected MachOHelper.Sizes |
internalGetSizes()
Deprecated.
|
protected String |
internalGetSoName()
Deprecated.
|
protected IBinaryParser.ISymbol[] |
internalGetSymbols()
Deprecated.
|
boolean |
isLittleEndian()
Deprecated.
The endian
|
protected void |
loadBinaryInfo()
Deprecated.
|
protected IBinaryParser.ISymbol[] |
loadSymbols(MachOHelper helper)
Deprecated.
|
toStringgetBinaryParser, getPath, getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBinaryParser, getPath, getTypeprotected AR.ARHeader header
protected IAddressFactory addressFactory
protected MachO.Attribute attributes
protected MachOHelper.Sizes sizes
protected IBinaryParser.ISymbol[] symbols
protected String soname
protected String[] needed
protected long timeStamp
public MachOBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.ARHeader header)
parser - path - header - public MachOBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, int type)
parser - path - type - protected BinaryObjectAdapter.BinaryObjectInfo getBinaryObjectInfo()
getBinaryObjectInfo in class BinaryObjectAdapterpublic InputStream getContents() throws IOException
getContents in interface IBinaryParser.IBinaryFilegetContents in class BinaryFileIOExceptionIBinaryParser.IBinaryFile.getContents()protected MachOHelper getMachOHelper() throws IOException
IOExceptionpublic String getName()
IBinaryParser.IBinaryObjectgetName in interface IBinaryParser.IBinaryObjectgetName in class BinaryObjectAdapterIBinaryParser.IBinaryObject.getName()public IAddressFactory getAddressFactory()
getAddressFactory in interface IBinaryParser.IBinaryObjectgetAddressFactory in class BinaryObjectAdapterprotected void clearCachedValues()
protected MachO.Attribute internalGetAttributes()
protected MachOHelper.Sizes internalGetSizes()
protected IBinaryParser.ISymbol[] internalGetSymbols()
protected String internalGetSoName()
protected String[] internalGetNeeded()
protected void loadBinaryInfo()
protected IBinaryParser.ISymbol[] loadSymbols(MachOHelper helper) throws IOException
IOExceptionprotected CPPFilt getCPPFilt()
public String getCPU()
IBinaryParser.IBinaryObjectgetCPU in interface IBinaryParser.IBinaryObjectgetCPU in class BinaryObjectAdapterIBinaryParser.IBinaryObject.getCPU()public boolean hasDebug()
IBinaryParser.IBinaryObjecthasDebug in interface IBinaryParser.IBinaryObjecthasDebug in class BinaryObjectAdapterIBinaryParser.IBinaryObject.hasDebug()public boolean isLittleEndian()
IBinaryParser.IBinaryObjectisLittleEndian in interface IBinaryParser.IBinaryObjectisLittleEndian in class BinaryObjectAdapterIBinaryParser.IBinaryObject.isLittleEndian()public long getBSS()
getBSS in interface IBinaryParser.IBinaryObjectgetBSS in class BinaryObjectAdapterIBinaryParser.IBinaryObject.getBSS()public long getData()
getData in interface IBinaryParser.IBinaryObjectgetData in class BinaryObjectAdapterIBinaryParser.IBinaryObject.getData()public long getText()
getText in interface IBinaryParser.IBinaryObjectgetText in class BinaryObjectAdapterIBinaryParser.IBinaryObject.getText()public IBinaryParser.ISymbol[] getSymbols()
IBinaryParser.IBinaryObjectgetSymbols in interface IBinaryParser.IBinaryObjectgetSymbols in class BinaryObjectAdapterIBinaryParser.IBinaryObject.getSymbols()public IBinaryParser.ISymbol getSymbol(IAddress addr)
IBinaryParser.IBinaryObjectgetSymbol in interface IBinaryParser.IBinaryObjectgetSymbol in class BinaryObjectAdapterpublic String[] getNeededSharedLibs()
getNeededSharedLibs in class BinaryObjectAdapterIBinaryParser.IBinaryExecutable.getNeededSharedLibs()public String getSoName()
getSoName in class BinaryObjectAdapterIBinaryParser.IBinaryShared.getSoName()protected boolean hasChanged()
hasChanged in class BinaryFilepublic <T> T getAdapter(Class<T> adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptablegetAdapter in class org.eclipse.core.runtime.PlatformObjectCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.