diff options
| author | blasty <blasty@local> | 2026-08-09 22:15:23 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-08-09 22:15:23 +0200 |
| commit | a5137fe0c6d6bb2c44a88f4ebc08e06c08161b2f (patch) | |
| tree | 27ffa0945a79431022b7591491935b34d67e73a4 /tools | |
| parent | Graph: never hand triskel a block its root cannot reach (diff) | |
| download | ida-tui-a5137fe0c6d6bb2c44a88f4ebc08e06c08161b2f.tar.gz ida-tui-a5137fe0c6d6bb2c44a88f4ebc08e06c08161b2f.tar.xz ida-tui-a5137fe0c6d6bb2c44a88f4ebc08e06c08161b2f.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 'tools')
0 files changed, 0 insertions, 0 deletions
