Package soot.jimple.toolkits.pointer
Class PASideEffectTester
- java.lang.Object
-
- soot.jimple.toolkits.pointer.PASideEffectTester
-
- All Implemented Interfaces:
SideEffectTester
public class PASideEffectTester extends Object implements SideEffectTester
-
-
Constructor Summary
Constructors Constructor Description PASideEffectTester()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnewMethod(SootMethod m)Call this when starting to analyze a new method to setup the cache.protected PointsToSetreachingObjects(Local l)protected RWSetreadSet(Unit u)booleanunitCanReadFrom(Unit u, Value v)Returns true if the unit can read from v.booleanunitCanWriteTo(Unit u, Value v)Returns true if the unit can read from v.protected booleanvalueTouchesRWSet(RWSet s, Value v, List<ValueBox> boxes)protected RWSetwriteSet(Unit u)
-
-
-
Method Detail
-
newMethod
public void newMethod(SootMethod m)
Call this when starting to analyze a new method to setup the cache.- Specified by:
newMethodin interfaceSideEffectTester
-
reachingObjects
protected PointsToSet reachingObjects(Local l)
-
unitCanReadFrom
public boolean unitCanReadFrom(Unit u, Value v)
Returns true if the unit can read from v. Does not deal with expressions; deals with Refs.- Specified by:
unitCanReadFromin interfaceSideEffectTester
-
unitCanWriteTo
public boolean unitCanWriteTo(Unit u, Value v)
Returns true if the unit can read from v. Does not deal with expressions; deals with Refs.- Specified by:
unitCanWriteToin interfaceSideEffectTester
-
-