Gepetto
IDA plugin which queries language models to speed up reverse-engineering
What is Gepetto?
IDA plugin which queries language models to speed up reverse-engineering
Overview of Gepetto
What it is
Gepetto is a Python plugin for IDA Pro (version 7.6 or later) that queries large language models to assist reverse-engineering. It can explain what a decompiled function does and automatically rename its variables.
Key features
- Supports multiple language model providers: Anthropic, OpenAI, Google Gemini, Azure OpenAI, Ollama, Groq, Together, Novita AI, Kluster.ai, and LM Studio.
- Provides hotkeys: Ctrl+Alt+G to explain a function, Ctrl+Alt+K to add comments, Ctrl+Alt+R to rename variables.
- Includes a CLI interface for asking questions to the LLM directly from IDA.
- Allows switching between supported models from the Edit > Gepetto menu.
- Supports localization; language can be changed via configuration.
- Users can add custom providers by placing Python files in the providers directory or via entry points.
Use cases
- Reverse-engineering binary executables by obtaining natural language explanations of decompiled functions.
- Speeding up analysis by automatically renaming variables based on model suggestions.
- Understanding complex or obfuscated code with the help of AI-generated comments.
Getting started
Install using hcli (recommended): bash pip install ida-hcli hcli plugin install gepetto Alternatively, manually drop gepetto.py and the gepetto/ folder into your IDA plugins directory ($IDAUSR/plugins). Then install required packages: bash [/path/to/python] -m pip install -r requirements.txt Configuration is stored in $IDAUSR/cfg/gepetto/config.ini. Add API keys for the desired providers. The first run copies a template to that location.
License and pricing
Licensed under GPL-3.0. Open source and free to use. API queries to third-party models may incur costs depending on the provider.
Based on the project's public README and repository metadata.