android_of_theseus/frida
2025-11-19 19:24:42 +01:00
..
consumer rollback frida 'Java.registerClass' 2025-04-07 10:26:59 +02:00
theseus_frida fix for several issues 2025-06-16 14:59:07 +02:00
.gitignore rollback frida 'Java.registerClass' 2025-04-07 10:26:59 +02:00
poetry.lock update 2025-05-13 18:03:45 +02:00
pyproject.toml add license 2025-11-19 19:24:42 +01:00
README.md rollback frida 'Java.registerClass' 2025-04-07 10:26:59 +02:00

Theseus Data Collector

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

Modifying StackConsumer.java

The Frida hook uses a Java class to collect the stack information. If you modify it, before building/installing the python package, you need to build regenerate the base64 encoded class used by frida:


# 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

# Then you can build the package / install it
poetry build # / poetry install / pip install .