Project: osquery

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 2
Lines of code 42745
Lines covered 11853
Code coverage 27.73%
Code coverage report Report link
Static reachability 5.84%
Fuzz Introspector report Report link (from 2025-03-27)
Fuzzer Code coverage (lines) Latest Report Comments
osqueryfuzz-config 17.13% (avg: 17.11%, max: 17.14%) 2025-03-27
osqueryfuzz-sqlquery 24.18% (avg: 17.68%, max: 24.18%) 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
osquery::Initializer::start()const /src/osquery/osquery/core/init.cpp 39307 0.0%
osquery::Config::load() /src/osquery/osquery/config/config.cpp 35372 0.0%
osquery::ConfigRefreshRunner::start() /src/osquery/osquery/config/config.cpp 35308 0.0%
osquery::Config::refresh() /src/osquery/osquery/config/config.cpp 35290 0.0%
osquery::attachEvents() /src/osquery/osquery/events/events.cpp 33219 0.0%
osquery::EventFactory::configUpdate() /src/osquery/osquery/events/eventfactory.cpp 32794 0.0%
osquery::SQLiteSQLPlugin::getQueryColumns(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&,std::__1::vector<std::__1::tuple<std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,osquery::ColumnType,osquery::ColumnOptions>,std::__1::allocator<std::__1::tuple<std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,osquery::ColumnType,osquery::ColumnOptions>>>&)const /src/osquery/osquery/sql/sqlite_util.cpp 32717 0.0%
osquery::denylistExpired(unsignedlong,osquery::ScheduledQueryconst&) /src/osquery/osquery/config/config.cpp 32379 0.0%
LLVMFuzzerInitialize /src/osquery/osquery/main/harnesses/fuzz_sqlquery.cpp 32077 0.0%
osquery::SQLiteDBInstance::getAttributes()const /src/osquery/osquery/sql/sqlite_util.cpp 31731 0.0%