Project: spirv-tools

Language c++
OSS-Fuzz project link
Project repository link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage succeeding: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 7
Lines of code 84590
Lines covered 39460
Code coverage 46.65%
Code coverage report Report link
Static reachability 40.91%
Fuzz Introspector report Report link (from 2025-05-21)
Fuzzer Code coverage (lines) Latest Report Comments
spvtools_opt_legalization_fuzzer 40.58% (avg: 40.64%, max: 41.36%) 2025-05-21
spvtools_opt_performance_fuzzer 36.7% (avg: 36.46%, max: 37.41%) 2025-05-21
spvtools_opt_size_fuzzer 42.63% (avg: 42.57%, max: 43.16%) 2025-05-21
spvtools_val_fuzzer 39.86% (avg: 39.88%, max: 41.37%) 2025-05-21

Historical Progression

Per Fuzzer Progression

Functions of interest to fuzz

This section outlines functions that may be of interest to fuzz. They are based on ranking functions that have a lot of complexity but currently exhibit low code coverage. The complexity is calculated based on the function itself as well as the functions called by the given function, i.e. the tree of code that the function triggers.


This is only a minor amount of introspection information available for this project. Please consult the Fuzz Introspector report for more information, e.g. the introspection table of all functions in the target project available here.

Function name Function source file Accumulated cyclomatic complexity Code coverage
spvtools::Optimizer::Run(unsignedintconst*,unsignedlong,std::__1::vector<unsignedint,std::__1::allocator<unsignedint>>*,spvtools::ValidatorOptionsconst&,bool)const /src/spirv-tools/source/opt/optimizer.cpp 11273 0.0%
spvOptimizerRun /src/spirv-tools/source/opt/optimizer.cpp 11250 0.0%
spvValidate /src/spirv-tools/source/val/validate.cpp 10373 0.0%
spvtools::val::ValidateBinaryAndKeepValidationState(spv_context_tconst*,spv_validator_options_tconst*,unsignedintconst*,unsignedlong,spv_diagnostic_t**,std::__1::unique_ptr<spvtools::val::ValidationState_t,std::__1::default_delete<spvtools::val::ValidationState_t>>*) /src/spirv-tools/source/val/validate.cpp 10360 0.0%
spvtools::opt::LoopFusion::Fuse() /src/spirv-tools/source/opt/loop_fusion.cpp 3427 0.0%
spvtools::opt::LoopPeelingPass::ProcessLoop(spvtools::opt::Loop*,spvtools::opt::CodeMetrics*) /src/spirv-tools/source/opt/loop_peeling.cpp 3413 0.0%
spvtools::opt::InterfaceVariableScalarReplacement::ReplaceInterfaceVariableWithScalars(spvtools::opt::Instruction*,spvtools::opt::Instruction*,unsignedint,unsignedint,unsignedint) /src/spirv-tools/source/opt/interface_var_sroa.cpp 3116 0.0%
spvtools::opt::SplitCombinedImageSamplerPass::RemapFunctions() /src/spirv-tools/source/opt/split_combined_image_sampler_pass.cpp 3082 0.0%
spvtools::opt::SplitCombinedImageSamplerPass::RemapVars() /src/spirv-tools/source/opt/split_combined_image_sampler_pass.cpp 3071 0.0%
spvtools::opt::InterfaceVariableScalarReplacement::ReplaceInterfaceVarWith(spvtools::opt::Instruction*,unsignedint,spvtools::opt::InterfaceVariableScalarReplacement::NestedCompositeComponentsconst&) /src/spirv-tools/source/opt/interface_var_sroa.cpp 3054 0.0%