public class ClassLocalObjectsAnalysis
extends java.lang.Object
| Constructor and Description |
|---|
ClassLocalObjectsAnalysis(LocalObjectsAnalysis loa,
InfoFlowAnalysis dfa,
InfoFlowAnalysis primitiveDfa,
UseFinder uf,
SootClass sootClass,
java.util.List<SootMethod> entryMethods) |
ClassLocalObjectsAnalysis(LocalObjectsAnalysis loa,
InfoFlowAnalysis dfa,
UseFinder uf,
SootClass sootClass) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<SootField> |
getAllFields(SootClass sc) |
static java.util.List<SootMethod> |
getAllReachableMethods(SootClass sc) |
CallLocalityContext |
getContextFor(SootMethod sm) |
java.util.List<SootField> |
getInnerSharedFields() |
protected java.util.List<SootField> |
getLocalFields() |
CallLocalityContext |
getMergedContext(SootMethod method) |
SmartMethodLocalObjectsAnalysis |
getMethodLocalObjectsAnalysis(SootMethod sm) |
protected java.util.List<SootField> |
getSharedFields() |
protected boolean |
isFieldLocal(EquivalentValue fieldRef) |
protected boolean |
isFieldLocal(SootField field) |
boolean |
isObjectLocal(Value localOrRef,
SootMethod sm) |
boolean |
parameterIsLocal(SootMethod method,
EquivalentValue parameterRef) |
protected boolean |
parameterIsLocal(SootMethod method,
EquivalentValue parameterRef,
boolean includePrimitiveDataFlowIfAvailable) |
protected boolean |
thisIsLocal(SootMethod method,
EquivalentValue thisRef) |
public ClassLocalObjectsAnalysis(LocalObjectsAnalysis loa, InfoFlowAnalysis dfa, UseFinder uf, SootClass sootClass)
public ClassLocalObjectsAnalysis(LocalObjectsAnalysis loa, InfoFlowAnalysis dfa, InfoFlowAnalysis primitiveDfa, UseFinder uf, SootClass sootClass, java.util.List<SootMethod> entryMethods)
public static java.util.List<SootMethod> getAllReachableMethods(SootClass sc)
public CallLocalityContext getMergedContext(SootMethod method)
public CallLocalityContext getContextFor(SootMethod sm)
public boolean isObjectLocal(Value localOrRef, SootMethod sm)
public SmartMethodLocalObjectsAnalysis getMethodLocalObjectsAnalysis(SootMethod sm)
protected java.util.List<SootField> getSharedFields()
protected java.util.List<SootField> getLocalFields()
public java.util.List<SootField> getInnerSharedFields()
protected boolean isFieldLocal(SootField field)
protected boolean isFieldLocal(EquivalentValue fieldRef)
public boolean parameterIsLocal(SootMethod method, EquivalentValue parameterRef)
protected boolean parameterIsLocal(SootMethod method, EquivalentValue parameterRef, boolean includePrimitiveDataFlowIfAvailable)
protected boolean thisIsLocal(SootMethod method, EquivalentValue thisRef)