public class BackwardsInfoflowCFG extends InfoflowCFG
IInfoflowCFG.UnitContainerdelegate, methodSideEffects, methodToUsedLocals, methodToWrittenLocals, staticFieldUses, unitToPostdominator| Constructor and Description |
|---|
BackwardsInfoflowCFG(IInfoflowCFG baseCFG) |
| Modifier and Type | Method and Description |
|---|---|
IInfoflowCFG |
getBaseCFG() |
IInfoflowCFG.UnitContainer |
getPostdominatorOf(soot.Unit u)
Gets the postdominator of the given unit.
|
boolean |
hasSideEffects(soot.SootMethod method)
Checks whether the given method or any of its transitive callees has side
effects
|
boolean |
isStaticFieldRead(soot.SootMethod method,
soot.SootField variable)
Checks whether the given static field is read inside the given method or one
of its transitive callees.
|
boolean |
isStaticFieldUsed(soot.SootMethod method,
soot.SootField variable)
Checks whether the given static field is used (read or written) inside the
given method or one of its transitive callees.
|
boolean |
methodReadsValue(soot.SootMethod m,
soot.Value v)
Checks whether the given method reads the given value
|
boolean |
methodWritesValue(soot.SootMethod m,
soot.Value v)
Checks whether the given method writes the given value
|
void |
purge()
Clears all caches and temporary data from memory.
|
allNonCallEndNodes, allNonCallStartNodes, checkStaticFieldUsed, getCalleesOfCallAt, getCallersOf, getCallsFromWithin, getEndPointsOf, getMethodOf, getOrCreateUnitGraph, getOrdinaryCalleesOfCallAt, getParameterRefs, getPredsOf, getPredsOfCallAt, getReturnSitesOfCallAt, getStartPointsOf, getSuccsOf, hasSideEffects, isBranchTarget, isCallStmt, isExceptionalEdgeBetween, isExecutorExecute, isExitStmt, isFallThroughSuccessor, isReachable, isReflectiveCallSite, isReflectiveCallSite, isReturnSite, isStartPoint, notifyMethodChanged, registerStaticVariableUsepublic BackwardsInfoflowCFG(IInfoflowCFG baseCFG)
public IInfoflowCFG getBaseCFG()
public boolean isStaticFieldRead(soot.SootMethod method,
soot.SootField variable)
IInfoflowCFGisStaticFieldRead in interface IInfoflowCFGisStaticFieldRead in class InfoflowCFGmethod - The method to checkvariable - The static field to checkpublic boolean isStaticFieldUsed(soot.SootMethod method,
soot.SootField variable)
IInfoflowCFGisStaticFieldUsed in interface IInfoflowCFGisStaticFieldUsed in class InfoflowCFGmethod - The method to checkvariable - The static field to checkpublic boolean hasSideEffects(soot.SootMethod method)
IInfoflowCFGhasSideEffects in interface IInfoflowCFGhasSideEffects in class InfoflowCFGmethod - The method to checkpublic boolean methodReadsValue(soot.SootMethod m,
soot.Value v)
IInfoflowCFGmethodReadsValue in interface IInfoflowCFGmethodReadsValue in class InfoflowCFGm - The method to checkv - The value to checkpublic boolean methodWritesValue(soot.SootMethod m,
soot.Value v)
IInfoflowCFGmethodWritesValue in interface IInfoflowCFGmethodWritesValue in class InfoflowCFGm - The method to checkv - The value to checkpublic IInfoflowCFG.UnitContainer getPostdominatorOf(soot.Unit u)
IInfoflowCFGgetPostdominatorOf in interface IInfoflowCFGgetPostdominatorOf in class InfoflowCFGu - The unit for which to get the postdominator.public void purge()
IInfoflowCFGpurge in interface IInfoflowCFGpurge in class InfoflowCFGCopyright © 2021 Fraunhofer SIT. All rights reserved.