avrora.actions
Class CFGAction
java.lang.Object
avrora.actions.Action
avrora.actions.CFGAction
- public class CFGAction
- extends Action
The CFGAction is an Avrora action that allows a control flow graph to
be generated and output to the terminal or to a file.
|
Constructor Summary |
CFGAction()
The default constructor of the CFGAction class simply
creates an empty instance with the appropriate name and help string. |
|
Method Summary |
void |
run(java.lang.String[] args)
The run() method is called by the main class and is passed
the remaining command line arguments after options have been stripped out. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HELP
public static final java.lang.String HELP
- See Also:
- Constant Field Values
COLOR_PROCEDURES
public final Option.Bool COLOR_PROCEDURES
GROUP_PROCEDURES
public final Option.Bool GROUP_PROCEDURES
COLLAPSE_PROCEDURES
public final Option.Bool COLLAPSE_PROCEDURES
OUTPUT
public final Option.Str OUTPUT
FILE
public final Option.Str FILE
pmap
protected ProcedureMap pmap
cfg
protected ControlFlowGraph cfg
program
protected Program program
CFGAction
public CFGAction()
- The default constructor of the
CFGAction class simply
creates an empty instance with the appropriate name and help string.
run
public void run(java.lang.String[] args)
throws java.lang.Exception
- Description copied from class:
Action
- The
run() method is called by the main class and is passed
the remaining command line arguments after options have been stripped out.
- Specified by:
run in class Action
- Parameters:
args - the command line arguments
- Throws:
java.lang.Exception