Skip to content

Releases

IDASQL v0.0.20

Choose a tag to compare

@github-actions github-actions released this 12 Nov 05:47
  • IDA 9.5 builds
  • idasql instances / ida_instances: running IDAs, their databases and SQL URLs
  • idasql http|mcp start|stop <db|pid>, idasql remote on|off, .remote: start another IDA's server once that database allows it
  • idasql rescue, idasql close, and the ui_actions table
  • Breaking: idapython_runs replaces idapython_snippet() / idapython_file(); idasql link list is now idasql instances
  • Fix: no false "Decompiler tables are expensive" hint on text values

IDASQL v0.0.19

Choose a tag to compare

@github-actions github-actions released this 10 Oct 01:37

idasql v0.0.19 lets you apply FLIRT signatures, roll back to undo checkpoints, query from IDAPython, and open results in IDA through ida:// links. It also adds 28 new tables and views, and builds for IDA 9.2, 9.3 and 9.4.

Highlights

FLIRT signatures from SQL. INSERT applies a signature, by short name or .sig path, and returns once analysis has used it. SELECT shows each signature's state and how many functions it matched. available_signatures lists every .sig IDA can find for the database's processor.

INSERT INTO signatures(name) VALUES ('vc32rtf');
SELECT name, title, state, matches FROM signatures;
SELECT name FROM funcs WHERE flags & 4;      -- library code, skip it in triage

