Package ghidra.app.cmd.function
Class CaptureFunctionDataTypesCmd
Capture all selected function signature data types from the current program and put them
in the data type manager.
-
Constructor Summary
ConstructorDescriptionCaptureFunctionDataTypesCmd
(DataTypeManager dtm, AddressSetView set, CaptureFunctionDataTypesListener listener) Constructs a new command to create function definition data types in the given data type manager from the function's whose entry points are in 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.void
Called when the task monitor is completely done with indicating progress.Methods inherited from class ghidra.framework.cmd.BackgroundCommand
applyTo, canCancel, dispose, getName, getStatusMsg, hasProgress, isModal, run, setStatusMsg, toString
-
Constructor Details
-
CaptureFunctionDataTypesCmd
public CaptureFunctionDataTypesCmd(DataTypeManager dtm, AddressSetView set, CaptureFunctionDataTypesListener listener) Constructs a new command to create function definition data types in the given data type manager from the function's whose entry points are in the address set.- Parameters:
dtm
- data type manager containing the function signature data typesset
- set of addresses containing the entry points of the functions whose signatures are to be turned into data types.listener
-
-
-
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
-
taskCompleted
public void taskCompleted()Description copied from class:BackgroundCommand
Called when the task monitor is completely done with indicating progress.- Overrides:
taskCompleted
in classBackgroundCommand<Program>
-