Package ghidra.app.decompiler.util
Class FillOutStructureCmd
Automatically creates a structure definition based on the references found by the decompiler.
If the parameter is already a structure pointer, any new references found will be added
to the structure, even if the structure must grow.
-
Constructor Summary
ConstructorsConstructorDescriptionFillOutStructureCmd(ProgramLocation location, DecompileOptions decompileOptions) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyTo(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
-
FillOutStructureCmd
Constructor.- Parameters:
location- the current program location. Supported location types include:DecompilerLocation,VariableLocationorFunctionParameterFieldLocation.decompileOptions- decompiler options. (seeDecompilerUtils.getDecompileOptions(ServiceProvider, Program))
-
-
Method Details
-
applyTo
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<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
-