Undo checkpoints (#59). Named undo points built on IDA's own undo engine. They cover every idasql write, headless and in the GUI. With auto_checkpoint = 'statement', every statement that writes gets its own checkpoint.

INSERT INTO checkpoints(label) VALUES ('before renames');
UPDATE funcs SET name = 'parse_header' WHERE addr = 0x401000;
UPDATE checkpoints SET state = 'undone' WHERE label = 'before renames';

import idasql in IDAPython (#57). Run SQL from the IDA console, a script or a plugin, with no server in between. Values come back as Python types, ? parameters are bound by SQLite, and a failed query raises idasql.Error naming the statement.

import idasql
for f in idasql.query("SELECT addr, name FROM funcs WHERE size > ?", 100):
    print(hex(f.addr), f.name)

ida:// deep links for IDA 9.4 (#43). Join deep_links to any result to get a link that opens IDA at that function, in pseudocode or disassembly. Up to the final idb_path parameter, which idasql adds, the link is identical to IDA's own Copy Link. idasql link register makes these links open from any app, and ida_open_link() navigates from SQL.

New tables and views

  • Program structure: func_summary (one triage row per function), func_at(addr), function_chunks, function_frames, data_items, switch_tables, switch_cases, dominators, post_dominators, loops
  • Decompiler: microcode and microcode_operands at any maturity, the portable ir_ops / ir_operands / ir_maturities / ir_v_* views, and decompiler_splits (Split expression without a pseudocode window)
  • Database and session: notepad, ida_config (IDA's .cfg keys, readable and settable), checkpoints, undo_state, available_signatures, deep_links, deep_link_parse
  • Now writable: signatures (INSERT applies), and runtime_settings (UPDATE replaces the value PRAGMAs)

Changed

  • Functions with tail chunks are handled everywhere: disasm_func, funcs.size and func_at cover every chunk, and a shared tail reports every owner.
  • Integer and address writes are exact. '0x90', 1.5 or a blob is refused with the column named, never truncated.
  • cfg_edges true/false follow the branch (true is the jump target). Addresses outside every function read as NULL, not 0.
  • segments INSERT uses the database's bitness. struct_member_xrefs reports the operand and the access offset and size.
  • The X-XSQL-Timeout header sets a per-request timeout over HTTP.
  • Builds are pinned to reviewed dependency revisions (libxsql 1.0.24).

Fixed

  • Plugin teardown no longer leaves listeners calling into freed state.
  • /cancel reaches only requests that have started.
  • Decompiler tables keep every row under multi-function OR queries.

Downloads

Pick the archives for your IDA version. Plugin binaries are built per IDA SDK and are not interchangeable across versions.

IDA Plugin (HCLI package) Command-line tool ARM64 plugins
9.4 idasql-v0.0.19-ida94-plugin.zip idasql-v0.0.19-ida94-cli-manual.zip idasql-v0.0.19-ida94-arm64-plugin-manual.zip
9.3 idasql-v0.0.19-ida93-plugin.zip idasql-v0.0.19-ida93-cli-manual.zip idasql-v0.0.19-ida93-arm64-plugin-manual.zip
9.2 idasql-v0.0.19-ida92-plugin.zip idasql-v0.0.19-ida92-cli-manual.zip n/a
  • Plugin: Windows x64, Linux x64 and macOS Arm64 in one archive, with ida-plugin.json. Install it with HCLI, or copy ida-plugin.json and your platform's binary into IDA's plugins folder.
  • Command-line tool: one idasql executable per platform. It also includes Linux Arm64 for 9.3 and 9.4, and Windows Arm64 for 9.4. Put it next to the IDA executable.
  • ARM64 plugins: Linux Arm64 for 9.3 and 9.4, and Windows Arm64 for 9.4. Install them by hand.

Checksums are in SHA256SUMS.txt.

Agent skills

idasql-skills v0.0.19 adds a deep-links skill, a checkpoints reference with a hook that rolls back an agent's turn, and FLIRT recipes. Every skill is updated for this release.


Thanks to @torsts for the function-tails report, and to @noamz10, @po0p and @rcaragea for the feature requests. This release closes #43, #57 and #59.

If idasql saves you time: PayPal · Buy Me a Coffee

Full changelog: v0.0.18.1...v0.0.19

IDASQL v0.0.18.1

Choose a tag to compare

@github-actions github-actions released this 26 Jul 18:56
6dc26dc

IDASQL v0.0.18.1 is an out-of-band compatibility release that adds explicit builds for IDA 9.2, 9.3, and 9.4 and fixes the IDA 9.3 loading problem reported in #54.

Important

Download the archive that matches your installed IDA version. IDA SDK plugin binaries should not be assumed to work across IDA versions.

Downloads

IDA version Package Included platforms IDA SDK tag
IDA 9.2 idasql-v0.0.18.1-ida92.zip Windows x64, Linux x64, macOS Arm64 v9.2.0-sdk.1
IDA 9.3 idasql-v0.0.18.1-ida93.zip Windows x64, Linux x64, macOS Arm64 v9.3.0-sdk.3
IDA 9.4 idasql-v0.0.18.1-ida94.zip Windows x64, Windows Arm64 (WoA), Linux x64, macOS Arm64 v9.4.0-release

Each ZIP includes both the standalone CLI and the IDA plugin. There are no separate CLI/plugin downloads.

Package layout

idasql-v0.0.18.1-idaXX/
├── windows-x86_64/
│   ├── cli/idasql.exe
│   └── plugin/{idasql.dll, ida-plugin.json}
├── linux-x86_64/
│   ├── cli/idasql
│   └── plugin/{idasql.so, ida-plugin.json}
└── macos-arm64/
    ├── cli/idasql
    └── plugin/{idasql.dylib, ida-plugin.json}

The IDA 9.4 archive additionally contains windows-arm64/ with native Windows-on-Arm CLI and plugin binaries.

Installation

  1. Download and extract the ZIP matching your IDA version.
  2. Open the directory matching your operating system and architecture.
  3. For the CLI, place the file from cli/ next to the IDA executable or somewhere on your PATH.
  4. For the IDA plugin, copy both files from plugin/ into IDA's plugins directory.

For example, an IDA 9.3 user on 64-bit Windows should use idasql-v0.0.18.1-ida93.zip and the files under windows-x86_64/.

What changed

  • Fixed IDA 9.3 compatibility (#54).
  • Added an explicit IDA SDK build matrix for IDA 9.2, 9.3, and 9.4.
  • Added native Windows Arm64 CLI and plugin builds for IDA 9.4.
  • Restored the pre-IDA-9.3 bookmark compatibility path needed by IDA 9.2.
  • Standardized version metadata as 0.0.18.1 across the CLI, plugin manifest, and Windows resources.
  • Added combined, version-specific packages with validated manifests and binary architectures.
  • Continued using standalone allthingsida/ida-cmake from main; the CMake configuration explicitly rejects the SDK-vendored copy.

Build provenance and validation

The release build resolved standalone ida-cmake commit 47f66b7046f8b292385cb9df3c4623c9d129c902.

All 10 platform/SDK builds, combined archive assembly, manifest checks, and architecture checks passed in the tagged release workflow. The release contains validated PE x86-64, PE Arm64, ELF x86-64, and Mach-O Arm64 binaries.

SHA-256

a8d06205867fbd2eb89d2e9e5909bcb9ef67eff6c8fe35e4cd0cee512fed4fe0  idasql-v0.0.18.1-ida92.zip
aedb99178ad83351a63616cff00d5e41b2aa5295dec1e55ac13e4a350fbe476a  idasql-v0.0.18.1-ida93.zip
5a6f2f15c6604f8d54f510ce92a35ea93fbab9a6162152e7c56b18f8bce9e8cc  idasql-v0.0.18.1-ida94.zip

Implemented in PR #55.

Full changelog: v0.0.18...v0.0.18.1

IDASQL v0.0.18

Choose a tag to compare

@github-actions github-actions released this 17 Jul 13:47

idasql v0.0.18

New

  • runtime_settings — read-only view of the effective PRAGMA idasql.* runtime controls.
  • type_gaps — free byte ranges in a struct (where a new field can be inserted).
  • struct_member_xrefs — cross-references to a struct/union member.
  • Writable member_type (INSERT + UPDATE) — in-place member retype on structs and unions.
  • Optional auth token for the HTTP/REPL server; ?format=text|csv|tsv output on the CLI HTTP /query.

Fixed

  • INSERT honors an explicit offset/offset_bits, with a bit-accurate overlap check — an overlapping insert is rejected, never silently appended. (#47)
  • DELETE is non-collapsing — it leaves a gap and preserves the following members' offsets (like IDA's Undefine); to compact/repack, toggle is_fixed 1→0. (#48)
  • Member retype applies and reads back on structs and unions; successful edits no longer report a spurious "failed to save". (#44, #45)
  • Array local-variable retyping works (UPDATE ctree_lvars SET type='T[N]'), including multidimensional, pointer-to-array, and named-type element forms. (#52)
  • callee_type on a direct call preserves the real callee symbol, so re-decompiling the caller no longer aborts with INTERR 50782. (#53)
  • More accurate call/block metadata; collision-safe row identifiers.

Thanks to @shrddr and @rcaragea for the reports — this release closes #44, #45, #47, #48, #52, #53.

IDASQL v0.0.17

Choose a tag to compare

@github-actions github-actions released this 11 Jun 22:13

idasql v0.0.17

Thanks to @torsts and @rootbsd — this release closes #26, #32, #33, #34.

New

  • .pin autostart — pin an HTTP/MCP server per database; the IDA plugin auto-starts it on database open, stored in a versioned $ idasql config netnode. (#33, thanks @torsts)
  • Extended welcome table — now reports build version (idasql_version) plus file-identity columns (filename, input path, MD5/SHA-256). (#32, thanks @torsts)
  • Function folder support — organize functions into IDA Function-window folders through SQL (UPDATE funcs SET folder_path = ..., dirtree_folders for the seven standard dirtrees). (#26, thanks @rootbsd)
  • get_ui_context_json() in every runtime — live UI/view state in the plugin; a friendly "GUI-only" envelope under CLI/idalib.
  • local_type_bookmarks full CRUD and a bytes byte-patch surface (writable value/word/dword/qword; DELETE reverts a patch).

Changed

  • Single authoritative version — every runtime surface (CLI, plugin, MCP handler, the welcome table) routes through IDASQL_VERSION_STRING, and ida-plugin.json is generated from the header so the manifest can't drift. (#34, thanks @torsts)
  • Verified cross-SDK compatibility across IDA 9.0–9.3.
  • Internal: the table layer was reorganized into per-domain namespaces (code/symbols/memory/xrefs + core). No SQL-surface change.

Fixed

  • Session freshness guard against opening a stale sibling .i64.

Docs

  • README gains a "The xsql family" section cross-linking the sibling tools (bnsql, ghidrasql, pdbsql, dwarfsql, clangsql) and the shared libxsql core.

IDASQL v0.0.16

Choose a tag to compare

@github-actions github-actions released this 29 May 06:43

idasql v0.0.16

  • Writable type tables — create/modify/apply structs, unions, enums and typedefs through SQL
  • Byte patching consolidated onto the writable bytes table
  • New address-resolution and ida_compat modules — restores pre-9.2 IDA SDK support (9.0/9.1) and IDA 9.0 plugin compatibility. Thanks to @Cr4sh (#17) and @Oxygen1a1 (#30) for raising older-IDA support.
  • Respects user-disabled auto-analysis and no longer calls auto_wait() unconditionally (fixes #31)

Pair with idasql-skills v0.0.16. Update the matching skills plugin (allthingsida/idasql-skills) so the Claude/Codex tooling lines up with this build.


* The prebuilt binaries attached to this release target the latest IDA only. For earlier IDA versions (e.g. 9.0/9.1), build from source against your matching IDA SDK — the pre-9.2 compatibility code is included, but no prebuilt binaries are provided for older releases.

IDASQL v0.0.15

Choose a tag to compare

@github-actions github-actions released this 28 May 01:14

What's New

Multi-statement query support

The CLI (-c/-f), HTTP /query endpoint, MCP server, and plugin paths now
all route through xsql::run_script — the canonical multi-statement script
envelope shared with bnsql, pdbsql, clangsql, and dwarfsql. Multi-statement
bodies return a structured envelope (array of per-statement results);
opt-in continue_on_error is supported.

Single-statement input still produces a single-element response array, so
existing callers don't need to change anything.

Raw binary support via -s, now documented

The -s, --source flag has always accepted raw binaries (.exe/.dll/
firmware/etc.) in addition to .idb/.i64 — IDA loads and analyzes the
file, then auto-saves an .idb/.i64 next to it. The docs previously
only mentioned .idb/.i64; the README and idasql_agent.md now spell
out the full behavior.

idasql -s sample.exe -c "SELECT name FROM funcs LIMIT 5"
idasql -s firmware.bin -i

Documentation

  • README documents the canonical script envelope (single = array of one).
  • idasql_agent.md adds UPDATE/DELETE examples for the comments table.
  • Upsert semantics for INSERT INTO names/comments now clearly
    documented: IDA permits only one name and one comment-slot per address,
    so INSERT at an existing EA replaces. SN_CHECK may auto-disambiguate
    globally conflicting names (foo → foo_0) — read back the row to see
    what was actually stored.

Companion: idasql-skills v0.0.15

allthingsida/idasql-skills v0.0.15
ships in lockstep with the same UPDATE/upsert-semantics doc additions and
the verbatim idasql --help output embedded in the connect skill.

Downloads

Full Changelog: v0.0.14...v0.0.15

IDASQL v0.0.14

Choose a tag to compare

@github-actions github-actions released this 18 May 08:08

What's new

  • Read AND write through tables. Annotation, name, comment, bookmark, function, and instruction-detail surfaces are now first-class tables. Mutations happen via plain UPDATE/DELETE — no more one-off scalar helpers.
  • Faster next_head / prev_head navigation via ordered range pushdown on the heads table.
  • MCP server enabled by default. Build with -DIDASQL_WITH_MCP=OFF to omit it.
  • Welcome metadata reports the strings count.

Fixes

  • High-bit (64-bit) addresses route correctly.
  • MCP server starts only after the engine is fully ready.
  • Cleaner error messages on UPDATE failures.
  • Linux plugin link: fastmcpp_core is now built with -fPIC.

Migration

The retired scalar helpers each have a direct table-based equivalent. See README and prompts/idasql_agent.md for the full mapping.

Companion skills release

https://github.com/allthingsida/idasql-skills/releases/tag/v0.0.14

IDASQL v0.0.13

Choose a tag to compare

@0xeb 0xeb released this 18 Mar 21:39

Improved Graph Navigation

  • Explore call hierarchies with built-in depth control and cycle handling
  • Find the shortest call path between two functions using efficient bidirectional search
  • Query control flow graph structure per function, including branch points and merge points

New Convenience Views

  • String references, data references, function chunks, type inheritance — common multi-table queries available as single views

Performance

  • Faster caller/callee lookups with pre-computed function containment on cross-references
  • Optimized query planner cost hints

Full Changelog: v0.0.12...v0.0.13

IDASQL v0.0.12

Choose a tag to compare

@github-actions github-actions released this 15 Mar 23:40
  • Add explicit function comment columns (rpt_comment, comment) to funcs table
  • Decompiler overhaul: orphan comments, function-entry comments, indirect call typing
  • netnode_kv: support upsert on INSERT for duplicate keys
  • Fix: initialize session runtime once per process
  • Docs: clarify pseudocode comment anchor selection