Class PointerFlowGraph
java.lang.Object
pascal.taie.analysis.pta.core.solver.PointerFlowGraph
- All Implemented Interfaces:
Serializable
,Iterable<Pointer>
,Graph<Pointer>
Represents pointer flow graph in context-sensitive pointer analysis.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetInEdgesOf
(Pointer node) getNodes()
getOrAddEdge
(FlowKind kind, Pointer source, Pointer target) Adds a pointer flow edgesource
->target
, and returns the edge.getOutEdgesOf
(Pointer pointer) getPredsOf
(Pointer node) getSuccsOf
(Pointer node) pointers()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface pascal.taie.util.graph.Graph
getInDegreeOf, getNumberOfNodes, getOutDegreeOf, hasEdge, hasEdge, hasNode, iterator
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getOrAddEdge
Adds a pointer flow edgesource
->target
, and returns the edge. If the edge already exists andkind
is notFlowKind.OTHER
,null
is returned. -
getInEdgesOf
- Specified by:
getInEdgesOf
in interfaceGraph<Pointer>
- Returns:
- incoming edges of the given node.
-
getOutEdgesOf
- Specified by:
getOutEdgesOf
in interfaceGraph<Pointer>
- Returns:
- outgoing edges of the given node.
-
pointers
-
getPredsOf
- Specified by:
getPredsOf
in interfaceGraph<Pointer>
- Returns:
- the predecessors of given node in this graph.
-
getSuccsOf
- Specified by:
getSuccsOf
in interfaceGraph<Pointer>
- Returns:
- the successors of given node in this graph.
-
getNodes
-