unidbg
Runs and inspects the hidden native code inside Android apps, with experimental iOS support, on an ordinary computer.
- Coding needed
- Developers only
- Cost
- Free
- Runs on
- Mac, Linux
- Computer
- An ordinary computer is fine
Runs and inspects the hidden native code inside Android apps, with experimental iOS support, on an ordinary computer.
unidbg is a programming toolkit that imitates (emulates) a phone's processor, so the built-in native code from an Android app can run on a computer without a real phone. Native code is the fast, low-level part of an app that is written for the phone's chip. Support for iOS apps is described as experimental.
Its makers call it an educational project for learning about app file formats and ARM assembly, the low-level instructions phone chips understand. They add: use it at your own risk. It includes a debugger for pausing code at chosen points, tracing each instruction, reading and changing memory, and spotting memory leaks.
It also has a built-in MCP server. MCP (Model Context Protocol) is a standard way for AI assistants to use outside tools, so an AI coding tool can help with this debugging work.
When the debugger is paused, typing a command starts a built-in MCP server. An AI tool such as Cursor can then read registers and memory, set breakpoints, step through code, trace execution and rerun chosen functions with new inputs.
Programmers and researchers who study how the native code inside Android or iOS apps works.
Developers only. You use it by writing Java code that loads a library and controls the emulator. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?