public class PASideEffectTester extends java.lang.Object implements SideEffectTester
Constructor and Description |
---|
PASideEffectTester() |
Modifier and Type | Method and Description |
---|---|
void |
newMethod(SootMethod m)
Call this when starting to analyze a new method to setup the cache.
|
protected PointsToSet |
reachingObjects(Local l) |
protected RWSet |
readSet(Unit u) |
boolean |
unitCanReadFrom(Unit u,
Value v)
Returns true if the unit can read from v.
|
boolean |
unitCanWriteTo(Unit u,
Value v)
Returns true if the unit can read from v.
|
protected boolean |
valueTouchesRWSet(RWSet s,
Value v,
java.util.List boxes) |
protected RWSet |
writeSet(Unit u) |
public void newMethod(SootMethod m)
newMethod
in interface SideEffectTester
protected PointsToSet reachingObjects(Local l)
public boolean unitCanReadFrom(Unit u, Value v)
unitCanReadFrom
in interface SideEffectTester
public boolean unitCanWriteTo(Unit u, Value v)
unitCanWriteTo
in interface SideEffectTester