Project: duckdb

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 341259
Lines covered 23018
Code coverage 6.75%
Code coverage report Report link
Static reachability 20.70%
Fuzz Introspector report Report link (from 2024-11-19)

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
duckdb::SingleFileStorageManager::LoadDatabase(duckdb::StorageOptions) /src/duckdb/src/storage/storage_manager.cpp 138487 9.836%
duckdb::WriteAheadLog::Replay(duckdb::FileSystem&,duckdb::AttachedDatabase&,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&) /src/duckdb/src/storage/wal_replay.cpp 137802 0.0%
duckdb::WriteAheadLog::ReplayInternal(duckdb::AttachedDatabase&,duckdb::unique_ptr<duckdb::FileHandle,std::__1::default_delete<duckdb::FileHandle>,true>) /src/duckdb/src/storage/wal_replay.cpp 137774 0.0%
duckdb_open /src/duckdb/src/main/capi/duckdb-c.cpp 133521 0.0%
duckdb_open_ext /src/duckdb/src/main/capi/duckdb-c.cpp 133519 0.0%
duckdb::TemplatedUniqueIf<duckdb::DuckDB,true>::templated_unique_single_tduckdb::make_uniq<duckdb::DuckDB,charconst*&,duckdb::DBConfig*&>(charconst*&,duckdb::DBConfig*&) /src/duckdb/src/include/duckdb/common/helper.hpp 133479 0.0%
duckdb::DuckDB::DuckDB(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&,duckdb::DBConfig*) /src/duckdb/src/main/database.cpp 133474 0.0%
duckdb::Relation::Query(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&) /src/duckdb/src/main/relation.cpp 129761 0.0%
duckdb::DatabaseInstance::LoadExtensionSettings() /src/duckdb/src/main/database.cpp 129753 13.15%
duckdb_arrow_array_scan /src/duckdb/src/main/capi/arrow-c.cpp 129574 0.0%