Package ghidra.app.util.opinion
Class DyldCacheProgramBuilder
java.lang.Object
ghidra.app.util.opinion.MachoProgramBuilder
ghidra.app.util.opinion.DyldCacheProgramBuilder
Builds up a DYLD Cache
Program
by parsing the DYLD Cache headers.-
Field Summary
Fields inherited from class ghidra.app.util.opinion.MachoProgramBuilder
BLOCK_SOURCE_NAME, fileBytes, listing, log, machoHeader, memory, monitor, program, provider, reader, space
-
Constructor Summary
ModifierConstructorDescriptionprotected
DyldCacheProgramBuilder
(Program program, ByteProvider provider, FileBytes fileBytes, DyldCacheOptions options, MessageLog log, TaskMonitor monitor) Creates a newDyldCacheProgramBuilder
based on the given information. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
build()
static void
buildProgram
(Program program, ByteProvider provider, FileBytes fileBytes, DyldCacheOptions options, MessageLog log, TaskMonitor monitor) Builds up a DYLD CacheProgram
.Methods inherited from class ghidra.app.util.opinion.MachoProgramBuilder
buildProgram, createNamespace, fixupExternalLibrary, fixupProgramTree, getMachoBaseAddress, markupAndSetGolangInitialProgramProperties, markupChainedFixups, markupHeaders, markupLoadCommandData, markupProgramVars, markupSections, processAbsoluteSymbols, processChainedFixups, processCorruptLoadCommands, processDyldInfo, processEncryption, processEntryPoint, processExports, processExternalRelocations, processLibraries, processLocalRelocations, processMemoryBlocks, processNewExport, processSectionRelocations, processStubs, processSymbolTables, processUndefinedSymbols, processUnsupportedLoadCommands, renameObjMsgSendRtpSymbol, setCompiler, setProgramDescription, setProgramImageBase, setRelocatableProperty, setupHeaderAddr
-
Constructor Details
-
DyldCacheProgramBuilder
protected DyldCacheProgramBuilder(Program program, ByteProvider provider, FileBytes fileBytes, DyldCacheOptions options, MessageLog log, TaskMonitor monitor) Creates a newDyldCacheProgramBuilder
based on the given information.- Parameters:
program
- TheProgram
to build upprovider
- TheByteProvider
that contains the DYLD Cache bytesfileBytes
- Where the DYLD Cache's bytes came fromoptions
- Options from theDyldCacheLoader
log
- The logmonitor
- A cancelable task monitor
-
-
Method Details
-
buildProgram
public static void buildProgram(Program program, ByteProvider provider, FileBytes fileBytes, DyldCacheOptions options, MessageLog log, TaskMonitor monitor) throws Exception Builds up a DYLD CacheProgram
.- Parameters:
program
- TheProgram
to build upprovider
- TheByteProvider
that contains the DYLD Cache's bytesfileBytes
- Where the Mach-O's bytes came fromoptions
- Options from theDyldCacheLoader
log
- The logmonitor
- A cancelable task monitor- Throws:
Exception
- if a problem occurs
-
build
- Overrides:
build
in classMachoProgramBuilder
- Throws:
Exception
-