Class ControlDependenceGraph<T>
java.lang.Object
com.ibm.wala.util.graph.AbstractGraph<T>
com.ibm.wala.util.graph.AbstractNumberedGraph<T>
com.ibm.wala.cfg.cdg.ControlDependenceGraph<T>
- All Implemented Interfaces:
EdgeManager<T>, Graph<T>, NodeManager<T>, NumberedEdgeManager<T>, NumberedGraph<T>, NumberedNodeManager<T>, Iterable<T>
Control Dependence Graph
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontrolEquivalent(T bb1, T bb2) getEdgeLabels(T from, T to) Return the set of edge labels for the control flow edges that cause the given edge in the CDG.protected ObjectmakeEdgeLabel(T from, T to, T s) toString()Methods inherited from class AbstractNumberedGraph
getMaxNumber, getNode, getNumber, getPredNodeNumbers, getSuccNodeNumbers, iterateNodesMethods inherited from class AbstractGraph
addEdge, addNode, containsNode, edgeString, getNumberOfNodes, getPredNodeCount, getPredNodes, getSuccNodeCount, getSuccNodes, hasEdge, iterator, nodeString, removeAllIncidentEdges, removeEdge, removeIncomingEdges, removeNode, removeNodeAndEdges, removeOutgoingEdges, streamMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface EdgeManager
addEdge, getPredNodeCount, getPredNodes, getSuccNodeCount, getSuccNodes, hasEdge, removeAllIncidentEdges, removeEdge, removeIncomingEdges, removeOutgoingEdgesMethods inherited from interface Graph
removeNodeAndEdgesMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface NodeManager
addNode, containsNode, getNumberOfNodes, iterator, removeNode, stream
-
Constructor Details
-
ControlDependenceGraph
- Parameters:
cfg- governing control flow graphwantEdgeLabels- whether to compute edge labels for CDG edges
-
ControlDependenceGraph
- Parameters:
cfg- governing control flow graph
-
-
Method Details
-
makeEdgeLabel
-
toString
- Overrides:
toStringin classAbstractGraph<T>
-
getControlFlowGraph
-
getEdgeLabels
-
getNodeManager
- Specified by:
getNodeManagerin classAbstractNumberedGraph<T>- Returns:
- the object which manages nodes in the graph
-
getEdgeManager
- Specified by:
getEdgeManagerin classAbstractNumberedGraph<T>- Returns:
- the object which manages edges in the graph
-
controlEquivalent
-