weirdmachine64/GhidraGPT ? reverse-engineered prompt
Reverse engineered prompt
Build me a Ghidra extension that lets me use AI right inside the decompiler.
I want to right click a function and choose things like explain it in plain English, rewrite it with better function and variable names, infer types and add comments, or audit it for possible security bugs. The result should stream into a console inside Ghidra instead of just popping up all at once. If the AI suggests better names or types, it should apply those changes back into the Ghidra project.
Please make it work on one function at a time using only that function’s decompiled output, and let me choose between different AI providers and models from a settings panel. I should be able to set the temperature, max tokens, and timeout too. It would be nice if it supports local models as well as online ones, and if it can fetch available models when possible. If you need to, look up the current docs for Ghidra and the providers online before wiring it up.
Are you gonna build this?
make sure you review the code using coderabbit