Class DyldCacheUtils

java.lang.Object
ghidra.app.util.opinion.DyldCacheUtils

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

    • DyldCacheUtils

      public DyldCacheUtils()
  • Method Details

    • 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(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