Class AndroidEntryPointLocator

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

public final class AndroidEntryPointLocator extends Object
Searches an Android application for its EntryPoints.

Iterates the ClassHierarchy matching its elements to a set of hardcoded entrypoint-specifications. Then optionally uses heuristics to select further entrypoints.

Author:
Tobias Blaschke <code@tobiasblaschke.de>
  • Constructor Details

  • Method Details

    • getEntryPoints

      public List<AndroidEntryPoint> getEntryPoints(IClassHierarchy cha)
      Searches a ClassHierarchy for EntryPoints by their method-signature (optionally with heuristics).

      Matches the hardcoded signatures against the methods in cha. Uses heuristics depending on the LocatorFlags given to the constructor .

      Parameters:
      cha - The ClassHierarchy to be searched
      Returns:
      partially sorted list of applicable EntryPoints
    • debugDumpEntryPoints

      public static void debugDumpEntryPoints(List<AndroidEntryPointLocator.AndroidPossibleEntryPoint> eps)