Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzz WGSL parser using tests data #4461

Open
kvark opened this issue Jan 27, 2022 · 0 comments
Open

Fuzz WGSL parser using tests data #4461

kvark opened this issue Jan 27, 2022 · 0 comments
Labels
area: infrastructure Testing, building, coordinating issues help required We need community help to make this happen. lang: WGSL WebGPU Shading Language naga Shader Translator type: enhancement New feature or request

Comments

@kvark
Copy link
Member

kvark commented Jan 27, 2022

Current fuzzing of WGSL is random, and we can do better.
We need text-based fuzzy inputs derived from our tests/in/*.wgsl sources.
I think this can be done quite easily via AFL, but my brief attempt to build it resulted in rust-fuzz/afl.rs#202

@kvark kvark added kind: feature help required We need community help to make this happen. lang: WGSL WebGPU Shading Language labels Jan 27, 2022
@cwfitzgerald cwfitzgerald transferred this issue from gfx-rs/naga Oct 25, 2023
@cwfitzgerald cwfitzgerald added naga Shader Translator area: infrastructure Testing, building, coordinating issues and removed area: infra labels Oct 25, 2023
@teoxoy teoxoy added type: enhancement New feature or request and removed kind: feature labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: infrastructure Testing, building, coordinating issues help required We need community help to make this happen. lang: WGSL WebGPU Shading Language naga Shader Translator type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants