KhronosGroup / KhronosGroup/SPIRV-Tools
spirv-fuzz: handle case where maximum id bound is reached
Open
component:fuzzer
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
spirv-fuzz will add ids to a module, and could hit the maximum id bound.
Some care will ultimately be required to (a) pack ids, both in transformations and in the module, to avoid reaching the bound, and (b) bail out gracefully in the case where the id bound is truly reached.
Contributor guide
Research direction
Start by tracing spirv-fuzz transformations that add IDs and how the module tracks its maximum ID bound. Define the handling for both ID packing and graceful failure when the bound is reached; the issue provides no specific files or tests, so the relevant code and coverage must first be located.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100