/jni_helper-1

Find JNI function signatures in APK and apply to reverse tools.

Primary LanguageC++

JNI Helper

CI

Find JNI function signatures in APK and apply to reverse tools.

Basic Usage

  1. Use JadxFindJNI.jar to generate signature.json
  2. Load signature.json into Ghidra/IDA/Radare2

JadxFindJNI.jar

Build:

$ make jni

Or you can just download the latest release.

Usage:

$ java -jar JadxFindJNI/JadxFindJNI.jar
Usage: JadxFindJNI.jar <file.apk> <output.json>

Ghidra

See Ghidra

Before:

g1

After:

g2

IDA

See IDA

Before:

i1

After:

i2

Radare2

See Radare2

Demo

Tested with app-debug.apk.

$ make demo

TODO

  • support both C/C++ JNI functions
  • support overloaded JNI functions
  • support env->RegisterNatives JNI functions

LINKS