Interface ISCanDroidOptions

All Known Implementing Classes:
CLISCanDroidOptions, DefaultSCanDroidOptions

public interface ISCanDroidOptions
Author:
acfoltzer

An abstraction of the options for a SCanDroid execution

  • Method Details

    • pdfCG

      boolean pdfCG()
      Returns:
      whether to create a full call graph pdf
    • pdfPartialCG

      boolean pdfPartialCG()
      Returns:
      whether to create an application-only call graph pdf
    • pdfOneLevelCG

      boolean pdfOneLevelCG()
      Returns:
      whether to create a call graph of application + 1 level of system calls
    • systemToApkCG

      boolean systemToApkCG()
      Returns:
      whether to create a system + 1 level of application call graph
    • stdoutCG

      boolean stdoutCG()
      Returns:
      whether to print a full call graph to stdout
    • includeLibrary

      boolean includeLibrary()
      Returns:
      whether to include the Android library in flow analysis
    • separateEntries

      boolean separateEntries()
      Returns:
      whether to analyze each entry point separately
    • ifdsExplorer

      boolean ifdsExplorer()
      Returns:
      whether to bring up a GUI to analyze domain elements for flow analysis
    • addMainEntrypoints

      boolean addMainEntrypoints()
      Returns:
      whether to look for main methods and add them as entry points
    • useThreadRunMain

      boolean useThreadRunMain()
      Returns:
      whether to use ServerThread.run as the entry point for analysis
    • stringPrefixAnalysis

      boolean stringPrefixAnalysis()
      Returns:
      whether to run string prefix analysis
    • testCGBuilder

      boolean testCGBuilder()
      Returns:
      whether to stop after generating the call graph
    • classHierarchyWarnings

      boolean classHierarchyWarnings()
      Returns:
      whether to log class hierarchy warnings
    • cgBuilderWarnings

      boolean cgBuilderWarnings()
      Returns:
      whether to log call graph builder warnings
    • useDefaultPolicy

      boolean useDefaultPolicy()
      Returns:
      whether to check conformance to built-in policy
    • getClasspath

      URI getClasspath()
      Returns:
      the URI pointing to the jar or apk to analyze
    • getFilename

      String getFilename()
      Returns:
      the filename portion of the classpath to analyze
    • getAndroidLibrary

      URI getAndroidLibrary()
      Returns:
      a URI to the Android library jar
    • getReflectionOptions

      AnalysisOptions.ReflectionOptions getReflectionOptions()
      Returns:
      the ReflectionOptions for this run
    • getSummariesURI

      URI getSummariesURI()
      Returns:
      a URI to the XML method summaries file