Package ghidra.app.util.opinion
Class DyldCacheUtils
java.lang.Object
ghidra.app.util.opinion.DyldCacheUtils
Utilities methods for working with Mach-O DYLD shared cache binaries.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Class to store a "split" DYLD Cache, which is split across several subcache files (base file, .1, .2, .symbols, etc). -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final boolean
isDyldCache
(ByteProvider provider) Determines if the givenByteProvider
is a DYLD cache.static final boolean
isDyldCache
(Program program) Determines if the givenProgram
is a DYLD cache.static final boolean
isDyldCache
(String signature) Determines if the given signature represents a DYLD cache signature with an architecture we support.
-
Constructor Details
-
DyldCacheUtils
public DyldCacheUtils()
-
-
Method Details
-
isDyldCache
Determines if the givenProgram
is a DYLD cache. -
isDyldCache
Determines if the givenByteProvider
is a DYLD cache.- Parameters:
provider
- TheByteProvider
- Returns:
- True if the given
ByteProvider
is a DYLD cache; otherwise, false
-
isDyldCache
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
-