public class ClassLocalObjectsAnalysis extends Object
Constructor and Description |
---|
ClassLocalObjectsAnalysis(LocalObjectsAnalysis loa,
InfoFlowAnalysis dfa,
InfoFlowAnalysis primitiveDfa,
UseFinder uf,
SootClass sootClass,
List<SootMethod> entryMethods) |
ClassLocalObjectsAnalysis(LocalObjectsAnalysis loa,
InfoFlowAnalysis dfa,
UseFinder uf,
SootClass sootClass) |
Modifier and Type | Method and Description |
---|---|
static List<SootField> |
getAllFields(SootClass sc) |
static List<SootMethod> |
getAllReachableMethods(SootClass sc) |
CallLocalityContext |
getContextFor(SootMethod sm) |
List<SootField> |
getInnerSharedFields() |
protected List<SootField> |
getLocalFields() |
CallLocalityContext |
getMergedContext(SootMethod method) |
SmartMethodLocalObjectsAnalysis |
getMethodLocalObjectsAnalysis(SootMethod sm) |
protected 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, List<SootMethod> entryMethods)
public static 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 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)
Copyright © 2020 Sable. All rights reserved.