Class DefaultSCanDroidOptions
java.lang.Object
org.scandroid.synthmethod.DefaultSCanDroidOptions
- All Implemented Interfaces:
ISCanDroidOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
static String
dumpString
(ISCanDroidOptions options) abstract URI
boolean
boolean
boolean
pdfCG()
boolean
boolean
boolean
boolean
stdoutCG()
boolean
boolean
boolean
boolean
boolean
-
Constructor Details
-
DefaultSCanDroidOptions
public DefaultSCanDroidOptions()
-
-
Method Details
-
pdfCG
public boolean pdfCG()- Specified by:
pdfCG
in interfaceISCanDroidOptions
- Returns:
- whether to create a full call graph pdf
-
pdfPartialCG
public boolean pdfPartialCG()- Specified by:
pdfPartialCG
in interfaceISCanDroidOptions
- Returns:
- whether to create an application-only call graph pdf
-
pdfOneLevelCG
public boolean pdfOneLevelCG()- Specified by:
pdfOneLevelCG
in interfaceISCanDroidOptions
- Returns:
- whether to create a call graph of application + 1 level of system calls
-
systemToApkCG
public boolean systemToApkCG()- Specified by:
systemToApkCG
in interfaceISCanDroidOptions
- Returns:
- whether to create a system + 1 level of application call graph
-
stdoutCG
public boolean stdoutCG()- Specified by:
stdoutCG
in interfaceISCanDroidOptions
- Returns:
- whether to print a full call graph to stdout
-
includeLibrary
public boolean includeLibrary()- Specified by:
includeLibrary
in interfaceISCanDroidOptions
- Returns:
- whether to include the Android library in flow analysis
-
separateEntries
public boolean separateEntries()- Specified by:
separateEntries
in interfaceISCanDroidOptions
- Returns:
- whether to analyze each entry point separately
-
ifdsExplorer
public boolean ifdsExplorer()- Specified by:
ifdsExplorer
in interfaceISCanDroidOptions
- Returns:
- whether to bring up a GUI to analyze domain elements for flow analysis
-
addMainEntrypoints
public boolean addMainEntrypoints()- Specified by:
addMainEntrypoints
in interfaceISCanDroidOptions
- Returns:
- whether to look for main methods and add them as entry points
-
useThreadRunMain
public boolean useThreadRunMain()- Specified by:
useThreadRunMain
in interfaceISCanDroidOptions
- Returns:
- whether to use ServerThread.run as the entry point for analysis
-
stringPrefixAnalysis
public boolean stringPrefixAnalysis()- Specified by:
stringPrefixAnalysis
in interfaceISCanDroidOptions
- Returns:
- whether to run string prefix analysis
-
testCGBuilder
public boolean testCGBuilder()- Specified by:
testCGBuilder
in interfaceISCanDroidOptions
- Returns:
- whether to stop after generating the call graph
-
useDefaultPolicy
public boolean useDefaultPolicy()- Specified by:
useDefaultPolicy
in interfaceISCanDroidOptions
- Returns:
- whether to check conformance to built-in policy
-
getClasspath
- Specified by:
getClasspath
in interfaceISCanDroidOptions
- Returns:
- the URI pointing to the jar or apk to analyze
-
getFilename
- Specified by:
getFilename
in interfaceISCanDroidOptions
- Returns:
- the filename portion of the classpath to analyze
-
getAndroidLibrary
- Specified by:
getAndroidLibrary
in interfaceISCanDroidOptions
- Returns:
- a URI to the Android library jar
-
getReflectionOptions
- Specified by:
getReflectionOptions
in interfaceISCanDroidOptions
- Returns:
- the ReflectionOptions for this run
-
getSummariesURI
- Specified by:
getSummariesURI
in interfaceISCanDroidOptions
- Returns:
- a URI to the XML method summaries file
-
classHierarchyWarnings
public boolean classHierarchyWarnings()- Specified by:
classHierarchyWarnings
in interfaceISCanDroidOptions
- Returns:
- whether to log class hierarchy warnings
-
cgBuilderWarnings
public boolean cgBuilderWarnings()- Specified by:
cgBuilderWarnings
in interfaceISCanDroidOptions
- Returns:
- whether to log call graph builder warnings
-
dumpString
-