Package soot.jimple.toolkits.infoflow
Class ClassLocalObjectsAnalysis
- java.lang.Object
-
- soot.jimple.toolkits.infoflow.ClassLocalObjectsAnalysis
-
public class ClassLocalObjectsAnalysis extends Object
-
-
Constructor Summary
Constructors Constructor Description ClassLocalObjectsAnalysis(LocalObjectsAnalysis loa, InfoFlowAnalysis dfa, InfoFlowAnalysis primitiveDfa, UseFinder uf, SootClass sootClass, List<SootMethod> entryMethods)ClassLocalObjectsAnalysis(LocalObjectsAnalysis loa, InfoFlowAnalysis dfa, UseFinder uf, SootClass sootClass)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<SootField>getAllFields(SootClass sc)static List<SootMethod>getAllReachableMethods(SootClass sc)CallLocalityContextgetContextFor(SootMethod sm)List<SootField>getInnerSharedFields()protected List<SootField>getLocalFields()CallLocalityContextgetMergedContext(SootMethod method)SmartMethodLocalObjectsAnalysisgetMethodLocalObjectsAnalysis(SootMethod sm)protected List<SootField>getSharedFields()protected booleanisFieldLocal(EquivalentValue fieldRef)protected booleanisFieldLocal(SootField field)booleanisObjectLocal(Value localOrRef, SootMethod sm)booleanparameterIsLocal(SootMethod method, EquivalentValue parameterRef)protected booleanparameterIsLocal(SootMethod method, EquivalentValue parameterRef, boolean includePrimitiveDataFlowIfAvailable)protected booleanthisIsLocal(SootMethod method, EquivalentValue thisRef)
-
-
-
Constructor Detail
-
ClassLocalObjectsAnalysis
public ClassLocalObjectsAnalysis(LocalObjectsAnalysis loa, InfoFlowAnalysis dfa, UseFinder uf, SootClass sootClass)
-
ClassLocalObjectsAnalysis
public ClassLocalObjectsAnalysis(LocalObjectsAnalysis loa, InfoFlowAnalysis dfa, InfoFlowAnalysis primitiveDfa, UseFinder uf, SootClass sootClass, List<SootMethod> entryMethods)
-
-
Method Detail
-
getAllReachableMethods
public static List<SootMethod> getAllReachableMethods(SootClass sc)
-
getMergedContext
public CallLocalityContext getMergedContext(SootMethod method)
-
getContextFor
public CallLocalityContext getContextFor(SootMethod sm)
-
isObjectLocal
public boolean isObjectLocal(Value localOrRef, SootMethod sm)
-
getMethodLocalObjectsAnalysis
public SmartMethodLocalObjectsAnalysis getMethodLocalObjectsAnalysis(SootMethod sm)
-
isFieldLocal
protected boolean isFieldLocal(SootField field)
-
isFieldLocal
protected boolean isFieldLocal(EquivalentValue fieldRef)
-
parameterIsLocal
public boolean parameterIsLocal(SootMethod method, EquivalentValue parameterRef)
-
parameterIsLocal
protected boolean parameterIsLocal(SootMethod method, EquivalentValue parameterRef, boolean includePrimitiveDataFlowIfAvailable)
-
thisIsLocal
protected boolean thisIsLocal(SootMethod method, EquivalentValue thisRef)
-
-