Formats: coverage-guided fuzz targets for the BCPack and XMA decoders #3311
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#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?
@gabrielvbraga on GitHub · 2026-11-26 17:00 UTC · original
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.