Class AndroidAnalysisContext
java.lang.Object
org.scandroid.util.AndroidAnalysisContext
-
Constructor Summary
ConstructorsConstructorDescriptionAndroidAnalysisContext(ISCanDroidOptions options) AndroidAnalysisContext(ISCanDroidOptions options, String exclusions) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddBypassLogic(AnalysisOptions options, AnalysisScope scope, InputStream xmlIStream, IClassHierarchy cha, MethodSummary extraSummary) Returns all concrete classes implementing the given interface or any subinterfacesgetScope()makeVanillaZeroOneCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope, ContextSelector customSelector, SSAContextInterpreter customInterpreter, InputStream summariesStream, MethodSummary extraSummary) makeZeroCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope, ContextSelector customSelector, SSAContextInterpreter customInterpreter, Collection<InputStream> summariesStreams, MethodSummary extraSummary)
-
Constructor Details
-
AndroidAnalysisContext
public AndroidAnalysisContext() -
AndroidAnalysisContext
public AndroidAnalysisContext(ISCanDroidOptions options) throws IllegalArgumentException, ClassHierarchyException, IOException -
AndroidAnalysisContext
public AndroidAnalysisContext(ISCanDroidOptions options, String exclusions) throws IOException, IllegalArgumentException, ClassHierarchyException
-
-
Method Details
-
makeVanillaZeroOneCFABuilder
public static SSAPropagationCallGraphBuilder makeVanillaZeroOneCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope, ContextSelector customSelector, SSAContextInterpreter customInterpreter, InputStream summariesStream, MethodSummary extraSummary) -
makeZeroCFABuilder
public static SSAPropagationCallGraphBuilder makeZeroCFABuilder(AnalysisOptions options, IAnalysisCacheView cache, IClassHierarchy cha, AnalysisScope scope, ContextSelector customSelector, SSAContextInterpreter customInterpreter, Collection<InputStream> summariesStreams, MethodSummary extraSummary) - Parameters:
options- options that govern call graph constructioncha- governing class hierarchyscope- representation of the analysis scopecustomSelector- user-defined context selector, or null if nonecustomInterpreter- user-defined context interpreter, or null if none- Returns:
- a 0-CFA Call Graph Builder.
- Throws:
IllegalArgumentException- if options is nullTODO: move
-
addBypassLogic
public static void addBypassLogic(AnalysisOptions options, AnalysisScope scope, InputStream xmlIStream, IClassHierarchy cha, MethodSummary extraSummary) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
concreteClassesForInterface
Returns all concrete classes implementing the given interface or any subinterfaces -
getOptions
-
getScope
-
getClassHierarchy
-