Package ghidra.program.disassemble
Class ReDisassembler.ReDisState
java.lang.Object
ghidra.program.disassemble.ReDisassembler.ReDisState
- Enclosing class:
ReDisassembler
-
Field Summary
Modifier and TypeFieldDescriptionprotected final InstructionSet
protected final TaskMonitor
protected final MemBuffer
protected final Deque
<ghidra.program.disassemble.ReDisassembler.Flow> protected final ProgramContext
protected final AddressSet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ReDisassembler.ReDisState
addFlow
(ghidra.program.disassemble.ReDisassembler.Flow flow) protected ReDisassembler.ReDisState
protected MemBuffer
createBuffer
(Address at) protected InstructionSet
protected boolean
Not necessarily a full block, but certainly no more than a block.void
-
Field Details
-
monitor
-
progMemBuffer
-
tempContext
-
visited
-
queue
-
instructionSet
-
ctxAddrs
-
-
Constructor Details
-
ReDisState
-
-
Method Details
-
addSeed
-
addFlow
-
createBuffer
-
nextBlock
Not necessarily a full block, but certainly no more than a block.It's also not necessarily a basic block, since this doesn't care about jumps into the block. It simply starts at the next seed and proceeds until either the existing instruction and context matches what's already there, or it encounters an unconditional branch.
- Returns:
- true if the queue is non-empty after completing this block, false if we're done.
- Throws:
CancelledException
-
disassemble
- Throws:
CancelledException
-
writeContext
public void writeContext()
-