mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-18 12:08:38 +00:00
The jump-table check now walks every way into the dispatch region up to four predecessor blocks and drops an oracle index only where each way's branch condition, a pure function of the index register evaluated in Unicorn, rules it out: cmp #k; b.ne with other instructions between, cbnz on the index, and range checks such as sub/cmp/b.hi or and/cmp/b.ne. Branch targets inside a fall-through region count as entries. capstone lists the first operand of cmp, cmn and tst as written; the slice reads it from the operands. 1.4.3 drops from 6 unexplained disagreements to 0, 1.2.1 stays at 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>