public final class AndroidEntryPointLocator
extends java.lang.Object
Iterates the ClassHierarchy matching its elements to a set of hardcoded entrypoint-specifications. Then optionally uses heuristics to select further entrypoints.
| Modifier and Type | Class and Description |
|---|---|
static class |
AndroidEntryPointLocator.AndroidPossibleEntryPoint
A definition of an Entrypoint functions o the App are matched against.
|
static class |
AndroidEntryPointLocator.LocatorFlags
Used to control the search mechanisms of AndroidEntryPointLocator.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<AndroidEntryPointLocator.LocatorFlags> |
flags |
| Constructor and Description |
|---|
AndroidEntryPointLocator() |
AndroidEntryPointLocator(java.util.Set<AndroidEntryPointLocator.LocatorFlags> flags) |
| Modifier and Type | Method and Description |
|---|---|
static void |
debugDumpEntryPoints(java.util.List<AndroidEntryPointLocator.AndroidPossibleEntryPoint> eps) |
java.util.List<AndroidEntryPoint> |
getEntryPoints(com.ibm.wala.ipa.cha.IClassHierarchy cha)
Searches a ClassHierarchy for EntryPoints by their method-signature (optionally with
heuristics).
|
protected final java.util.Set<AndroidEntryPointLocator.LocatorFlags> flags
public AndroidEntryPointLocator()
public AndroidEntryPointLocator(java.util.Set<AndroidEntryPointLocator.LocatorFlags> flags)
public java.util.List<AndroidEntryPoint> getEntryPoints(com.ibm.wala.ipa.cha.IClassHierarchy cha)
Matches the hardcoded signatures against the methods in cha. Uses heuristics depending on the LocatorFlags given to the constructor .
cha - The ClassHierarchy to be searchedpublic static void debugDumpEntryPoints(java.util.List<AndroidEntryPointLocator.AndroidPossibleEntryPoint> eps)