Commit Graph
4 Commits
Author SHA1 Message Date
Elias Bachaalany d92f9d962d Pin libxsql to v1.0.21 instead of tracking main
This series needs libxsql 1.0.21 (exact_int64 / exact_text /
Int64KeyRange). All three build paths fetched libxsql main, so a later
libxsql change could break a build of this exact source. CMake's
GIT_TAG, the meson wrap's revision and the Makefile's clone now name the
release tag; bump them together.
2026-10-02 17:25:55 +02:00
Elias Bachaalany 2618735bd4 Describe measurements instead of pointing at research outside this repo
Comments pointed at research notes, named by directory and file, that a
reader of this repository cannot open. The measurements are kept; only
the pointers go.
2026-10-02 17:25:55 +02:00
Elias Bachaalany b7bda1601b Remove standalone http server, reuse r2 one 2026-09-21 14:56:27 +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