Open Bug 1760650 Opened 3 years ago Updated 3 months ago

Update Naga to include Arbitrary implementation for Module, for fuzzing

Categories

(Core :: Graphics: WebGPU, task, P4)

task

Tracking

()

People

(Reporter: jimb, Assigned: jimb)

References

(Blocks 1 open bug)

Details

In order to exercise Firefox's WebGPU shader program handling, we would like to fuzz the Naga IR directly. The upstream Naga sources include support for doing so, but the version of Naga currently in Mozilla Central has not been updated to include that yet. Update Naga (and wgpu) in M-C would unblock fuzzing.

With Naga #1668, naga::Module implements the arbitrary crate's Arbitrary trait, a standard interface that fuzzers can use to generate arbitrary Module values. This was merge into Naga master in 58b4fd0f; importing any successor commit would address this bug.

No longer blocks: webgpu-triage
Priority: P2 → P4
You need to log in before you can comment on or make changes to this bug.