|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ControlFlowGraph<I,T extends IBasicBlock<I>>
An interface that is common to the Shrike and SSA CFG implementations.
| Method Summary | |
|---|---|
T |
entry()
Return the entry basic block in the CFG |
T |
exit()
|
T |
getBlockForInstruction(int index)
|
BitVector |
getCatchBlocks()
|
java.util.Collection<T> |
getExceptionalPredecessors(T b)
The order of blocks returned should be arbitrary but deterministic. |
java.util.List<T> |
getExceptionalSuccessors(T b)
The order of blocks returned must indicate the exception-handling scope. |
I[] |
getInstructions()
|
IMethod |
getMethod()
|
java.util.Collection<T> |
getNormalPredecessors(T b)
The order of blocks returned should be arbitrary but deterministic. |
java.util.Collection<T> |
getNormalSuccessors(T b)
The order of blocks returned should be arbitrary but deterministic. |
int |
getProgramCounter(int index)
TODO: move this into IR? |
| Methods inherited from interface com.ibm.wala.util.graph.Graph |
|---|
removeNodeAndEdges |
| Methods inherited from interface com.ibm.wala.util.graph.NodeManager |
|---|
addNode, containsNode, getNumberOfNodes, iterator, removeNode |
| Methods inherited from interface com.ibm.wala.util.graph.EdgeManager |
|---|
addEdge, getPredNodeCount, getPredNodes, getSuccNodeCount, getSuccNodes, hasEdge, removeAllIncidentEdges, removeEdge, removeIncomingEdges, removeOutgoingEdges |
| Methods inherited from interface com.ibm.wala.util.graph.NumberedNodeManager |
|---|
getMaxNumber, getNode, getNumber, iterateNodes |
| Methods inherited from interface com.ibm.wala.util.graph.NodeManager |
|---|
addNode, containsNode, getNumberOfNodes, iterator, removeNode |
| Methods inherited from interface com.ibm.wala.util.graph.NumberedEdgeManager |
|---|
getPredNodeNumbers, getSuccNodeNumbers |
| Methods inherited from interface com.ibm.wala.util.graph.EdgeManager |
|---|
addEdge, getPredNodeCount, getPredNodes, getSuccNodeCount, getSuccNodes, hasEdge, removeAllIncidentEdges, removeEdge, removeIncomingEdges, removeOutgoingEdges |
| Method Detail |
|---|
T entry()
T exit()
BitVector getCatchBlocks()
T getBlockForInstruction(int index)
index - an instruction index
I[] getInstructions()
int getProgramCounter(int index)
index - an instruction index
IMethod getMethod()
java.util.List<T> getExceptionalSuccessors(T b)
java.util.Collection<T> getNormalSuccessors(T b)
java.util.Collection<T> getExceptionalPredecessors(T b)
java.util.Collection<T> getNormalPredecessors(T b)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||