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_SYMBOLS
ARCHIVE, 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.
|
toString
getBinaryParser, getPath, getType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBinaryParser, getPath, getType
protected 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 BinaryObjectAdapter
public InputStream getContents() throws IOException
getContents
in interface IBinaryParser.IBinaryFile
getContents
in class BinaryFile
IOException
IBinaryParser.IBinaryFile.getContents()
protected MachOHelper getMachOHelper() throws IOException
IOException
public String getName()
IBinaryParser.IBinaryObject
getName
in interface IBinaryParser.IBinaryObject
getName
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.getName()
public IAddressFactory getAddressFactory()
getAddressFactory
in interface IBinaryParser.IBinaryObject
getAddressFactory
in class BinaryObjectAdapter
protected 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
IOException
protected CPPFilt getCPPFilt()
public String getCPU()
IBinaryParser.IBinaryObject
getCPU
in interface IBinaryParser.IBinaryObject
getCPU
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.getCPU()
public boolean hasDebug()
IBinaryParser.IBinaryObject
hasDebug
in interface IBinaryParser.IBinaryObject
hasDebug
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.hasDebug()
public boolean isLittleEndian()
IBinaryParser.IBinaryObject
isLittleEndian
in interface IBinaryParser.IBinaryObject
isLittleEndian
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.isLittleEndian()
public long getBSS()
getBSS
in interface IBinaryParser.IBinaryObject
getBSS
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.getBSS()
public long getData()
getData
in interface IBinaryParser.IBinaryObject
getData
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.getData()
public long getText()
getText
in interface IBinaryParser.IBinaryObject
getText
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.getText()
public IBinaryParser.ISymbol[] getSymbols()
IBinaryParser.IBinaryObject
getSymbols
in interface IBinaryParser.IBinaryObject
getSymbols
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.getSymbols()
public IBinaryParser.ISymbol getSymbol(IAddress addr)
IBinaryParser.IBinaryObject
getSymbol
in interface IBinaryParser.IBinaryObject
getSymbol
in class BinaryObjectAdapter
public String[] getNeededSharedLibs()
getNeededSharedLibs
in class BinaryObjectAdapter
IBinaryParser.IBinaryExecutable.getNeededSharedLibs()
public String getSoName()
getSoName
in class BinaryObjectAdapter
IBinaryParser.IBinaryShared.getSoName()
protected boolean hasChanged()
hasChanged
in class BinaryFile
public <T> T getAdapter(Class<T> adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class org.eclipse.core.runtime.PlatformObject
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.