Class ModuleAlgorithmCmd

java.lang.Object
ghidra.framework.cmd.BackgroundCommand
ghidra.app.cmd.module.ModuleAlgorithmCmd
All Implemented Interfaces:
Command

public class ModuleAlgorithmCmd extends BackgroundCommand
Command that applies the "module" algorithm to a specified Module or Fragment. Gets an iterator over the code blocks containing the selected folder or fragment. Creates a folder for each code block in the iterator. For each code block, gets an iterator over code blocks containing the code block. For each of these code blocks, create a fragment and move the code units to the fragment.
  • Constructor Details

    • ModuleAlgorithmCmd

      public ModuleAlgorithmCmd(GroupPath path, String treeName, BlockModelService blockModelService, String partitioningModelName)
      Constructor
      Parameters:
      path - path the source module or fragment where the algorithm will be applied
      treeName - name of the tree
      blockModelService - service that has the known block models
      partitioningModelName - name of the model to use
  • Method Details