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-15 22:11:06 +08:00
2026-11-15 22:11:06 +08:00
2026-11-25 11:25:18 -05:00
2026-11-15 10:19:25 -05:00
2026-11-15 10:19:25 -05:00
2026-11-26 01:24:30 +08:00
2026-11-15 23:58:09 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-02 01:48:46 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-10-24 22:48:50 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-21 22:45:18 +00:00
2026-11-25 11:25:18 -05:00
2026-11-26 14:03:36 +08:00
2026-11-24 11:48:06 -05:00
2026-10-07 21:45:07 +08:00
2026-11-26 14:03:36 +08:00
2026-11-14 15:21:00 -05:00
2026-11-25 11:25:18 -05:00
2026-11-02 01:48:46 +08:00
2026-11-15 14:49:33 +08:00
2026-11-15 19:54:17 +08:00
2026-12-01 02:27:15 +00:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-10-07 17:16:58 +08:00
2026-11-25 11:25:18 -05:00
2026-10-14 00:36:37 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-14 04:08:37 -05:00
2026-11-16 06:22:40 +08:00
2026-11-26 03:50:41 +00:00
2026-11-26 03:50:41 +00:00
2026-11-16 08:45:01 +08:00
2026-11-17 10:47:29 +00:00
2026-11-17 10:47:29 +00:00
2026-11-15 21:51:18 +08:00
2026-11-15 21:51:18 +08:00
2026-11-16 14:58:17 -05:00
2026-11-24 20:54:13 +08:00
2026-10-14 00:56:43 +08:00
2026-10-14 08:19:07 +08:00
2026-11-26 01:24:24 +08:00
2026-10-24 11:50:11 +08:00
2026-10-26 17:15:58 +08:00
2026-10-26 17:15:58 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-10-26 20:13:12 +08:00
2026-11-11 17:28:10 +08:00
2026-11-30 18:01:46 +08:00
2026-11-14 04:08:37 -05:00
2026-12-02 22:37:46 +00:00
2026-11-12 20:29:42 -08:00
2026-11-18 07:00:09 +08:00
2026-11-21 08:49:29 -05:00
2026-12-03 12:29:16 +00:00
2026-11-24 21:54:08 -05:00
2026-12-01 05:45:07 +00:00
2026-10-26 17:15:58 +08:00
2026-12-02 19:38:25 +00:00
2026-12-02 19:38:25 +00:00
2026-11-11 17:21:11 +08:00
2026-11-11 17:21:11 +08:00
2026-11-26 01:24:43 +08:00
2026-11-26 01:24:43 +08:00
2026-11-25 15:59:57 +00:00
2026-11-25 11:25:18 -05:00
2026-11-25 15:59:57 +00:00
2026-11-25 16:56:05 +00:00
2026-11-25 16:56:05 +00:00
2026-11-25 16:56:05 +00:00
2026-11-25 16:56:05 +00:00
2026-11-14 04:08:37 -05:00
2026-10-15 20:11:26 +08:00
2026-10-15 20:11:26 +08:00
2026-11-14 04:08:37 -05:00
2026-10-14 01:09:19 +08:00
2026-10-14 01:09:19 +08:00
2026-11-10 16:02:00 -05:00
2026-10-13 20:56:20 +08:00
2026-12-01 17:34:24 +00:00
2026-11-20 17:58:27 -05:00
2026-11-20 17:58:27 -05:00
2026-12-02 22:27:27 +00:00
2026-12-02 22:27:27 +00:00
2026-10-18 12:46:25 +00:00
2026-10-18 12:46:25 +00:00
2026-11-16 05:16:56 +08:00
2026-11-16 06:28:01 +08:00
2026-10-20 00:37:45 +08:00
2026-10-16 12:46:53 +08:00
2026-10-26 18:14:50 +08:00
2026-11-16 04:27:07 +08:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-11-24 14:41:19 +00:00
2026-11-22 00:31:34 +00:00
2026-11-25 11:25:18 -05:00
2026-11-15 21:51:18 +08:00
2026-11-15 21:51:18 +08:00
2026-11-25 16:56:05 +00:00
2026-11-15 23:49:11 +08:00
2026-12-02 14:28:44 +00:00
2026-11-23 00:58:01 -05:00
2026-12-02 21:38:37 +00:00
2026-12-03 21:19:29 +08:00
2026-12-02 00:07:24 +00:00
2026-10-13 18:23:17 +08:00
2026-10-13 18:23:17 +08:00
2026-10-24 16:58:18 +08:00
2026-10-24 16:58:18 +08:00
2026-11-11 17:39:19 +08:00
2026-11-16 04:19:46 +08:00
2026-11-14 04:08:37 -05:00
2026-10-24 20:52:03 +08:00
2026-11-16 00:01:18 +08:00
2026-11-16 00:01:18 +08:00
2026-11-18 15:33:46 -05:00
2026-11-26 18:10:02 -05:00
2026-11-26 18:10:02 -05:00
2026-10-10 00:49:14 +08:00
2026-11-24 20:54:13 +08:00
2026-11-06 15:39:03 +08:00
2026-11-06 15:39:03 +08:00
2026-11-25 11:25:18 -05:00
2026-10-15 06:20:20 +08:00
2026-12-02 00:07:24 +00:00
2026-11-25 11:25:18 -05:00
2026-11-25 11:25:18 -05:00
2026-10-15 03:50:50 +08:00
2026-11-25 16:56:05 +00:00
2026-11-11 17:21:11 +08:00
2026-11-25 11:25:18 -05:00
2026-12-02 00:07:24 +00:00
2026-11-26 01:24:43 +08:00
2026-11-26 01:23:52 +08:00
2026-11-26 01:23:52 +08:00
2026-11-25 11:25:18 -05:00
2026-11-16 08:04:12 +08:00
2026-11-26 01:23:52 +08:00
2026-11-25 11:25:18 -05:00
2026-10-24 11:19:45 +08:00
2026-10-24 11:19:45 +08:00
2026-11-25 11:25:18 -05:00
2026-11-14 04:08:37 -05:00
2026-11-14 04:08:37 -05:00
2026-10-24 08:18:53 +08:00
2026-11-10 17:03:59 -05:00
2026-11-11 17:28:10 +08:00
2026-11-25 11:25:18 -05:00
2026-11-01 13:30:21 +08:00
2026-10-24 08:18:53 +08:00
2026-11-25 11:25:18 -05:00
2026-10-27 06:43:53 +08:00
2026-11-25 11:25:18 -05:00
2026-11-01 13:30:21 +08:00
2026-11-14 04:08:37 -05:00
2026-11-25 11:25:18 -05:00
2026-10-09 10:14:25 +08:00
2026-10-09 06:13:41 +08:00
2026-11-25 11:25:18 -05:00
2026-11-10 17:03:59 -05:00
2026-12-02 21:37:58 +00:00
2026-11-22 11:14:02 +00:00
2026-10-11 10:19:16 +08:00
2026-12-02 16:41:42 +00:00
2026-12-02 16:41:42 +00:00
2026-11-25 11:25:18 -05:00
2026-11-12 05:08:27 -05:00
2026-11-24 21:26:48 +08:00
2026-11-12 05:08:27 -05:00
2026-11-16 11:59:32 +08:00
2026-11-14 04:08:37 -05:00
2026-11-14 04:08:37 -05:00
2026-11-02 02:13:32 +08:00
2026-11-02 02:13:32 +08:00
2026-10-25 09:49:26 +08:00
2026-11-27 22:26:04 +00:00
2026-10-18 11:34:44 +00:00
2026-10-18 11:34:44 +00:00
2026-11-16 08:04:12 +08:00
2026-11-24 09:23:14 +00:00
2026-11-19 23:29:09 -05:00
2026-10-24 19:40:50 +08:00
2026-10-24 19:40:50 +08:00
2026-11-16 03:56:10 +08:00
2026-11-16 03:56:10 +08:00
2026-11-26 01:24:30 +08:00
2026-11-25 10:01:22 +00:00
2026-11-16 03:56:10 +08:00
2026-10-24 17:54:18 +08:00
2026-10-24 20:52:03 +08:00
2026-11-24 09:23:14 +00:00
2026-10-25 08:29:20 +08:00
2026-10-25 08:29:20 +08:00
2026-11-08 08:57:05 +08:00
2026-11-08 08:57:05 +08:00
2026-11-18 22:07:57 -05:00
2026-11-16 08:45:01 +08:00
2026-11-26 01:24:30 +08:00
2026-10-24 19:16:42 +08:00
2026-10-24 22:28:39 +08:00
2026-10-24 19:16:42 +08:00
2026-10-24 20:52:03 +08:00
2026-11-17 08:28:59 -05:00
2026-11-17 18:48:24 -05:00
2026-10-17 00:09:59 +08:00
2026-10-17 00:09:59 +08:00
2026-10-28 11:34:28 +00:00
2026-10-24 19:16:42 +08:00
2026-12-02 14:11:01 +00:00
2026-11-25 11:25:18 -05:00
2026-10-15 22:29:15 +08:00
2026-10-26 14:46:23 +08:00
2026-11-25 16:51:16 +00:00
2026-10-26 16:46:53 +08:00
2026-10-26 16:46:53 +08:00
2026-10-14 09:47:57 +08:00
2026-10-14 09:47:57 +08:00
2026-10-16 11:48:59 +08:00
2026-10-24 20:52:03 +08:00
2026-11-25 16:51:16 +00:00
2026-10-15 06:12:23 +08:00