Compile Engine - ZSShen/ProbeDroid GitHub Wiki

Build Script

The ProbeDroid engine is composed of the launcher and the core library:

  • launcher --- Inject the core library and the custom instrumentation tool into the newly started target app.
  • core library --- Hook the designated Java methods and process the instrumentation task crafted by user.

This python script can help us complete the build process:

$ python auto.py --install
  • The launcher should locate at:

    • PROJECT_ROOT/launcher/libs/x86/launcher
    • PROJECT_ROOT/launcher/libs/armeabi-v7a/launcher
  • And the core library should locate at:

    • PROJECT_ROOT/engine/libs/x86/libProbeDroid.so
    • PROJECT_ROOT/engine/libs/armeabi-v7a/libProbeDroid.so
  • Also, the ProbeDroid exported API jar is under:

    • PROJECT_ROOT/engine/ProbeDroid.jar

Users should import this API jar to create custom instrumentation tool.