summaryrefslogtreecommitdiffstats
path: root/docs/TUI_DRIVING_BLUEPRINT.md
diff options
context:
space:
mode:
authorblasty <peter@haxx.in>2026-07-23 00:14:59 +0200
committerblasty <peter@haxx.in>2026-07-23 00:14:59 +0200
commitfac3b79eeb4783cb522d278044d9316dc6a610d2 (patch)
treedcb4679d491759bd680e414f917d2fd88f2e8d7a /docs/TUI_DRIVING_BLUEPRINT.md
parentapp: 'd' — define typed data in the listing (make_data, M3) (diff)
downloadida-tui-fac3b79eeb4783cb522d278044d9316dc6a610d2.tar.gz
ida-tui-fac3b79eeb4783cb522d278044d9316dc6a610d2.tar.xz
ida-tui-fac3b79eeb4783cb522d278044d9316dc6a610d2.zip
launch: `ida-tui foo.elf` one-shot wrapper (server + locks + session)
A caveman entry point so you don't hand-craft the plumbing every time. It: * ensures the ida-pro-mcp supervisor is up — starts spawn.sh detached (start_new_session, tmux-free) and waits for the port if it's down; * recovers a binary wedged by a hard-killed worker — sweeps the stale unpacked .id0/.id1/.id2/.nam/.til next to the .i64 and retries (the packed .i64 is never touched); * adopts an already-open session for the same binary (idempotent), else idb_opens it with a sane idle-TTL; * launches the TUI attached to that session with keepalive on. ./ida-tui /path/to/binary # open a binary and drive it ./ida-tui # attach to the sole session ./ida-tui --db <id> # attach to a specific session Pieces: idatui/launch.py (logic, reuses pane.py's server probe), a repo-root `ida-tui` sh wrapper (resolves ~/ida-venv python, keeps idatui importable from any cwd), and an `ida-tui` console-script in pyproject. --help works without textual (app imported late). README documents both the one-liner and the manual recovery. gitignore bin/ (binary targets, like targets/). Verified live: ensure_server up-detection, open, adopt (same session id), and lock-sweep all work against a running supervisor.
Diffstat (limited to 'docs/TUI_DRIVING_BLUEPRINT.md')
0 files changed, 0 insertions, 0 deletions