|
Stanse
-1
|
Public Member Functions | |
| CFGGraphState (CFGHandle cfg) | |
| CFGHandle | getCfg () |
| Set< CFGNode > | getReachableNodes () |
| Set< CFGNode > | getVisitedNodes () |
| CFGNode | getIdToNode (Integer id) |
| List< CFGNode > | waitingFor (final CFGNode actualNode) |
| Set< CFGNode > | detectCycles (final CFGNode actualNode, List< CFGNode > waitList) |
Class represents Control Flow Graph during traversing analysis. Instance holds reachable nodes in graph and also provide info about wrong builded cycles to prevend deadlock during CFGTraverse analysis.
|
inline |
|
inline |
Method determines, whether actualNode and any node from waitList are in cycle. If so, method returns Set of nodes which are first succesors of actualNode in founded cycle.
| actualNode | CFGNode |
| waitList | List<CFGNode> list of predecessors of actualNode |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Method returns CFGNodes which are predecessors of actualNode and aren't marked as visited.
| actualNode |
1.8.6