Interface IBinary

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IBufferChangedListener, ICElement, IOpenable, IParent

public interface IBinary extends ICElement, IParent, IOpenable
Represents a Binary file, for example an ELF executable. An ELF parser will inspect the binary.
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Method Details

    • hasDebug

      boolean hasDebug()
      Return whether the file was compiling with debug symbols.
    • isExecutable

      boolean isExecutable()
    • isObject

      boolean isObject()
    • isSharedLib

      boolean isSharedLib()
    • isCore

      boolean isCore()
    • getNeededSharedLibs

      String[] getNeededSharedLibs()
    • getSoname

      String getSoname()
    • getCPU

      String getCPU()
    • getText

      long getText()
    • getData

      long getData()
    • getBSS

      long getBSS()
    • isLittleEndian

      boolean isLittleEndian()
    • showInBinaryContainer

      boolean showInBinaryContainer()
      Determines whether this binary is part of the binary container. The binary container collects binaries from a project. This is typically used to presents the executables of a project under a common node in the CView or ProjectNavigator.
    • getLocation

      org.eclipse.core.runtime.IPath getLocation()
      Returns the absolute path of the location of this binary. May be null, in case the location does not exist.
      Returns:
      an absolute path to the location, or null
      Since:
      8.4