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 void
addSymbols(Coff.Symbol[] peSyms, byte[] table, List<Symbol> list)
Deprecated.<T> T
getAdapter(Class<T> adapter)
Deprecated.IAddressFactory
getAddressFactory()
Deprecated.protected BinaryObjectAdapter.BinaryObjectInfo
getBinaryObjectInfo()
Deprecated.InputStream
getContents()
Deprecated.String
getName()
Deprecated.The name of the objectprotected PE
getPE()
Deprecated.IBinaryParser.ISymbol[]
getSymbols()
Deprecated.Symbols of the objectprotected void
loadAll()
Deprecated.protected void
loadInfo()
Deprecated.protected void
loadInfo(PE pe)
Deprecated.protected void
loadSymbols(PE pe)
Deprecated.protected void
loadSymbols(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.IBinaryObject
The name of the object- Specified by:
getName
in interfaceIBinaryParser.IBinaryObject
- Overrides:
getName
in classBinaryObjectAdapter
- Returns:
- String
- See Also:
IBinaryParser.IBinaryObject.getName()
-
getContents
public InputStream getContents() throws IOException
Deprecated.- Specified by:
getContents
in interfaceIBinaryParser.IBinaryFile
- Overrides:
getContents
in classBinaryFile
- Returns:
- the binary contents.
- Throws:
IOException
- See Also:
IBinaryParser.IBinaryFile.getContents()
-
getSymbols
public IBinaryParser.ISymbol[] getSymbols()
Deprecated.Description copied from interface:IBinaryParser.IBinaryObject
Symbols of the object- Specified by:
getSymbols
in interfaceIBinaryParser.IBinaryObject
- Specified by:
getSymbols
in classBinaryObjectAdapter
- Returns:
- ISymbol[] arrays of symbols
- See Also:
IBinaryParser.IBinaryObject.getSymbols()
-
getBinaryObjectInfo
protected BinaryObjectAdapter.BinaryObjectInfo getBinaryObjectInfo()
Deprecated.- Specified by:
getBinaryObjectInfo
in classBinaryObjectAdapter
-
getAdapter
public <T> T getAdapter(Class<T> adapter)
Deprecated.- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
- Overrides:
getAdapter
in classorg.eclipse.core.runtime.PlatformObject
-
getPE
protected PE getPE() throws IOException
Deprecated.- Throws:
IOException
-
loadAll
protected void loadAll() throws IOException
Deprecated.- Throws:
IOException
-
loadInfo
protected void loadInfo() throws IOException
Deprecated.- 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:
getAddressFactory
in interfaceIBinaryParser.IBinaryObject
- Specified by:
getAddressFactory
in classBinaryObjectAdapter
-
-