Class DyldCacheUtils


  • public class DyldCacheUtils
    extends java.lang.Object
    Utilities methods for working with Mach-O DYLD shared cache binaries.
    • Constructor Summary

      Constructors 
      Constructor Description
      DyldCacheUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isDyldCache​(ByteProvider provider)
      Determines if the given ByteProvider is a DYLD cache.
      static boolean isDyldCache​(Program program)
      Determines if the given Program is a DYLD cache.
      static boolean isDyldCache​(java.lang.String signature)
      Determines if the given signature represents a DYLD cache signature with an architecture we support.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DyldCacheUtils

        public DyldCacheUtils()
    • Method Detail

      • isDyldCache

        public static final boolean isDyldCache​(Program program)
        Determines if the given Program is a DYLD cache.
        Parameters:
        program - The Program
        Returns:
        True if the given Program is a DYLD cache; otherwise, false
      • isDyldCache

        public static final boolean isDyldCache​(ByteProvider provider)
        Determines if the given ByteProvider is a DYLD cache.
        Parameters:
        provider - The ByteProvider
        Returns:
        True if the given ByteProvider is a DYLD cache; otherwise, false
      • isDyldCache

        public static final boolean isDyldCache​(java.lang.String signature)
        Determines if the given signature represents a DYLD cache signature with an architecture we support.
        Parameters:
        signature - The DYLD cache signature
        Returns:
        True if the given signature represents a DYLD cache signature with an architecture we support; otherwise, false