mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-28 06:49:47 -04:00
462734edb2
- family_remap: imm_value (signed/unsigned field-aware) + imm_map_tier1 (diff-driven literal swap: asm-side ambiguity guard defers values that also appear at a non-differing position; C-literal swap preserves sign + hex-case) + remap_hseq (symbol remap + imm subst + cross-address self-rename in one pass; refuses STRUCT/unresolved members -> caller skips, byte-gate would reject anyway). - Tier 2 (targeted probe) intentionally DEFERRED — build-if-needed per Task-5 measurement; only ~8 low-weight IMM families, and the whole-binary byte-gate arbitrates (plan: simpler where gate arbitrates). - VERIFIED (.run/v3_imm.py, match_one reloc-masked so immediates are checked exactly): 0 DIFF on every compilable derived draft — 3 IMM + 2 PURE cross-address MATCH; 4 remap-fails were correctly-deferred asm-ambiguous values (not wrong output); 45 compile-fail are match_one isolation limits -> whole-TU gate in Task 5. Cookbook §40b imm-engine forward-ref fixed.