A (Work in progress) Jadx plugin that shows AI analysis of a method/class in a separate view allowing a reverse engineer to compare code and the AI analysis to understand it better. Currently supports gpt4free gpt 3.5 turbo, Gemini 1.5 flash and OpenAI GPT 4.0 mini.
The following is a sample malware code from Jadx:
Right Click on the class or method name and select the "Show AI Analysis" option as seen below:
This opens up the jadx-ai-view window with the AI analysis output as seen below:
Install gpt4free if you plan on using the gpt4free option i.e:
python3 -m pip install g4f
Execute the following command to build the jar file:
export VERSION='1.0.0' && ./gradlew build
Jadx > 1.5.0 is required, please install the latest version of the Jadx unstable build. Then browse to the Plugins > Install plugin
option and enter file:<Jadx AI View jar file path>
or enter the location id: github:devilx86:jadx-ai-view-plugin
. Alternatively install with the following command:
jadx-gui plugins --install "github:devilx86:jadx-ai-view-plugin"
Run the following command to uninstall the plugin:
jadx-gui plugins --uninstall jadx-ai-view
- Skylot - Jadx, plugin template and usage.
- timschneeb - Jadx API usage reference.
- MartinKayJr - Default prompt engineering.
- xtekky - gpt4free.
- LangChain4j - LangChain4j.
- bobbylight - RSyntaxTextArea.