aboutsummaryrefslogtreecommitdiffstats
path: root/idatui/drive.py
diff options
context:
space:
mode:
authorblasty <peter@haxx.in>2026-08-06 23:48:04 +0200
committerblasty <peter@haxx.in>2026-08-06 23:48:04 +0200
commitae0b918b8b2bbcdf84418bcc563df9272d0a0412 (patch)
treeaf9c280d96f9e318e7630ea3b1090fb47051de5e /idatui/drive.py
parenttests: deterministic fixtures, and a correction (diff)
downloadida-tui-ae0b918b8b2bbcdf84418bcc563df9272d0a0412.tar.gz
ida-tui-ae0b918b8b2bbcdf84418bcc563df9272d0a0412.tar.xz
ida-tui-ae0b918b8b2bbcdf84418bcc563df9272d0a0412.zip
tests: a guard that actually regresses on the resync storm
The split resync loop (f898350) had no test. Two attempts at one were worthless and are not in this commit: a scroll-based guard passed with the bug reintroduced, and a constructed anchor -- inside the loaded function, outside its mapped span -- skipped, because on this target the map covers the whole function. The real trigger is the race window while the decomp map lags the decompiler re-pointing, which is tedious to force but wide open in split_view's own flow. So split_view counts lookup_funcs across its body and bounds it. Verified both ways, which is the only reason it's worth having: 29,227 calls with the bug put back, under 500 with the fix. The bound is loose because the bug was three orders of magnitude out, not a near miss. 733 checks, 139s.
Diffstat (limited to 'idatui/drive.py')
0 files changed, 0 insertions, 0 deletions