Class AndroidAnalysisScope

java.lang.Object
com.ibm.wala.dalvik.util.AndroidAnalysisScope

public class AndroidAnalysisScope extends Object
  • Constructor Details

    • AndroidAnalysisScope

      public AndroidAnalysisScope()
  • Method Details

    • setUpAndroidAnalysisScope

      public static AnalysisScope setUpAndroidAnalysisScope(URI codeFileName, String exclusions, ClassLoader loader, URI... androidLib) throws IOException
      Creates an Android Analysis Scope
      Parameters:
      codeFileName - the name of a .oat|.apk|.dex file
      exclusions - the name of the exclusions file (nullable)
      loader - the classloader to use
      androidLib - an array of libraries (e.g. the Android SDK jar) to add to the scope
      Returns:
      a AnalysisScope
      Throws:
      IOException
    • setUpAndroidAnalysisScope

      public static AnalysisScope setUpAndroidAnalysisScope(URI codeFileName, int apiLevel, String exclusions, ClassLoader loader, URI... androidLib) throws IOException
      Throws:
      IOException
    • addClassPathToScope

      public static void addClassPathToScope(String classPath, AnalysisScope scope, ClassLoaderReference loader)
      Handle .apk file.