|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sofya.graphs.cfg.BranchFlowProcessor
public class BranchFlowProcessor
The branch flow processor is a transformer which determines the conditional and decision based control flow in the graph and annotates the edges in the graph with numeric IDs that identify those branch dominated paths in the control flow graph.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface sofya.base.SConstants |
---|
SConstants.BlockLabel, SConstants.BlockObjectType, SConstants.BlockSubType, SConstants.BlockType, SConstants.BranchObjectType, SConstants.BranchType, SConstants.EDObjectType, SConstants.TraceObjectType |
Field Summary |
---|
Fields inherited from interface sofya.base.SConstants |
---|
DEFAULT_PORT, INST_COMPATIBLE, INST_OLD_UNSUPPORTED, INST_OPT_NORMAL, INST_OPT_SEQUENCE, SIG_CHKALIVE, SIG_ECHO |
Constructor Summary | |
---|---|
BranchFlowProcessor()
Creates a branch flow processor. |
Method Summary | |
---|---|
void |
transformCFG(CFG cfg)
Determines and propagates branch edge IDs through the graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BranchFlowProcessor()
Method Detail |
---|
public void transformCFG(CFG cfg) throws TransformationException
transformCFG
in interface CFGTransformer
cfg
- CFG for which to compute branch IDs.
TransformationException
- If the CFG is malformed in
such a way that the algorithm cannot complete.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |