Package pascal.taie.analysis.graph.icfg
Interface ICFG<Method,Node>
- All Superinterfaces:
Graph<Node>
,Iterable<Node>
,Serializable
Represents an inter-procedural control-flow graph.
-
Method Summary
Modifier and TypeMethodDescriptiongetCalleesOf
(Node callSite) getCallersOf
(Method method) getContainingMethodOf
(Node node) getEntryOf
(Method method) getInEdgesOf
(Node node) getOutEdgesOf
(Node node) getReturnSitesOf
(Node callSite) boolean
isCallSite
(Node node) Methods inherited from interface pascal.taie.util.graph.Graph
getInDegreeOf, getNodes, getNumberOfNodes, getOutDegreeOf, getPredsOf, getSuccsOf, hasEdge, hasEdge, hasNode, iterator
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
entryMethods
- Returns:
- entry methods of the ICFG.
-
getInEdgesOf
- Specified by:
getInEdgesOf
in interfaceGraph<Method>
- Returns:
- the incoming edges of the given node.
-
getOutEdgesOf
- Specified by:
getOutEdgesOf
in interfaceGraph<Method>
- Returns:
- the outgoing edges of the given node.
-
getCalleesOf
- Returns:
- the methods that are called by the given call site.
-
getReturnSitesOf
- Returns:
- the return sites of the given call site.
-
getEntryOf
- Returns:
- the entry node of the given method.
-
getExitOf
- Returns:
- the exit node of the given method.
-
getCallersOf
- Returns:
- the call sites that invoke the given method.
-
getContainingMethodOf
- Returns:
- the method that contains the given node.
-
isCallSite
- Returns:
- true if the given node is a call site, otherwise false.
-