Class PEBinaryObject
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.cdt.utils.BinaryFile
-
- org.eclipse.cdt.utils.BinaryObjectAdapter
-
- org.eclipse.cdt.utils.coff.parser.PEBinaryObject
-
- All Implemented Interfaces:
IBinaryParser.IBinaryFile,IBinaryParser.IBinaryObject,org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
CygwinPEBinaryObject,PEBinaryExecutable,PEBinaryShared
@Deprecated public class PEBinaryObject extends BinaryObjectAdapter
Deprecated.Deprecated as of CDT 6.9. Use 64 bit versionPEBinaryObject64. This class is planned for removal in next major release.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.cdt.utils.BinaryObjectAdapter
BinaryObjectAdapter.BinaryObjectInfo
-
-
Field Summary
-
Fields inherited from class org.eclipse.cdt.utils.BinaryObjectAdapter
NO_SYMBOLS
-
Fields inherited from interface org.eclipse.cdt.core.IBinaryParser.IBinaryFile
ARCHIVE, CORE, EXECUTABLE, OBJECT, SHARED
-
-
Constructor Summary
Constructors Constructor Description PEBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath p, int type)Deprecated.PEBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.ARHeader header)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidaddSymbols(Coff.Symbol[] peSyms, byte[] table, List<Symbol> list)Deprecated.<T> TgetAdapter(Class<T> adapter)Deprecated.IAddressFactorygetAddressFactory()Deprecated.protected BinaryObjectAdapter.BinaryObjectInfogetBinaryObjectInfo()Deprecated.InputStreamgetContents()Deprecated.StringgetName()Deprecated.The name of the objectprotected PEgetPE()Deprecated.IBinaryParser.ISymbol[]getSymbols()Deprecated.Symbols of the objectprotected voidloadAll()Deprecated.protected voidloadInfo()Deprecated.protected voidloadInfo(PE pe)Deprecated.protected voidloadSymbols(PE pe)Deprecated.protected voidloadSymbols(PE pe, List<Symbol> list)Deprecated.-
Methods inherited from class org.eclipse.cdt.utils.BinaryObjectAdapter
getBSS, getCPU, getData, getNeededSharedLibs, getSoName, getSymbol, getText, hasDebug, isLittleEndian, toString
-
Methods inherited from class org.eclipse.cdt.utils.BinaryFile
getBinaryParser, getPath, getType, hasChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.cdt.core.IBinaryParser.IBinaryFile
getBinaryParser, getPath, getType
-
-
-
-
Constructor Detail
-
PEBinaryObject
public PEBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath path, AR.ARHeader header)
Deprecated.
-
PEBinaryObject
public PEBinaryObject(IBinaryParser parser, org.eclipse.core.runtime.IPath p, int type)
Deprecated.
-
-
Method Detail
-
getName
public String getName()
Deprecated.Description copied from interface:IBinaryParser.IBinaryObjectThe name of the object- Specified by:
getNamein interfaceIBinaryParser.IBinaryObject- Overrides:
getNamein classBinaryObjectAdapter- Returns:
- String
- See Also:
IBinaryParser.IBinaryObject.getName()
-
getContents
public InputStream getContents() throws IOException
Deprecated.- Specified by:
getContentsin interfaceIBinaryParser.IBinaryFile- Overrides:
getContentsin classBinaryFile- Returns:
- the binary contents.
- Throws:
IOException- See Also:
IBinaryParser.IBinaryFile.getContents()
-
getSymbols
public IBinaryParser.ISymbol[] getSymbols()
Deprecated.Description copied from interface:IBinaryParser.IBinaryObjectSymbols of the object- Specified by:
getSymbolsin interfaceIBinaryParser.IBinaryObject- Specified by:
getSymbolsin classBinaryObjectAdapter- Returns:
- ISymbol[] arrays of symbols
- See Also:
IBinaryParser.IBinaryObject.getSymbols()
-
getBinaryObjectInfo
protected BinaryObjectAdapter.BinaryObjectInfo getBinaryObjectInfo()
Deprecated.- Specified by:
getBinaryObjectInfoin classBinaryObjectAdapter
-
getAdapter
public <T> T getAdapter(Class<T> adapter)
Deprecated.- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable- Overrides:
getAdapterin classorg.eclipse.core.runtime.PlatformObject
-
getPE
protected PE getPE() throws IOException
Deprecated.- Throws:
IOException
-
loadAll
protected void loadAll() throws IOExceptionDeprecated.- Throws:
IOException
-
loadInfo
protected void loadInfo() throws IOExceptionDeprecated.- Throws:
IOException
-
loadInfo
protected void loadInfo(PE pe) throws IOException
Deprecated.- Throws:
IOException
-
loadSymbols
protected void loadSymbols(PE pe) throws IOException
Deprecated.- Throws:
IOException
-
loadSymbols
protected void loadSymbols(PE pe, List<Symbol> list) throws IOException
Deprecated.- Throws:
IOException
-
addSymbols
protected void addSymbols(Coff.Symbol[] peSyms, byte[] table, List<Symbol> list)
Deprecated.
-
getAddressFactory
public IAddressFactory getAddressFactory()
Deprecated.- Specified by:
getAddressFactoryin interfaceIBinaryParser.IBinaryObject- Specified by:
getAddressFactoryin classBinaryObjectAdapter
-
-