Files
wgpu/fuzz/Cargo.toml
Hans Christian Schmitz 2069ea698f Implement fuzzing for the GLSL parser (#1301)
* Implement fuzzing for the GLSL parser

* Remove arbitrary dependency from naga

Derive `Arbitrary` for proxy objects in `fuzz/fuzz_targets/glsl_parser.rs`
instead.
2021-08-31 13:00:50 -04:00

40 lines
679 B
TOML

[package]
name = "naga-fuzz"
version = "0.0.0"
authors = ["Automatically generated"]
publish = false
edition = "2018"
[package.metadata]
cargo-fuzz = true
[dependencies]
arbitrary = { version = "1.0.2", features = ["derive"] }
libfuzzer-sys = "0.4"
[dependencies.naga]
path = ".."
features = ["spv-in", "wgsl-in", "glsl-in"]
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
[[bin]]
name = "spv_parser"
path = "fuzz_targets/spv_parser.rs"
test = false
doc = false
[[bin]]
name = "wgsl_parser"
path = "fuzz_targets/wgsl_parser.rs"
test = false
doc = false
[[bin]]
name = "glsl_parser"
path = "fuzz_targets/glsl_parser.rs"
test = false
doc = false