android_of_theseus/frida/README.md

733 B

Theseus Data Collector

Collect runtime information about reflection operation done by en application to feed them to the patcher.

The Frida hook uses a Java class to collect the stack information, before building/installing the python package, you need to build the class:


# If the default values do not match, set the variables:
# 
# JAVAC: path to the java compiler
# ANDROID_SDK: path to the android sdk
# VERSION: Android SDK version to use
# D8: path to the d8 executable
# ANDROID_JAR: path to the android.jar file to link
# BUILD_F: build folder (will be delated if exist)
# OUT_FILE: the file where to put the b64 of the compiled dex

bash consumer/build.sh
poetry build # / poetry install / pip install .