Class FunctionResultStateStackAnalysisCmd

java.lang.Object
ghidra.framework.cmd.BackgroundCommand<Program>
ghidra.app.cmd.function.FunctionResultStateStackAnalysisCmd
All Implemented Interfaces:
Command<Program>

public class FunctionResultStateStackAnalysisCmd extends BackgroundCommand<Program>
Command for analyzing the Stack; the command is run in the background.
  • Constructor Details

    • FunctionResultStateStackAnalysisCmd

      public FunctionResultStateStackAnalysisCmd(AddressSetView entries, boolean forceProcessing)
      Constructs a new command for analyzing the Stack.
      Parameters:
      entries - and address set indicating the entry points of functions that have stacks to be analyzed.
      forceProcessing - flag to force processing of stack references even if the stack has already been defined.
    • FunctionResultStateStackAnalysisCmd

      public FunctionResultStateStackAnalysisCmd(Address entry, boolean forceProcessing)
      Constructs a new command for analyzing the Stack.
      Parameters:
      entry - the entry point of the function that contains the stack to be analyzed.
      forceProcessing - flag to force processing of stack references even if the stack has already been defined.
  • Method Details

    • applyTo

      public boolean applyTo(Program program, TaskMonitor monitor)
      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 class BackgroundCommand<Program>
      Parameters:
      program - domain object that will be affected by the command
      monitor - monitor to show progress of the command
      Returns:
      true if the command applied successfully