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 ClassesChangeModifier and TypeClassDescriptionprotected classprotected classprotected class -
Field Summary
FieldsChangeModifier and TypeFieldDescriptionprotected final AddressFactoryprotected final Registerprotected final Languageprotected final ParallelInstructionLanguageHelper -
Constructor Summary
Constructors -
Method Summary
ChangeModifier and TypeMethodDescriptiondisassemble(Address seed, TaskMonitor monitor) disassemble(AddressSetView seeds, TaskMonitor monitor) protected AddressSetViewplaceInstructions(ReDisassembler.ReDisState state, InstructionSet set, TaskMonitor monitor) REMOVEDAddressSetViewdisasemble(Address seed, TaskMonitor monitor) Removed
-
Field Details
-
language
-
addrFactory
-
ctxRegister
-
parallelHelper
-
-
Constructor Details
-
ReDisassembler
-
-
Method Details
-
placeInstructions NEW
protected AddressSetView placeInstructions(ReDisassembler.ReDisState state, InstructionSet set, TaskMonitor monitor) throws CancelledException - Throws:
CancelledException
-
disassemble NEW
public AddressSetView disassemble(AddressSetView seeds, TaskMonitor monitor) throws CancelledException - Throws:
CancelledException
-
disassemble NEW
- Throws:
CancelledException
-