Package ghidra.app.cmd.disassemble
Class SetFlowOverrideCmd
- java.lang.Object
-
- ghidra.framework.cmd.BackgroundCommand
-
- ghidra.app.cmd.disassemble.SetFlowOverrideCmd
-
- All Implemented Interfaces:
Command
public class SetFlowOverrideCmd extends BackgroundCommand
Command for setting the fallthrough property on an instruction.
-
-
Constructor Summary
Constructors Constructor Description SetFlowOverrideCmd(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapplyTo(DomainObject obj, 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, setStatusMsg, taskCompleted, toString
-
-
-
-
Constructor Detail
-
SetFlowOverrideCmd
public SetFlowOverrideCmd(Address instAddr, FlowOverride flowOverride)
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
public SetFlowOverrideCmd(AddressSetView set, FlowOverride flowOverride)
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 Detail
-
applyTo
public boolean applyTo(DomainObject obj, TaskMonitor monitor)
Description copied from class:BackgroundCommandMethod 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:
applyToin classBackgroundCommand- Parameters:
obj- domain object that will be affected by the commandmonitor- monitor to show progress of the command- Returns:
- true if the command applied successfully
-
-