Project: cppcheck

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 1
Lines of code 111089
Lines covered 27588
Code coverage 24.83%
Code coverage report Report link
Static reachability 24.63%
Fuzz Introspector report Report link (from 2025-01-24)

Historical 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
CppCheck::check(FileSettingsconst&) /src/cppcheck/oss-fuzz/build/cppcheck.cpp 33162 0.0%
CppCheck::check(FileWithDetailsconst&) /src/cppcheck/oss-fuzz/build/cppcheck.cpp 32872 0.0%
CppCheck::checkClang(FileWithDetailsconst&) /src/cppcheck/oss-fuzz/build/cppcheck.cpp 18475 0.0%
valueFlowForLoop(TokenList&,SymbolDatabaseconst&,ErrorLogger&,Settingsconst&) /src/cppcheck/oss-fuzz/build/valueflow.cpp 11315 7.575%
TemplateSimplifier::simplifyTemplates(long) /src/cppcheck/oss-fuzz/build/templatesimplifier.cpp 10919 12.14%
valueFlowForLoopSimplify(Token*,Tokenconst*,bool,longlong,TokenListconst&,ErrorLogger&,Settingsconst&) /src/cppcheck/oss-fuzz/build/valueflow.cpp 9888 0.0%
valueFlowLifetime(TokenList&,ErrorLogger&,Settingsconst&) /src/cppcheck/oss-fuzz/build/valueflow.cpp 9757 18.03%
valueFlowSmartPointer(TokenList&,ErrorLogger&,Settingsconst&) /src/cppcheck/oss-fuzz/build/valueflow.cpp 9661 11.11%
valueFlowSubFunction(TokenListconst&,SymbolDatabaseconst&,ErrorLogger&,Settingsconst&) /src/cppcheck/oss-fuzz/build/valueflow.cpp 9600 19.29%
valueFlowForwardAssign(Token*,Variableconst*,std::__1::list<ValueFlow::Value,std::__1::allocator<ValueFlow::Value>>const&,bool,bool,TokenListconst&,ErrorLogger&,Settingsconst&) /src/cppcheck/oss-fuzz/build/valueflow.cpp 9576 0.0%