Proposed OSFF-funded malformed-input regression work for flashrom FMAP/layout parsing
Hello flashrom maintainers, My name is Keith Gariepy. I maintain WedgeBench, an OSFF-funded open-source project that turns deterministic malformed-input parser behavior into reproducible, machine-checkable evidence. We are preparing a Phase 2 proposal for the Open-Source Firmware Foundation’s 2026/2 funding call. Phase 1 established the evidence pattern against go-tcg-storage; Phase 2 would test whether the same bounded workflow transfers to a materially different open-source firmware parser boundary. Before submitting the proposal, I would like to confirm that the proposed direction would be useful to flashrom and compatible with the project’s testing and contribution practices. We completed a bounded, read-only pre-submission feasibility assessment against the canonical flashrom repository at: b946ca13a21a7004dca00fb6dbc8db710185d782 v1.8.0-rc1 The assessment found: clean host-side configuration and compilation using the dummy programmer; the complete Linux/AMD64 upstream test suite passing; a valid text layout being accepted and a malformed layout being rejected deterministically; a valid FMAP fixture being accepted and a truncated FMAP fixture being rejected deterministically; and no flashrom source changes, WedgeBench adapter implementation, or upstream patch preparation. The proposed primary parser boundary is: fmap_read_from_buffer(struct fmap **, const uint8_t *, size_t) The secondary candidate is: layout_from_file() If funded, the intended scope would be: a small deterministic corpus of valid and malformed FMAP and/or layout inputs; a thin host-side integration rather than changes to flashrom architecture; reproducible parser-behavior evidence and deterministic regression fixtures; tests expressed through flashrom’s existing test conventions; an upstream patch series submitted through flashrom’s established Gerrit review process where appropriate; and public results even if the portability comparison exposes target-specific limitations. This would not be an exhaustive fuzzing campaign or a claim of complete security coverage. The objective is to make behavior on a fixed, documented input corpus rerunnable and independently reviewable. Upstream merge timing would not be treated as a grant-acceptance dependency, but we would like the resulting fixtures and tests to be useful and reviewable by flashrom rather than creating a parallel testing structure the project does not want. Could you please advise on the following? Would deterministic malformed-input regression fixtures for FMAP and/or layout parsing be useful to the project? Is FMAP the best first parser boundary, or would maintainers prefer layout parsing or another boundary? Are there active changes, design constraints, or overlapping efforts that the proposal should avoid? Would you recommend targeting current main, a stable release, or another source baseline when the funded work begins? Who would be the appropriate reviewer or contact if the grant is approved? No Phase 2 implementation has begun, no flashrom source has been modified, and no upstream patch has been prepared. The purpose of this message is to align the proposed grant scope with the project before committing to the work. WedgeBench repository: https://github.com/repozilla2/wedgebench-osff-m1 Current WedgeBench reviewer release: osff-m3-event-log-v1.2 Thank you for any guidance. Best regards, Keith Gariepy Kaimera Group, Inc.
participants (1)
-
Keith Gariepy