Interface BiDiInterproceduralCFG<N,M>
- Type Parameters:
N
- Nodes in the CFG, e.g.AbstractStmt
M
- Method representation, e.g.SootMethod
- All Superinterfaces:
heros.InterproceduralCFG<N,
M>
- All Known Implementing Classes:
AbstractJimpleBasedICFG
,BackwardsInterproceduralCFG
,JimpleBasedInterproceduralCFG
public interface BiDiInterproceduralCFG<N,M>
extends heros.InterproceduralCFG<N,M>
-
Method Summary
Modifier and TypeMethodDescriptiongetEndPointsOf
(M m) returns entry points of a methodgetOrCreateStmtGraph
(M body) getPredsOf
(N u) returns the predecessors of a nodereturns predecessors of a call nodeboolean
isReachable
(N u) Checks whether the given statement is reachable from the entry pointboolean
isReturnSite
(N n) Gets whether the given statement is a return site of at least one callMethods inherited from interface heros.InterproceduralCFG
allNonCallStartNodes, getCalleesOfCallAt, getCallersOf, getCallsFromWithin, getMethodOf, getReturnSitesOfCallAt, getStartPointsOf, getSuccsOf, isBranchTarget, isCallStmt, isExitStmt, isFallThroughSuccessor, isStartPoint
-
Method Details
-
getPredsOf
returns the predecessors of a node -
getEndPointsOf
returns entry points of a method- Parameters:
m
-- Returns:
-
getPredsOfCallAt
returns predecessors of a call node- Parameters:
u
-- Returns:
-
allNonCallEndNodes
-
getOrCreateStmtGraph
-
getParameterRefs
-
isReturnSite
Gets whether the given statement is a return site of at least one call- Parameters:
n
- The statement to check- Returns:
- True if the given statement is a return site, otherwise false
-
isReachable
Checks whether the given statement is reachable from the entry point- Parameters:
u
- The statement to check- Returns:
- True if there is a control flow path from the entry point of the program to the given statement, otherwise false
-