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 154744
Lines covered 76743
Code coverage 49.59%
Code coverage report Report link
Static reachability 33.86%
Fuzz Introspector report Report link (from 2025-03-27)
Fuzzer Code coverage (lines) Latest Report Comments
glslc_fuzzer 24.37% (avg: 24.24%, max: 24.37%) 2025-03-27
shaderc_fdp_fuzzer 36.72% (avg: 36.07%, max: 36.72%) 2025-03-27
shaderc_fuzzer 40.38% (avg: 40.39%, max: 40.83%) 2025-03-27
shaderc_general_fuzzer 41.02% (avg: 41.02%, max: 41.4%) 2025-03-27

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 10308 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 10067 0.0%
spvOptimizerRun /src/shaderc/third_party/spirv-tools/source/opt/optimizer.cpp 10034 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 9400 0.0%
spvtools::SpirvTools::Validate(unsignedintconst*,unsignedlong)const /src/shaderc/third_party/spirv-tools/source/libspirv.cpp 9371 0.0%
spvValidate /src/shaderc/third_party/spirv-tools/source/val/validate.cpp 9371 0.0%
spvValidateBinary /src/shaderc/third_party/spirv-tools/source/val/validate.cpp 9369 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 9358 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 3280 0.0%
spvtools::opt::LoopPeelingPass::ProcessLoop(spvtools::opt::Loop*,spvtools::opt::CodeMetrics*) /src/shaderc/third_party/spirv-tools/source/opt/loop_peeling.cpp 3207 0.0%