Formats: coverage-guided fuzz targets for the BCPack and XMA decoders #3311
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from Marvisak/VIctory. Originally posted by gabrielvbraga on 2026-11-26T17:00:34Z.
victory-formats is pure bytes-in/bytes-out, so it can be fuzzed without game data. The existing
noise_*tests feed a fixed xorshift stream and ignore the result; nothing is coverage-guided, and #3111 shows malformed input can still reach a panic (BC7 shift overflow).Plan:
fuzz/crate (own[workspace], not part of the main build or CI) with cargo-fuzz targets forbcpack::Tables::parse(including mutated shipped tables),bcpack::decode, and the XMA packet/frame walk plusDecoder::decode.#[cfg(test)]block.Taking this unless someone already has it.