Class MachOHelper


  • @Deprecated
    public class MachOHelper
    extends java.lang.Object
    Deprecated.
    Deprecated as of CDT 6.1. Use 64 bit version MachOHelper64. This class is planned for removal in next major release.
    MachOHelper is a wrapper class for the MachO class to provide higher level API for sorting/searching the MachO data.
    See Also:
    MachO
    • Constructor Detail

      • MachOHelper

        public MachOHelper​(MachO macho)
                    throws java.io.IOException
        Deprecated.
        Create a new MachOHelper using an existing MachO object.
        Parameters:
        macho - An existing MachO object to wrap.
        Throws:
        java.io.IOException - Error processing the MachO file.
      • MachOHelper

        public MachOHelper​(java.lang.String filename)
                    throws java.io.IOException
        Deprecated.
        Create a new MachOHelper based on the given filename.
        Parameters:
        filename - The file to use for creating a new MachO object.
        Throws:
        java.io.IOException - Error processing the MachO file.
        See Also:
        MachO( String )
      • MachOHelper

        public MachOHelper​(java.lang.String filename,
                           long offset)
                    throws java.io.IOException
        Deprecated.
        Create a new MachOHelper based on the given filename.
        Parameters:
        filename - The file to use for creating a new MachO object.
        Throws:
        java.io.IOException - Error processing the MachO file.
        See Also:
        MachO( String )
      • MachOHelper

        public MachOHelper​(java.lang.String filename,
                           boolean filton)
                    throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
    • Method Detail

      • dispose

        public void dispose()
        Deprecated.
      • getMachO

        public MachO getMachO()
        Deprecated.
        Give back the MachO object that this helper is wrapping
      • getExternalFunctions

        public MachO.Symbol[] getExternalFunctions()
                                            throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getExternalObjects

        public MachO.Symbol[] getExternalObjects()
                                          throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getUndefined

        public MachO.Symbol[] getUndefined()
                                    throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getLocalFunctions

        public MachO.Symbol[] getLocalFunctions()
                                         throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getLocalObjects

        public MachO.Symbol[] getLocalObjects()
                                       throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getCommonObjects

        public MachO.Symbol[] getCommonObjects()
                                        throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getNeeded

        public java.lang.String[] getNeeded()
                                     throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getSoname

        public java.lang.String getSoname()
                                   throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getQnxUsage

        public java.lang.String getQnxUsage()
                                     throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • getSizes

        public MachOHelper.Sizes getSizes()
                                   throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException