diff options
| author | blasty <peter@haxx.in> | 2026-08-09 22:15:23 +0200 |
|---|---|---|
| committer | blasty <peter@haxx.in> | 2026-08-09 22:15:23 +0200 |
| commit | 2c87823cdeb30a03501f1c78936285b7fd16b152 (patch) | |
| tree | 84724d53e00e5a609dc3f5361bf62603e81ef261 /docs/GRAPH_VIEW.md | |
| parent | Graph: never hand triskel a block its root cannot reach (diff) | |
| download | ida-tui-2c87823cdeb30a03501f1c78936285b7fd16b152.tar.gz ida-tui-2c87823cdeb30a03501f1c78936285b7fd16b152.tar.xz ida-tui-2c87823cdeb30a03501f1c78936285b7fd16b152.zip | |
Drop the settrace workaround: ida-codemode 0.3.2 deleted the hook
_script() ran every snippet with sys.settrace(None) to detach Code Mode's
per-line trace hook, which returned itself and so enabled line tracing in
every frame it saw -- 52x on ida_bytes.get_flags, and the whole residual
gap against the old private worker.
0.3.2 removes that hook entirely (zero settrace refs); the deadline is now
a C-level thread interrupt, runtime._interrupt_thread. Re-measured on a
200-row listing page of main in targets/bash: the workaround buys 0.99x.
So it goes, and the caveat goes with it -- a pure-Python loop inside a
snippet is once again bounded by its deadline. _PACK_EPILOGUE measures
0.97x for the same reason (dumps_json got a C fast path) but is kept for
encoder determinism, with its stale 114x claim corrected.
experiments/bench_pack_trace.py is the harness for both numbers.
Full gate green: 1031 passed, 0 failed.
Diffstat (limited to 'docs/GRAPH_VIEW.md')
0 files changed, 0 insertions, 0 deletions
