Project: shaderc

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 4
Lines of code 156789
Lines covered 76429
Code coverage 48.75%
Code coverage report Report link
Static reachability 33.90%
Fuzz Introspector report Report link (from 2025-05-30)
Fuzzer Code coverage (lines) Latest Report Comments
glslc_fuzzer 23.84% (avg: 23.86%, max: 23.89%) 2025-05-30
shaderc_fdp_fuzzer 35.39% (avg: 35.3%, max: 35.39%) 2025-05-30
shaderc_fuzzer 39.95% (avg: 40.0%, max: 40.04%) 2025-05-30
shaderc_general_fuzzer 40.69% (avg: 40.68%, max: 40.69%) 2025-05-30

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
glslang::SpirvToolsTransform(glslang::TIntermediateconst&,std::__1::vector<unsignedint,std::__1::allocator<unsignedint>>&,spv::SpvBuildLogger*,glslang::SpvOptionsconst*) /src/shaderc/third_party/glslang/SPIRV/SpvTools.cpp 10458 0.0%
spvtools::Optimizer::Run(unsignedintconst*,unsignedlong,std::__1::vector<unsignedint,std::__1::allocator<unsignedint>>*,spvtools::ValidatorOptionsconst&,bool)const /src/shaderc/third_party/spirv-tools/source/opt/optimizer.cpp 10217 0.0%
spvOptimizerRun /src/shaderc/third_party/spirv-tools/source/opt/optimizer.cpp 10184 0.0%
glslang::SpirvToolsValidate(glslang::TIntermediateconst&,std::__1::vector<unsignedint,std::__1::allocator<unsignedint>>&,spv::SpvBuildLogger*,bool) /src/shaderc/third_party/glslang/SPIRV/SpvTools.cpp 9549 0.0%
spvtools::SpirvTools::Validate(unsignedintconst*,unsignedlong)const /src/shaderc/third_party/spirv-tools/source/libspirv.cpp 9520 0.0%
spvValidate /src/shaderc/third_party/spirv-tools/source/val/validate.cpp 9520 0.0%
spvValidateBinary /src/shaderc/third_party/spirv-tools/source/val/validate.cpp 9518 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/shaderc/third_party/spirv-tools/source/val/validate.cpp 9507 0.0%
spvtools::opt::LoopPeelingPass::ProcessFunction(spvtools::opt::Function*)::$_0::operator()(spvtools::opt::Loop*)const /src/shaderc/third_party/spirv-tools/source/opt/loop_peeling.cpp 3286 0.0%
spvtools::opt::LoopPeelingPass::ProcessLoop(spvtools::opt::Loop*,spvtools::opt::CodeMetrics*) /src/shaderc/third_party/spirv-tools/source/opt/loop_peeling.cpp 3213 0.0%