public class AndroidAnalysisScope
extends java.lang.Object
| Constructor and Description |
|---|
AndroidAnalysisScope() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addClassPathToScope(java.lang.String classPath,
com.ibm.wala.ipa.callgraph.AnalysisScope scope,
com.ibm.wala.types.ClassLoaderReference loader)
Handle .apk file.
|
static com.ibm.wala.ipa.callgraph.AnalysisScope |
setUpAndroidAnalysisScope(java.net.URI codeFileName,
int apiLevel,
java.lang.String exclusions,
java.lang.ClassLoader loader,
java.net.URI... androidLib) |
static com.ibm.wala.ipa.callgraph.AnalysisScope |
setUpAndroidAnalysisScope(java.net.URI codeFileName,
java.lang.String exclusions,
java.lang.ClassLoader loader,
java.net.URI... androidLib)
Creates an Android Analysis Scope
|
public static com.ibm.wala.ipa.callgraph.AnalysisScope setUpAndroidAnalysisScope(java.net.URI codeFileName,
java.lang.String exclusions,
java.lang.ClassLoader loader,
java.net.URI... androidLib)
throws java.io.IOException
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 scopeAnalysisScopejava.io.IOExceptionpublic static com.ibm.wala.ipa.callgraph.AnalysisScope setUpAndroidAnalysisScope(java.net.URI codeFileName,
int apiLevel,
java.lang.String exclusions,
java.lang.ClassLoader loader,
java.net.URI... androidLib)
throws java.io.IOException
java.io.IOExceptionpublic static void addClassPathToScope(java.lang.String classPath,
com.ibm.wala.ipa.callgraph.AnalysisScope scope,
com.ibm.wala.types.ClassLoaderReference loader)