refactor(firmware): group layered source and verification (#878)

This commit is contained in:
ysopwnable
2026-10-07 14:44:52 +08:00
committed by GitHub
parent c371d6e1e9
commit 507e8b3c7b
24 changed files with 66 additions and 43 deletions
+6
View File
@@ -429,6 +429,12 @@ unknown chunks, depth limits and extracted child digests. The optional
Neither optional toolchain is a base-lane prerequisite. See
[firmware analysis](firmware-analysis.md) for limits and unverified formats.
The real entrypoint is `scripts/verify/firmware/analysis.mjs`; the fixture runner
and unchanged Python producer belong together in `scripts/fixtures/firmware/`.
Producer fixtures and boundaries remain in `tests/fixtures/firmware/` and
`tests/boundary/firmware/`. Source-fixture generation proves the runner and
independent oracle; actual Binwalk/Unblob CLI/MCP proof requires selected tools.
### JavaScript source recovery
Build once with `npm run build:cached`, then run `npm run verify:javascript:recovery`.