public class PEBinaryObject64 extends BinaryObjectAdapter
BinaryObjectAdapter.BinaryObjectInfo
NO_SYMBOLS
ARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED
Constructor and Description |
---|
PEBinaryObject64(IBinaryParser parser,
org.eclipse.core.runtime.IPath path,
AR.ARHeader header) |
PEBinaryObject64(IBinaryParser parser,
org.eclipse.core.runtime.IPath p,
int type) |
Modifier and Type | Method and Description |
---|---|
protected void |
addSymbols(Coff64.Symbol[] peSyms,
byte[] table,
List<Symbol> list) |
<T> T |
getAdapter(Class<T> adapter) |
IAddressFactory |
getAddressFactory() |
protected BinaryObjectAdapter.BinaryObjectInfo |
getBinaryObjectInfo() |
InputStream |
getContents() |
String |
getName()
The name of the object
|
protected PE64 |
getPE() |
IBinaryParser.ISymbol[] |
getSymbols()
Symbols of the object
|
protected void |
loadAll() |
protected void |
loadInfo() |
protected void |
loadInfo(PE64 pe) |
protected void |
loadSymbols(PE64 pe) |
protected void |
loadSymbols(PE64 pe,
List<Symbol> list) |
getBSS, getCPU, getData, getNeededSharedLibs, getSoName, getSymbol, getText, hasDebug, isLittleEndian, toString
getBinaryParser, getPath, getType, hasChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBinaryParser, getPath, getType
public PEBinaryObject64(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.ARHeader header)
public PEBinaryObject64(IBinaryParser parser, org.eclipse.core.runtime.IPath p, int type)
public String getName()
IBinaryParser.IBinaryObject
getName
in interface IBinaryParser.IBinaryObject
getName
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.getName()
public InputStream getContents() throws IOException
getContents
in interface IBinaryParser.IBinaryFile
getContents
in class BinaryFile
IOException
IBinaryParser.IBinaryFile.getContents()
public IBinaryParser.ISymbol[] getSymbols()
IBinaryParser.IBinaryObject
getSymbols
in interface IBinaryParser.IBinaryObject
getSymbols
in class BinaryObjectAdapter
IBinaryParser.IBinaryObject.getSymbols()
protected BinaryObjectAdapter.BinaryObjectInfo getBinaryObjectInfo()
getBinaryObjectInfo
in class BinaryObjectAdapter
public <T> T getAdapter(Class<T> adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class org.eclipse.core.runtime.PlatformObject
protected PE64 getPE() throws IOException
IOException
protected void loadAll() throws IOException
IOException
protected void loadInfo() throws IOException
IOException
protected void loadInfo(PE64 pe) throws IOException
IOException
protected void loadSymbols(PE64 pe) throws IOException
IOException
protected void loadSymbols(PE64 pe, List<Symbol> list) throws IOException
IOException
protected void addSymbols(Coff64.Symbol[] peSyms, byte[] table, List<Symbol> list)
public IAddressFactory getAddressFactory()
getAddressFactory
in interface IBinaryParser.IBinaryObject
getAddressFactory
in class BinaryObjectAdapter
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.