Commit Graph
30 Commits
Author SHA1 Message Date
pancake 1e84eb2ae5 Use r_name_check instead of json_utils::valid_flag_name 2026-09-28 17:12:03 +02:00
pancake 05d598ded0 Document native readers and command-backed operations 2026-09-27 19:02:28 +02:00
pancake f6373445b4 Estimate table sizes through native collection APIs 2026-09-27 19:02:28 +02:00
pancake 977d4ac84b Read ESIL operations from native instruction analysis 2026-09-27 19:02:28 +02:00
pancake cd1582798e Read binary metadata and relocations without JSON commands 2026-09-27 19:02:28 +02:00
pancake 42ba6fabb7 Read type definitions and members from the native type database 2026-09-27 19:02:28 +02:00
pancake 489339db54 Use native APIs for analysis and runtime catalogs 2026-09-27 19:02:28 +02:00
pancake 306c3e88a0 Read IO maps and write cache through native APIs 2026-09-27 19:02:28 +02:00
pancake 4d3690a6fc Read symbols and composite tables through native binary APIs 2026-09-27 19:02:28 +02:00
pancake e68a24e15b Read bookmarks through native flag APIs 2026-09-27 19:02:28 +02:00
pancake c5f87adf8d Use native function lookups for xrefs and analysis helpers 2026-09-27 19:02:28 +02:00
pancake 808f9bc83c Fix stale Make objects and migrate regression tests to r2r 2026-09-22 00:46:48 +08:00
Elias Bachaalany 528b22f41d Require exact function starts in scoped SQL queries 2026-09-21 18:19:47 +02:00
Elias Bachaalany 71f291bd9c Update the agent guide for native plugin commands 2026-09-21 18:08:24 +02:00
Elias Bachaalany 7c4b868c8f Refresh live library register and relocation tables 2026-09-21 18:04:15 +02:00
Elias Bachaalany ce0786a7a9 Replace project and type SQL wrappers with native commands 2026-09-21 18:00:25 +02:00
Elias Bachaalany 8f3bab2b8b Name release artifacts after the radare2 plugin 2026-09-21 17:58:56 +02:00
Elias Bachaalany 15da1ebba0 Derive SQL catalogs from the live schema 2026-09-21 17:57:31 +02:00
Elias Bachaalany 8769217bfa Render SQL results with native radare2 tables 2026-09-21 17:34:15 +02:00
Elias Bachaalany 1c5f4b8ae1 Fix flag self-renames and report refused command renames 2026-09-21 17:32:09 +02:00
Elias Bachaalany 89b982a022 Build the radare2 plugin by default with CMake 2026-09-21 17:31:04 +02:00
Elias Bachaalany 2ea9853988 Add sqlj for JSON SQL script results 2026-09-21 17:23:25 +02:00
pancake 647b30c111 Add CI badge in the readme and update to r2-6.2.2 2026-09-21 15:46:55 +02:00
Elias Bachaalany ca934bf64a Remove CLI Tool Completely 2026-09-21 15:42:06 +02:00
Elias Bachaalany b7bda1601b Remove standalone http server, reuse r2 one 2026-09-21 14:56:27 +02:00
Elias Bachaalany 75d9f471ca Remove the standalone mcp support
- Dont dup r2mcp responsabilities
2026-09-19 03:30:36 +02:00
pancake 12a4b92f29 Use RCoreHelp when using sql? 2026-08-21 13:38:26 +02:00
pancake 3df985badf Fix build with latest r2 2026-08-21 13:38:26 +02:00
pancake 004102c9d0 Fix make build and simplify make test 2026-08-21 13:38:26 +02:00
Elias Bachaalany 288bcaab43 r2xsql 0.0.1 - SQL interface for radare2
r2xsql exposes a radare2 analysis session as live SQL virtual tables: every
query re-issues the JSON form of the relevant r2 command (aflj, izj, axtj, ...)
against the current core, so results are never a stale dump. Reads are SELECTs;
annotation is ordinary SQL writes -- rename functions, set prototypes, comments,
flags, locals, types, bookmarks, patches -- and work saves back through
radare2's native project format.

Two interchangeable flavors over one SQL surface:
  - r2xsql       portable; drives radare2 over r2pipe, needs only the radare2
                 binary on PATH at runtime. Always built.
  - r2xsql-full  in-process (libr) build; also ships core_r2xsql, an in-r2
                 plugin that adds the `sql` command inside radare2. ABI-locked
                 to the radare2 it was built against.

~48 tables and 13 views span functions, blocks, instructions, xrefs, strings,
imports/exports, sections/segments, flags, comments, types, classes, relocs,
registers, syscalls, calling conventions, ROP gadgets, ESIL, and decompilation.
An always-on HTTP REST endpoint and an MCP server expose the same surface to
tooling and agents.

Build with CMake (both flavors, MCP, tests), or -- for the plugin alone -- a
radare2-native Makefile / meson build (plugin paths from `r2 -H`, radare2 via
pkg-config r_core). Agent skills for driving r2xsql live in
radareorg/radare2-skills.

Developed by Elias Bachaalany, in collaboration with the radare2 project (radareorg).
2026-08-12 13:28:52 -07:00