Package org.eclipse.cdt.core
Interface IBinaryParser.IBinaryFile
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
- All Known Subinterfaces:
IBinaryParser.IBinaryArchive
,IBinaryParser.IBinaryExecutable
,IBinaryParser.IBinaryObject
,IBinaryParser.IBinaryShared
- All Known Implementing Classes:
BinaryFile
,BinaryObjectAdapter
,CygwinPEBinaryArchive64
,CygwinPEBinaryExecutable64
,CygwinPEBinaryObject64
,CygwinPEBinaryShared64
,ElfBinaryArchive
,ElfBinaryExecutable
,ElfBinaryObject
,ElfBinaryShared
,GNUElfBinaryArchive
,GNUElfBinaryExecutable
,GNUElfBinaryObject
,GNUElfBinaryShared
,GNUPEBinaryArchive64
,GNUPEBinaryExecutable64
,GNUPEBinaryObject64
,GNUPEBinaryShared64
,MachOBinaryArchive64
,MachOBinaryExecutable64
,MachOBinaryObject64
,MachOBinaryShared64
,PEBinaryArchive64
,PEBinaryExecutable64
,PEBinaryObject64
,PEBinaryShared64
,SOMBinaryArchive
,SOMBinaryExecutable
,SOMBinaryObject
,SOMBinaryShared
,XCOFFBinaryArchive
,XCOFFBinaryExecutable
,XCOFFBinaryObject
,XCOFFBinaryShared
- Enclosing interface:
- IBinaryParser
public static interface IBinaryParser.IBinaryFile
extends org.eclipse.core.runtime.IAdaptable
Represents a binary file for example an ELF executable.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Binary is an archive, IBinaryArchivestatic final int
Binary is a core file, an IBinaryFilestatic final int
Binary is an executable, can be typecast to IBinaryExectuablestatic final int
Binary is an object, can be safely typecast to IBinaryObjectstatic final int
Binary is a DLL, can be use as a IBinaryShared -
Method Summary
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Field Details
-
OBJECT
static final int OBJECTBinary is an object, can be safely typecast to IBinaryObject- See Also:
-
EXECUTABLE
static final int EXECUTABLEBinary is an executable, can be typecast to IBinaryExectuable- See Also:
-
SHARED
static final int SHAREDBinary is a DLL, can be use as a IBinaryShared- See Also:
-
ARCHIVE
static final int ARCHIVEBinary is an archive, IBinaryArchive- See Also:
-
CORE
static final int COREBinary is a core file, an IBinaryFile- See Also:
-
-
Method Details
-
getPath
org.eclipse.core.runtime.IPath getPath()Filename of the binary- Returns:
- the path
-
getType
int getType()Binary type- Returns:
- the type of the binary
-
getContents
- Returns:
- the binary contents.
- Throws:
IOException
-
getBinaryParser
IBinaryParser getBinaryParser()Return the binary parser
-