Class DyldCacheSlideInfoCommon

    • Field Detail

      • version

        protected int version
      • slideInfoOffset

        protected long slideInfoOffset
    • Constructor Detail

      • DyldCacheSlideInfoCommon

        public DyldCacheSlideInfoCommon​(BinaryReader reader)
                                 throws java.io.IOException
        Parameters:
        reader - A BinaryReader positioned at the start of a DYLD slide info
        Throws:
        java.io.IOException - if there was an IO-related problem creating the DYLD slide info
    • Method Detail

      • parseSlideInfo

        public static DyldCacheSlideInfoCommon parseSlideInfo​(BinaryReader reader,
                                                              long slideInfoOffset,
                                                              MessageLog log,
                                                              TaskMonitor monitor)
        Parses the slide info
        Parameters:
        reader - A BinaryReader positioned at the start of a DYLD slide info
        slideInfoOffset - The offset of the slide info to parse
        log - The log
        monitor - A cancelable task monitor
        Returns:
        The slide info object
      • getVersion

        public int getVersion()
        Gets the version of the DYLD slide info.
        Returns:
        The version of the DYLD slide info.
      • getSlideInfoOffset

        public long getSlideInfoOffset()
        Return the original slide info offset
        Returns:
        the original slide info offset
      • createChainPointers

        protected void createChainPointers​(Program program,
                                           java.util.List<Address> unchainedLocList,
                                           TaskMonitor monitor)
                                    throws CancelledException
        Create pointers at each fixed chain location.
        Parameters:
        program - The program
        unchainedLocList - Address list of fixed pointer locations
        monitor - A cancelable task monitor
        Throws:
        CancelledException - if the user cancels
      • toDataType

        public DataType toDataType()
                            throws DuplicateNameException,
                                   java.io.IOException
        Description copied from interface: StructConverter
        Returns a structure datatype representing the contents of the implementor of this interface.

        For example, given:

         class A {
             int foo;
             double bar;
         }
         

        The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.

        Specified by:
        toDataType in interface StructConverter
        Returns:
        returns a structure datatype representing the implementor of this interface
        Throws:
        DuplicateNameException - when a datatype of the same name already exists
        java.io.IOException
        See Also:
        StructureDataType