Package ghidra.app.cmd.module
Class DominanceModularizationCmd
- java.lang.Object
-
- ghidra.framework.cmd.BackgroundCommand
-
- ghidra.app.cmd.module.AbstractModularizationCmd
-
- ghidra.app.cmd.module.DominanceModularizationCmd
-
- All Implemented Interfaces:
Command
public class DominanceModularizationCmd extends AbstractModularizationCmd
this code will apply the Dominance algorithm to a module or fragment in a program tree. First the code generates a call graph and from there a dominance graph and finally a dominance structure in the program tree.
-
-
Field Summary
-
Fields inherited from class ghidra.app.cmd.module.AbstractModularizationCmd
destinationModule, monitor, program
-
-
Constructor Summary
Constructors Constructor Description DominanceModularizationCmd(GroupPath path, java.lang.String treeName, ProgramSelection selection, CodeBlockModel blockModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyModel()
-
Methods inherited from class ghidra.app.cmd.module.AbstractModularizationCmd
applyTo, cleanEmpty, createCallGraph, createFragment, createModule, makeFragment
-
Methods inherited from class ghidra.framework.cmd.BackgroundCommand
applyTo, canCancel, dispose, getName, getStatusMsg, hasProgress, isModal, setStatusMsg, taskCompleted, toString
-
-
-
-
Constructor Detail
-
DominanceModularizationCmd
public DominanceModularizationCmd(GroupPath path, java.lang.String treeName, ProgramSelection selection, CodeBlockModel blockModel)
-
-
Method Detail
-
applyModel
protected void applyModel() throws CancelledException
- Specified by:
applyModel
in classAbstractModularizationCmd
- Throws:
CancelledException
-
-