KhronosGroup / KhronosGroup/SPIRV-Tools

spirv-fuzz: Add tests for fuzzer_util.cpp

Open
#3,493 3 comments 0 reactions 0 assignees View on GitHub
component:fuzzer
Dominant language
C++
Stars
1.4k
Forks
709
Avg merge
1d 22h
Merged PRs (30d)
28

Description

`fuzzer_util.cpp` has many functions that change SPIR-V module. These include `Add*` functions (e.g. `AddVectorType` and others). It would be good to have some tests for them.

Contributor guide

Open the contributing guide

Research direction

Start with fuzzer_util.cpp and inspect the Add* functions, including AddVectorType, to determine the test cases needed. Done means tests cover the requested module-changing helpers and pass in the project's test run; no test path or command is specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.