Class ReDisassembler
java.lang.Object
ghidra.program.disassemble.ReDisassembler
A class that re-disassembles where necessary
Given a seed address, this will (re-)disassemble the instruction at that address. If it indicates
any context changes, whether via globalset or fall-through, the affected addresses are
considered for re-disassembly as well. If no instruction exists at the address, or an off-cut
instruction exists at the address, the address is dropped, but the outgoing context is recorded.
If one does exist, but its context is already the same, the address is dropped. Otherwise, it is
queued up and the process repeats.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classprotected classprotected class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AddressFactoryprotected final Registerprotected final Languageprotected final ParallelInstructionLanguageHelper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisassemble(Address seed, TaskMonitor monitor) disassemble(AddressSetView seeds, TaskMonitor monitor) protected AddressSetViewplaceInstructions(ReDisassembler.ReDisState state, InstructionSet set, TaskMonitor monitor)
-
Field Details
-
language
-
addrFactory
-
ctxRegister
-
parallelHelper
-
-
Constructor Details
-
ReDisassembler
-
-
Method Details
-
placeInstructions
protected AddressSetView placeInstructions(ReDisassembler.ReDisState state, InstructionSet set, TaskMonitor monitor) throws CancelledException - Throws:
CancelledException
-
disassemble
public AddressSetView disassemble(AddressSetView seeds, TaskMonitor monitor) throws CancelledException - Throws:
CancelledException
-
disassemble
- Throws:
CancelledException
-