Package ghidra.app.cmd.disassemble
Class SetFlowOverrideCmd
Command for setting the fallthrough property on an instruction.
-
Constructor Summary
ConstructorDescriptionSetFlowOverrideCmd
(Address instAddr, FlowOverride flowOverride) Constructs a new command for overriding the flow semantics of an instruction.SetFlowOverrideCmd
(AddressSetView set, FlowOverride flowOverride) Constructs a new command for overriding the flow semantics of all instructions within the address set. -
Method Summary
Modifier and TypeMethodDescriptionboolean
applyTo
(Program program, TaskMonitor monitor) Method called when this command is to apply changes to the given domain object.Methods inherited from class ghidra.framework.cmd.BackgroundCommand
applyTo, canCancel, dispose, getName, getStatusMsg, hasProgress, isModal, run, setStatusMsg, taskCompleted, toString
-
Constructor Details
-
SetFlowOverrideCmd
Constructs a new command for overriding the flow semantics of an instruction.- Parameters:
instAddr
- the address of the instruction whose flow override is to be set.flowOverride
- the type of flow override.
-
SetFlowOverrideCmd
Constructs a new command for overriding the flow semantics of all instructions within the address set.- Parameters:
set
- the address set of the instructions whose flow override is to be set.flowOverride
- the type of flow override.
-
-
Method Details
-
applyTo
Description copied from class:BackgroundCommand
Method called when this command is to apply changes to the given domain object. A monitor is provided to display status information about the command as it executes in the background.- Specified by:
applyTo
in classBackgroundCommand<Program>
- Parameters:
program
- domain object that will be affected by the commandmonitor
- monitor to show progress of the command- Returns:
- true if the command applied successfully
-