Class AndroidAnalysisScope
java.lang.Object
com.ibm.wala.dalvik.util.AndroidAnalysisScope
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addClassPathToScope
(String classPath, AnalysisScope scope, ClassLoaderReference loader) Handle .apk file.static AnalysisScope
setUpAndroidAnalysisScope
(URI codeFileName, int apiLevel, String exclusions, ClassLoader loader, URI... androidLib) static AnalysisScope
setUpAndroidAnalysisScope
(URI codeFileName, String exclusions, ClassLoader loader, URI... androidLib) Creates an Android Analysis Scope
-
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 fileexclusions
- the name of the exclusions file (nullable)loader
- the classloader to useandroidLib
- 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.
-