Class BackwardsInterproceduralCFG
java.lang.Object
sootup.analysis.interprocedural.icfg.BackwardsInterproceduralCFG
- All Implemented Interfaces:
- heros.InterproceduralCFG<Stmt,,- SootMethod> - BiDiInterproceduralCFG<Stmt,- SootMethod> 
public class BackwardsInterproceduralCFG
extends Object
implements BiDiInterproceduralCFG<Stmt,SootMethod> 
Same as 
JimpleBasedInterproceduralCFG but based on inverted Stmt graphs. This should be
 used for backward analyses.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionreturns entry points of a methodgetMethodOf(Stmt n) StmtGraph<?>getPredsOf(Stmt u) returns the predecessors of a nodereturns predecessors of a call nodegetSuccsOf(Stmt n) booleanisBranchTarget(Stmt stmt, Stmt succ) booleanisCallStmt(Stmt stmt) booleanisExitStmt(Stmt stmt) booleanisFallThroughSuccessor(Stmt stmt, Stmt succ) booleanisReachable(Stmt u) Checks whether the given statement is reachable from the entry pointbooleanisReturnSite(Stmt n) Gets whether the given statement is a return site of at least one callbooleanisStartPoint(Stmt stmt) 
- 
Field Details- 
delegate
 
- 
- 
Constructor Details- 
BackwardsInterproceduralCFG
 
- 
- 
Method Details- 
getSuccsOf- Specified by:
- getSuccsOfin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
getStartPointsOf- Specified by:
- getStartPointsOfin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
getReturnSitesOfCallAt- Specified by:
- getReturnSitesOfCallAtin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
isExitStmt- Specified by:
- isExitStmtin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
isStartPoint- Specified by:
- isStartPointin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
allNonCallStartNodes- Specified by:
- allNonCallStartNodesin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
getPredsOfDescription copied from interface:BiDiInterproceduralCFGreturns the predecessors of a node- Specified by:
- getPredsOfin interface- BiDiInterproceduralCFG<Stmt,- SootMethod> 
- Specified by:
- getPredsOfin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
getEndPointsOfDescription copied from interface:BiDiInterproceduralCFGreturns entry points of a method- Specified by:
- getEndPointsOfin interface- BiDiInterproceduralCFG<Stmt,- SootMethod> 
- Returns:
 
- 
getPredsOfCallAtDescription copied from interface:BiDiInterproceduralCFGreturns predecessors of a call node- Specified by:
- getPredsOfCallAtin interface- BiDiInterproceduralCFG<Stmt,- SootMethod> 
- Returns:
 
- 
allNonCallEndNodes- Specified by:
- allNonCallEndNodesin interface- BiDiInterproceduralCFG<Stmt,- SootMethod> 
 
- 
getMethodOf- Specified by:
- getMethodOfin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
getCalleesOfCallAt- Specified by:
- getCalleesOfCallAtin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
getCallersOf- Specified by:
- getCallersOfin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
getCallsFromWithin- Specified by:
- getCallsFromWithinin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
isCallStmt- Specified by:
- isCallStmtin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
getOrCreateStmtGraph- Specified by:
- getOrCreateStmtGraphin interface- BiDiInterproceduralCFG<Stmt,- SootMethod> 
 
- 
getParameterRefs- Specified by:
- getParameterRefsin interface- BiDiInterproceduralCFG<Stmt,- SootMethod> 
 
- 
isFallThroughSuccessor- Specified by:
- isFallThroughSuccessorin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
isBranchTarget- Specified by:
- isBranchTargetin interface- heros.InterproceduralCFG<Stmt,- SootMethod> 
 
- 
isReturnSiteDescription copied from interface:BiDiInterproceduralCFGGets whether the given statement is a return site of at least one call- Specified by:
- isReturnSitein interface- BiDiInterproceduralCFG<Stmt,- SootMethod> 
- Parameters:
- n- The statement to check
- Returns:
- True if the given statement is a return site, otherwise false
 
- 
isReachableDescription copied from interface:BiDiInterproceduralCFGChecks whether the given statement is reachable from the entry point- Specified by:
- isReachablein interface- BiDiInterproceduralCFG<Stmt,- SootMethod> 
- 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
 
 
-