Package ghidra.app.util.opinion
Class DyldCacheUtils
- java.lang.Object
-
- ghidra.app.util.opinion.DyldCacheUtils
-
public class DyldCacheUtils extends java.lang.Object
Utilities methods for working with Mach-O DYLD shared cache binaries.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DyldCacheUtils.SplitDyldCache
Class to store a "split" DYLD Cache, which is split across several files (base file, .1, .2, .symbols, etc).
-
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 givenByteProvider
is a DYLD cache.static boolean
isDyldCache(Program program)
Determines if the givenProgram
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.
-
-
-
Method Detail
-
isDyldCache
public static final boolean isDyldCache(Program program)
Determines if the givenProgram
is a DYLD cache.
-
isDyldCache
public static final boolean isDyldCache(ByteProvider provider)
Determines if the givenByteProvider
is a DYLD cache.- Parameters:
provider
- TheByteProvider
- 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
-
-