mirror of
https://github.com/morluto/rea.git
synced 2026-12-04 01:54:49 +00:00
* feat(firmware): disassemble RISC-V, MIPS32, PowerPC, and ARM64 split-immediate MMIO accesses * fix(firmware): tighten SVD interval inheritance and split-immediate register tracking * fix(firmware): bound inherited SVD block expansion and decode exact destination GPRs * fix(firmware): clear Rs across acquire-ordered ARM64 CAS and CASP variants * chore(mcp): sync advertised schema summary and budget projection with main * fix(firmware): bound CMSIS-SVD numeric widths before BigInt and index expansion * fix(firmware): keep rejected SVD addressBlocks distinct from omitted spans * fix(firmware): bound MMIO representation growth and preserve SVD ambiguity * perf(firmware): memoize SVD address lookups and pre-rank peripheral names * fix(firmware): scan a whole application image by default for MMIO syntheses On the 1.36 MB IROM segment of the MicroPython 1.24.1 ESP32-C3 image, a default call scanned 256 KiB and kept 512 of 713 matching accesses. The omitted rows were not in the retained Evidence, so the agent had to repeat the call with larger controls or page by scan_offset. Defaults now scan 4 MiB and keep up to 32,768 syntheses within a 16 MiB representation allowance, matching the literal-pool tool. Retained summary delivery still sizes what reaches the agent. The image completes in about 1 s with 4,073 syntheses. Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com> * refactor(firmware): use MMIO synthesis maximums as their defaults directly The default scan, synthesis and representation constants only repeated their maximums, which Knip reports as duplicate exports. The budgets and the parser fallback now name the maximums. Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com> * fix(firmware): bound SVD match cache weight, exclude RISC-V flash, and report scan-limit stops --------- Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com> Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>