public class MachOBinaryObject64 extends BinaryObjectAdapter
BinaryObjectAdapter.BinaryObjectInfo| Modifier and Type | Field and Description |
|---|---|
protected IAddressFactory |
addressFactory |
protected MachO64.Attribute |
attributes |
protected AR.ARHeader |
header |
protected boolean |
is64 |
protected String[] |
needed |
protected MachOHelper64.Sizes |
sizes |
protected String |
soname |
protected IBinaryParser.ISymbol[] |
symbols |
protected long |
timeStamp |
NO_SYMBOLSARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED| Constructor and Description |
|---|
MachOBinaryObject64(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
AR.ARHeader header) |
MachOBinaryObject64(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
int type) |
toStringgetBinaryParser, getPath, getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBinaryParser, getPath, getTypeprotected AR.ARHeader header
protected IAddressFactory addressFactory
protected MachO64.Attribute attributes
protected MachOHelper64.Sizes sizes
protected IBinaryParser.ISymbol[] symbols
protected String soname
protected String[] needed
protected long timeStamp
protected boolean is64
public MachOBinaryObject64(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.ARHeader header)
parser - path - header - public MachOBinaryObject64(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 MachOHelper64 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 MachO64.Attribute internalGetAttributes()
protected MachOHelper64.Sizes internalGetSizes()
protected IBinaryParser.ISymbol[] internalGetSymbols()
protected String internalGetSoName()
protected String[] internalGetNeeded()
protected void loadBinaryInfo()
protected IBinaryParser.ISymbol[] loadSymbols(MachOHelper64 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.