aboutsummaryrefslogtreecommitdiffstats
path: root/idatui/rpcclient.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix: don't hang drive pc on undecompilable functionsuser12 days1-2/+19
| | | | | | | | | | | | | | | | toggle_view's settle predicate (lambda: app._active != before) never fired when tabbing toward pseudocode on a function Hex-Rays can't decompile: App._apply_decomp snaps the view back to disasm, so _active returns to its prior value -> full 20s settle timeout (x2 in _show_decomp, ~40s for drive pc). Recognize the decomp-failed fallback as settled. Also harden two amplifiers surfaced by the same case: - rpcclient: the CLI socket had no read timeout and would block forever on any server slowness; add a bounded settimeout (IDATUI_RPC_TIMEOUT, default 90s) with a clear error. - domain.decompile: pass a bounded 15s timeout and cache failures, so a failing decompile can't sit at the 30s client default or be re-run by transport retries.
* rpc: stdlib client + CLI (idatui.rpcclient)blasty13 days1-0/+133
Drive the TUI from another tmux pane with no deps: python -m idatui.rpcclient --sock <path> goto target=main python -m idatui.rpcclient keys g m a i n enter python -m idatui.rpcclient screen # dumps the raw screen text Also importable as RpcClient for the agent. Socket via --sock or IDATUI_RPC_SOCK. Booleans are coerced; numerics/addresses stay strings (the server coerces numeric params).