r2droid  by wsdx233

Reverse engineering app for Android with AI assistance

Created 5 months ago
263 stars

Top 96.7% on SourcePulse

GitHubView on GitHub
Project Summary

A native Android application, r2droid provides a powerful graphical user interface for the Radare2 reverse engineering framework. It targets security researchers and developers working on Android platforms, offering mobile-friendly static and dynamic analysis capabilities, augmented by AI-assisted workflows and deep integration with tools like Frida.

How It Works

Built with Kotlin and Jetpack Compose, r2droid delivers a native Android experience. Its core innovation lies in integrating Radare2 with advanced features: an OpenAI-compatible AI assistant for interactive code analysis, a seamless R2Frida workflow enabling dynamic instrumentation directly within the app, and a touch-friendly graph viewer employing Sugiyama layouts for visualizing complex code relationships like function flow and cross-references.

Quick Start & Requirements

Clone the repository and open it in Android Studio (Ladybug or newer recommended). Use JDK 17 as the Gradle JVM. Build and run on an Android device or emulator with minSdk 24. The app bundles prebuilt Radare2 assets, extracting them on first launch.

Highlighted Details

  • AI Assistant: Features an OpenAI-compatible chat interface for analysis, supporting streaming output, custom prompts, and optional command/script execution.
  • R2Frida Workflow: Includes an in-app R2Frida installer, supports local/remote process analysis, custom script management, and dedicated Frida-focused analysis tabs.
  • Graph Viewer: Offers touch-friendly graphs with Sugiyama layout, visualizing Function Flow, Xref, Call Graph, Global Call Graph, and Data Reference Graph.
  • Report Export: Allows exporting analysis results as Markdown, HTML, or JSON, and generating Frida hook templates.
  • Core Capabilities: Supports project lifecycle management, virtualized hex/disassembly viewers with patching, multiple decompiler integrations (r2ghidra, r2dec, native, aipdg), ESIL-first debugging, comprehensive search/analysis lists, and an embedded terminal with extended keys.

Maintenance & Community

Notable contributors include @wsdx233, @binx6, and @AbhiTheModder. Further contributor details are available on GitHub. No specific community channels (e.g., Discord, Slack) are listed in the README.

Licensing & Compatibility

The project is licensed under the permissive MIT License. This license generally allows for commercial use and integration into closed-source projects without significant restrictions.

Limitations & Caveats

Current development focuses on expanding the plugin manager UI, enhancing debug backend UX for native and Frida paths, and developing more advanced analysis automation templates. The project is actively being developed, with some features still marked as TODO.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
27 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.