gensokyo-dev
766c45de1d
feat(firmware)!: replace the literal-pool and split-immediate MMIO tools with inspect_firmware_mmio
...
inspect_firmware_literal_pools and inspect_firmware_mmio_synthesis answered
the same question and differed only in the instruction idiom they decode.
One tool, inspect_firmware_mmio, now takes a single architecture vocabulary
across all nine ISAs and dispatches to the literal-pool or split-immediate
decoder.
Both decoders write the same report:
- accesses rows: instruction, address register, access kind and width,
address and MIPS physical address, region kind, architectural block, and
CMSIS-SVD peripheral and register facts;
- a source object with the decoder's own facts: pool slot and disassembly,
or pattern and high instruction;
- decoder facts on the report.
firmwareMmioGroups.ts owns grouping MMIO accesses by SVD peripheral,
architectural block or 4 KiB page. mmioAttributionBasis owns the group
basis. The retained view kind is firmware-mmio, with collections accesses,
peripheral_groups and anomalies, and its summary lists the top 16 groups as
compact rows.
max_references and max_syntheses are removed, since max_representation_bytes
already bounds the rows they counted. The literal-pool pre-allocation
measurement now includes an upper bound for each group, so its refusal
reports the exact required bytes. max_scan_bytes defaults to its 16 MiB
maximum, so one call covers a whole application image. mmio_only, default
true, now also drops literal-pool constants that are not MMIO;
counts.candidate_accesses still counts every decoded access.
BREAKING CHANGE: inspect_firmware_literal_pools and
inspect_firmware_mmio_synthesis (CLI inspect-firmware-literal-pools and
inspect-firmware-mmio-synthesis) and the retained view kinds
firmware-literal-pools and firmware-mmio-synthesis are replaced by
inspect_firmware_mmio (inspect-firmware-mmio) and view kind firmware-mmio.
isa becomes architecture, max_svd_nodes becomes max_svd_xml_nodes, and
max_references and max_syntheses are removed. Neither old tool has been
released.
Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com >
2026-12-03 21:19:29 +08:00
..
2026-11-22 03:57:03 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-02 09:00:22 +08:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 02:19:09 +00:00
2026-12-01 02:19:09 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-11-22 03:57:03 +00:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-02 09:00:22 +08:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-11-16 03:59:05 +08:00
2026-12-02 09:00:22 +08:00
2026-11-22 16:30:29 +08:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 16:15:36 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 17:15:02 -05:00
2026-12-03 13:02:04 +08:00
2026-12-03 21:19:29 +08:00
2026-12-01 00:23:37 -05:00
2026-12-03 13:02:09 +08:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 19:32:41 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 19:32:41 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-03 16:36:28 +08:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-11-18 10:49:22 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-11-22 03:57:03 +00:00
2026-11-23 02:28:45 +00:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-02 00:07:24 +00:00
2026-12-01 00:23:37 -05:00
2026-11-23 12:47:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-11-16 03:59:05 +08:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 02:36:09 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-02 09:00:22 +08:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 15:28:35 +00:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00
2026-12-01 00:23:37 -05:00