Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzzer details

Fuzzer: pattern_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 7 8.33%
gold [1:9] 10 11.9%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 67 79.7%
All colors 84 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
13 13 4 :

['spdlog::throw_spdlog_ex(std::__1::basic_string , std::__1::allocator >)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(char const*, std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(std::__1::basic_string , std::__1::allocator >&&, char const*)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

13 13 spdlog::details::registry::throw_if_exists_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/details/registry-inl.h:300
4 10 7 :

['std::__1::basic_string , std::__1::allocator >::size() const', 'std::__1::basic_string , std::__1::allocator >::find_first_of(char const*, unsigned long) const', 'spdlog::details::os::mkdir_(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::substr(unsigned long, unsigned long) const', 'std::__1::basic_string , std::__1::allocator >::empty() const', 'spdlog::details::os::path_exists(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

4 10 spdlog::details::os::create_dir(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/details/os-inl.h:541
2 2 3 :

['spdlog::logger::set_error_handler(std::__1::function , std::__1::allocator > const&)>)', 'std::__1::function , std::__1::allocator > const&)>::function(std::__1::function , std::__1::allocator > const&)> const&)', 'std::__1::function , std::__1::allocator > const&)>::~function()']

11 46 spdlog::details::registry::initialize_logger(std::__1::shared_ptr ) call site: 00000 /src/spdlog/include/spdlog/details/registry-inl.h:65
2 2 6 :

['std::__1::__hash_map_iterator > >, void*>*> >::operator->() const', 'std::__1::remove_reference >&>::type&& std::__1::move >&>(std::__1::unique_ptr >&)', 'std::__1::unique_ptr >::~unique_ptr()', 'spdlog::custom_flag_formatter::set_padding_info(spdlog::details::padding_info const&)', 'std::__1::unique_ptr >::unique_ptr , void, void>(std::__1::unique_ptr >&&)', 'std::__1::unique_ptr >::operator->() const']

2 2 voidspdlog::pattern_formatter::handle_flag_ (char,spdlog::details::padding_info) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1109
2 2 6 :

['std::__1::__hash_map_iterator > >, void*>*> >::operator->() const', 'std::__1::remove_reference >&>::type&& std::__1::move >&>(std::__1::unique_ptr >&)', 'std::__1::unique_ptr >::~unique_ptr()', 'spdlog::custom_flag_formatter::set_padding_info(spdlog::details::padding_info const&)', 'std::__1::unique_ptr >::unique_ptr , void, void>(std::__1::unique_ptr >&&)', 'std::__1::unique_ptr >::operator->() const']

2 2 voidspdlog::pattern_formatter::handle_flag_ (char,spdlog::details::padding_info) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1109
0 6 3 :

['std::__1::unique_ptr , std::__1::default_delete > > spdlog::details::make_unique , spdlog::details::padding_info&>(spdlog::details::padding_info&)', 'std::__1::unique_ptr , std::__1::default_delete > >::~unique_ptr()', 'std::__1::unique_ptr >::unique_ptr , std::__1::default_delete >, void, void>(std::__1::unique_ptr , std::__1::default_delete > >&&)']

0 8 voidspdlog::pattern_formatter::handle_flag_ (char,spdlog::details::padding_info) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1314
0 0 None 260 287 spdlog::details::file_helper::open(std::__1::basic_string ,std::__1::allocator >const&,bool) call site: 00000 /src/spdlog/include/spdlog/details/file_helper-inl.h:48
0 0 None 260 287 spdlog::details::file_helper::open(std::__1::basic_string ,std::__1::allocator >const&,bool) call site: 00000 /src/spdlog/include/spdlog/details/file_helper-inl.h:61
0 0 1 :

['std::__1::function , std::__1::allocator > const&, _IO_FILE*)>::operator()(std::__1::basic_string , std::__1::allocator > const&, _IO_FILE*) const']

2 2 spdlog::details::file_helper::close() call site: 00000 /src/spdlog/include/spdlog/details/file_helper-inl.h:105
0 0 None 0 29 spdlog::details::registry::initialize_logger(std::__1::shared_ptr ) call site: 00000 /src/spdlog/include/spdlog/details/registry-inl.h:77
0 0 6 :

['bool std::__1::operator!= *>(std::__1::__wrap_iter *> const&, std::__1::__wrap_iter *> const&)', 'bool std::__1::operator== *>(std::__1::__wrap_iter *> const&, std::__1::__wrap_iter *> const&)', 'std::__1::vector , std::__1::allocator > >::end()', 'std::__1::__wrap_iter *>::operator++()', 'std::__1::unique_ptr >::operator->() const', '_ZNSt3__14nextINS_11__wrap_iterIPNS_10shared_ptrIN6spdlog5sinks4sinkEEEEEEENS_9enable_ifIXsr25__is_cpp17_input_iteratorIT_EE5valueESA_E4typeESA_NS_15iterator_traitsISA_E15difference_typeE']

0 0 spdlog::logger::set_formatter(std::__1::unique_ptr >) call site: 00000 /src/spdlog/include/spdlog/logger-inl.h:88

Runtime coverage analysis

Covered functions
236
Functions that are reachable but not covered
9
Reachable functions
390
Percentage of reachable functions covered
97.69%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/pattern_fuzzer.cc 1
/src/spdlog/include/spdlog/common.h 45
/src/spdlog/include/spdlog/sinks/basic_file_sink.h 1
/src/spdlog/include/spdlog/details/synchronous_factory.h 1
/src/spdlog/include/spdlog/details/registry-inl.h 2
/src/spdlog/include/spdlog/pattern_formatter-inl.h 8
/src/spdlog/include/spdlog/formatter.h 2
/src/spdlog/include/spdlog/pattern_formatter.h 5
/src/spdlog/include/spdlog/fmt/bundled/format.h 1
/src/spdlog/include/spdlog/fmt/bundled/core.h 2
/src/spdlog/include/spdlog/spdlog-inl.h 3

Fuzzer: backtrace_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 15 15.1%
gold [1:9] 11 11.1%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 73 73.7%
All colors 99 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
996 996 6 :

['std::__1::back_insert_iterator > > fmt::v9::vformat_to > >, 0>(std::__1::back_insert_iterator > >, fmt::v9::basic_string_view , fmt::v9::basic_format_args >)', 'void fmt::v9::detail::check_format_string >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING, 0>(spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING)', 'spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const', 'spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING::operator fmt::v9::basic_string_view () const', 'std::__1::back_insert_iterator > > std::__1::back_inserter > >(fmt::v9::basic_memory_buffer >&)', 'fmt::v9::format_arg_store , std::__1::remove_cv ::type>::type> fmt::v9::make_format_args , int&>(int&)']

996 996 spdlog::details::fmt_helper::pad2(int,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/details/fmt_helper.h:98
21 21 1 :

['void spdlog::details::fmt_helper::append_int (unsigned int, fmt::v9::basic_memory_buffer >&)']

21 21 voidspdlog::details::fmt_helper::pad3 (unsignedint,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/details/fmt_helper.h:124
13 13 4 :

['spdlog::throw_spdlog_ex(std::__1::basic_string , std::__1::allocator >)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(char const*, std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(std::__1::basic_string , std::__1::allocator >&&, char const*)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

13 13 spdlog::details::registry::throw_if_exists_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/details/registry-inl.h:300
4 10 7 :

['std::__1::basic_string , std::__1::allocator >::size() const', 'std::__1::basic_string , std::__1::allocator >::find_first_of(char const*, unsigned long) const', 'spdlog::details::os::mkdir_(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::substr(unsigned long, unsigned long) const', 'std::__1::basic_string , std::__1::allocator >::empty() const', 'spdlog::details::os::path_exists(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

4 10 spdlog::details::os::create_dir(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/details/os-inl.h:541
4 4 1 :

['spdlog::details::os::gmtime(long const&)']

4 4 spdlog::pattern_formatter::get_time_(spdlog::details::log_msgconst&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1097
2 2 3 :

['spdlog::logger::set_error_handler(std::__1::function , std::__1::allocator > const&)>)', 'std::__1::function , std::__1::allocator > const&)>::function(std::__1::function , std::__1::allocator > const&)> const&)', 'std::__1::function , std::__1::allocator > const&)>::~function()']

2 46 spdlog::details::registry::initialize_logger(std::__1::shared_ptr ) call site: 00000 /src/spdlog/include/spdlog/details/registry-inl.h:65
2 2 6 :

['std::__1::__hash_map_iterator > >, void*>*> >::operator->() const', 'std::__1::remove_reference >&>::type&& std::__1::move >&>(std::__1::unique_ptr >&)', 'std::__1::unique_ptr >::~unique_ptr()', 'spdlog::custom_flag_formatter::set_padding_info(spdlog::details::padding_info const&)', 'std::__1::unique_ptr >::unique_ptr , void, void>(std::__1::unique_ptr >&&)', 'std::__1::unique_ptr >::operator->() const']

2 2 voidspdlog::pattern_formatter::handle_flag_ (char,spdlog::details::padding_info) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1109
0 0 None 320 644 spdlog::pattern_formatter::compile_pattern_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1397
0 0 None 320 644 spdlog::pattern_formatter::compile_pattern_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1399
0 0 None 320 644 spdlog::pattern_formatter::compile_pattern_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1408
0 0 None 260 287 spdlog::details::file_helper::open(std::__1::basic_string ,std::__1::allocator >const&,bool) call site: 00000 /src/spdlog/include/spdlog/details/file_helper-inl.h:48
0 0 None 260 287 spdlog::details::file_helper::open(std::__1::basic_string ,std::__1::allocator >const&,bool) call site: 00000 /src/spdlog/include/spdlog/details/file_helper-inl.h:61

Runtime coverage analysis

Covered functions
159
Functions that are reachable but not covered
15
Reachable functions
147
Percentage of reachable functions covered
89.8%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/backtrace_fuzzer.cc 1
/src/spdlog/include/spdlog/common.h 3
/src/spdlog/include/spdlog/sinks/basic_file_sink.h 1
/src/spdlog/include/spdlog/details/synchronous_factory.h 1
/src/spdlog/include/spdlog/details/registry-inl.h 2
/src/spdlog/include/spdlog/pattern_formatter-inl.h 2
/src/spdlog/include/spdlog/formatter.h 2
/src/spdlog/include/spdlog/pattern_formatter.h 2
/src/spdlog/include/spdlog/fmt/bundled/format.h 8
/src/spdlog/include/spdlog/fmt/bundled/core.h 12
/src/spdlog/include/spdlog/spdlog-inl.h 4
/src/spdlog/include/spdlog/logger-inl.h 4
/src/spdlog/include/spdlog/details/backtracer-inl.h 3
/src/spdlog/include/spdlog/details/log_msg-inl.h 3
/src/spdlog/include/spdlog/details/os-inl.h 3
/src/spdlog/include/spdlog/details/circular_q.h 4
/src/spdlog/include/spdlog/spdlog.h 1
/src/spdlog/include/spdlog/logger.h 4
/src/spdlog/include/spdlog/details/log_msg_buffer-inl.h 3
/src/spdlog/include/spdlog/fmt/bundled/format-inl.h 1
/src/spdlog/include/spdlog/details/log_msg_buffer.h 1

Fuzzer: format_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 69 31.6%
gold [1:9] 7 3.21%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 142 65.1%
All colors 218 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
996 996 6 :

['std::__1::back_insert_iterator > > fmt::v9::vformat_to > >, 0>(std::__1::back_insert_iterator > >, fmt::v9::basic_string_view , fmt::v9::basic_format_args >)', 'void fmt::v9::detail::check_format_string >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING, 0>(spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING)', 'spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const', 'spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING::operator fmt::v9::basic_string_view () const', 'std::__1::back_insert_iterator > > std::__1::back_inserter > >(fmt::v9::basic_memory_buffer >&)', 'fmt::v9::format_arg_store , std::__1::remove_cv ::type>::type> fmt::v9::make_format_args , int&>(int&)']

996 996 spdlog::details::fmt_helper::pad2(int,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/details/fmt_helper.h:98
52 52 18 :

['void fmt::v9::detail::custom_formatter ::operator() (unsigned long long) const', 'void fmt::v9::detail::custom_formatter ::operator() (unsigned int) const', 'void fmt::v9::detail::custom_formatter ::operator() (unsigned __int128) const', 'void fmt::v9::detail::custom_formatter ::operator() (double) const', 'void fmt::v9::detail::custom_formatter ::operator() (int) const', 'void fmt::v9::detail::custom_formatter ::operator() (float) const', 'fmt::v9::basic_format_parse_context ::advance_to(char const*)', 'void fmt::v9::detail::custom_formatter ::operator() (bool) const', 'void fmt::v9::detail::custom_formatter ::operator() (char) const', 'fmt::v9::basic_format_parse_context ::begin() const', 'void fmt::v9::detail::custom_formatter ::operator() (char const*) const', 'fmt::v9::detail::custom_formatter ::operator()(fmt::v9::basic_format_arg >::handle) const', 'void fmt::v9::detail::custom_formatter ::operator() (void const*) const', 'void fmt::v9::detail::custom_formatter ::operator() >(fmt::v9::basic_string_view ) const', 'void fmt::v9::detail::custom_formatter ::operator()<__int128>(__int128) const', 'void fmt::v9::detail::custom_formatter ::operator() (long long) const', 'void fmt::v9::detail::custom_formatter ::operator() (long double) const', 'void fmt::v9::detail::custom_formatter ::operator() (fmt::v9::monostate) const']

58 62 _ZZN3fmt2v96detail10vformat_toIcEEvRNS1_6bufferIT_EENS0_17basic_string_viewIS4_EENS0_17basic_format_argsINS0_20basic_format_contextINSt3__111conditionalIXsr3std7is_sameINS0_13type_identityIS4_E4typeEcEE5valueENS0_8appenderENSB_20back_insert_iteratorINS3_ISF_EEEEE4typeESF_EEEENS1_10locale_refEEN14format_handler15on_format_specsEiPKcSR_ call site: 00000 /src/spdlog/include/spdlog/fmt/bundled/format.h:4119
13 13 4 :

['spdlog::throw_spdlog_ex(std::__1::basic_string , std::__1::allocator >)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(char const*, std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(std::__1::basic_string , std::__1::allocator >&&, char const*)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

13 13 spdlog::details::registry::throw_if_exists_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/details/registry-inl.h:300
6 60 6 :

['spdlog::details::padding_info::enabled() const', 'spdlog::details::fmt_helper::append_string_view(fmt::v9::basic_string_view , fmt::v9::basic_memory_buffer >&)', 'void spdlog::details::fmt_helper::append_int (int, fmt::v9::basic_memory_buffer >&)', 'std::__1::char_traits ::length(char const*)', 'fmt::v9::detail::buffer ::push_back(char const&)', 'unsigned int spdlog::details::scoped_padder::count_digits (int)']

6 185 spdlog::details::source_location_formatter ::format(spdlog::details::log_msgconst&,tmconst&,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:767
6 31 2 :

['unsigned int spdlog::details::scoped_padder::count_digits (int)', 'void spdlog::details::fmt_helper::append_int (int, fmt::v9::basic_memory_buffer >&)']

6 156 spdlog::details::source_linenum_formatter ::format(spdlog::details::log_msgconst&,tmconst&,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:871
5 29 4 :

['spdlog::details::padding_info::enabled() const', 'spdlog::details::fmt_helper::append_string_view(fmt::v9::basic_string_view , fmt::v9::basic_memory_buffer >&)', 'std::__1::char_traits ::length(char const*)', 'spdlog::details::short_filename_formatter ::basename(char const*)']

5 154 spdlog::details::short_filename_formatter ::format(spdlog::details::log_msgconst&,tmconst&,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:849
5 29 4 :

['spdlog::details::padding_info::enabled() const', 'spdlog::details::fmt_helper::append_string_view(fmt::v9::basic_string_view , fmt::v9::basic_memory_buffer >&)', 'std::__1::char_traits ::length(char const*)', 'spdlog::details::short_filename_formatter ::basename(char const*)']

5 31 spdlog::details::short_filename_formatter ::format(spdlog::details::log_msgconst&,tmconst&,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:849
4 10 7 :

['std::__1::basic_string , std::__1::allocator >::size() const', 'std::__1::basic_string , std::__1::allocator >::find_first_of(char const*, unsigned long) const', 'spdlog::details::os::mkdir_(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::substr(unsigned long, unsigned long) const', 'std::__1::basic_string , std::__1::allocator >::empty() const', 'spdlog::details::os::path_exists(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

4 10 spdlog::details::os::create_dir(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/details/os-inl.h:541
4 4 1 :

['spdlog::details::os::gmtime(long const&)']

4 4 spdlog::pattern_formatter::get_time_(spdlog::details::log_msgconst&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1097
2 56 6 :

['spdlog::details::padding_info::enabled() const', 'spdlog::details::fmt_helper::append_string_view(fmt::v9::basic_string_view , fmt::v9::basic_memory_buffer >&)', 'void spdlog::details::fmt_helper::append_int (int, fmt::v9::basic_memory_buffer >&)', 'unsigned int spdlog::details::null_scoped_padder::count_digits (int)', 'std::__1::char_traits ::length(char const*)', 'fmt::v9::detail::buffer ::push_back(char const&)']

2 58 spdlog::details::source_location_formatter ::format(spdlog::details::log_msgconst&,tmconst&,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:767
2 27 2 :

['unsigned int spdlog::details::null_scoped_padder::count_digits (int)', 'void spdlog::details::fmt_helper::append_int (int, fmt::v9::basic_memory_buffer >&)']

2 29 spdlog::details::source_linenum_formatter ::format(spdlog::details::log_msgconst&,tmconst&,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:871
2 2 3 :

['spdlog::logger::set_error_handler(std::__1::function , std::__1::allocator > const&)>)', 'std::__1::function , std::__1::allocator > const&)>::function(std::__1::function , std::__1::allocator > const&)> const&)', 'std::__1::function , std::__1::allocator > const&)>::~function()']

11 46 spdlog::details::registry::initialize_logger(std::__1::shared_ptr ) call site: 00000 /src/spdlog/include/spdlog/details/registry-inl.h:65

Runtime coverage analysis

Covered functions
694
Functions that are reachable but not covered
292
Reachable functions
1013
Percentage of reachable functions covered
71.17%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/format_fuzzer.cc 2
/src/spdlog/include/spdlog/common.h 49
/src/spdlog/include/spdlog/sinks/basic_file_sink.h 1
/src/spdlog/include/spdlog/details/synchronous_factory.h 1
/src/spdlog/include/spdlog/details/registry-inl.h 2
/src/spdlog/include/spdlog/pattern_formatter-inl.h 8
/src/spdlog/include/spdlog/formatter.h 2
/src/spdlog/include/spdlog/pattern_formatter.h 8
/src/spdlog/include/spdlog/fmt/bundled/format.h 26
/src/spdlog/include/spdlog/fmt/bundled/core.h 35
/src/spdlog/include/spdlog/spdlog-inl.h 3
/src/spdlog/include/spdlog/spdlog.h 1
/src/spdlog/include/spdlog/logger.h 7
/src/spdlog/include/spdlog/details/backtracer-inl.h 2
/src/spdlog/include/spdlog/details/log_msg-inl.h 2
/src/spdlog/include/spdlog/details/os-inl.h 4
/src/spdlog/include/spdlog/logger-inl.h 3
/src/spdlog/include/spdlog/details/log_msg_buffer-inl.h 3
/src/spdlog/include/spdlog/fmt/bundled/format-inl.h 2
/src/spdlog/include/spdlog/details/circular_q.h 1
/src/spdlog/include/spdlog/details/log_msg_buffer.h 1

Fuzzer: log_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 50 28.2%
gold [1:9] 11 6.21%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 116 65.5%
All colors 177 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
996 996 6 :

['std::__1::back_insert_iterator > > fmt::v9::vformat_to > >, 0>(std::__1::back_insert_iterator > >, fmt::v9::basic_string_view , fmt::v9::basic_format_args >)', 'void fmt::v9::detail::check_format_string >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING, 0>(spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING)', 'spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const', 'spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING::operator fmt::v9::basic_string_view () const', 'std::__1::back_insert_iterator > > std::__1::back_inserter > >(fmt::v9::basic_memory_buffer >&)', 'fmt::v9::format_arg_store , std::__1::remove_cv ::type>::type> fmt::v9::make_format_args , int&>(int&)']

996 996 spdlog::details::fmt_helper::pad2(int,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/details/fmt_helper.h:98
52 52 18 :

['void fmt::v9::detail::custom_formatter ::operator() (unsigned long long) const', 'void fmt::v9::detail::custom_formatter ::operator() (unsigned int) const', 'void fmt::v9::detail::custom_formatter ::operator() (unsigned __int128) const', 'void fmt::v9::detail::custom_formatter ::operator() (double) const', 'void fmt::v9::detail::custom_formatter ::operator() (int) const', 'void fmt::v9::detail::custom_formatter ::operator() (float) const', 'fmt::v9::basic_format_parse_context ::advance_to(char const*)', 'void fmt::v9::detail::custom_formatter ::operator() (bool) const', 'void fmt::v9::detail::custom_formatter ::operator() (char) const', 'fmt::v9::basic_format_parse_context ::begin() const', 'void fmt::v9::detail::custom_formatter ::operator() (char const*) const', 'fmt::v9::detail::custom_formatter ::operator()(fmt::v9::basic_format_arg >::handle) const', 'void fmt::v9::detail::custom_formatter ::operator() (void const*) const', 'void fmt::v9::detail::custom_formatter ::operator() >(fmt::v9::basic_string_view ) const', 'void fmt::v9::detail::custom_formatter ::operator()<__int128>(__int128) const', 'void fmt::v9::detail::custom_formatter ::operator() (long long) const', 'void fmt::v9::detail::custom_formatter ::operator() (long double) const', 'void fmt::v9::detail::custom_formatter ::operator() (fmt::v9::monostate) const']

58 62 _ZZN3fmt2v96detail10vformat_toIcEEvRNS1_6bufferIT_EENS0_17basic_string_viewIS4_EENS0_17basic_format_argsINS0_20basic_format_contextINSt3__111conditionalIXsr3std7is_sameINS0_13type_identityIS4_E4typeEcEE5valueENS0_8appenderENSB_20back_insert_iteratorINS3_ISF_EEEEE4typeESF_EEEENS1_10locale_refEEN14format_handler15on_format_specsEiPKcSR_ call site: 00000 /src/spdlog/include/spdlog/fmt/bundled/format.h:4119
21 21 1 :

['void spdlog::details::fmt_helper::append_int (unsigned int, fmt::v9::basic_memory_buffer >&)']

21 21 voidspdlog::details::fmt_helper::pad3 (unsignedint,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/details/fmt_helper.h:124
13 13 4 :

['spdlog::throw_spdlog_ex(std::__1::basic_string , std::__1::allocator >)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(char const*, std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(std::__1::basic_string , std::__1::allocator >&&, char const*)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

13 13 spdlog::details::registry::throw_if_exists_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/details/registry-inl.h:300
4 10 7 :

['std::__1::basic_string , std::__1::allocator >::size() const', 'std::__1::basic_string , std::__1::allocator >::find_first_of(char const*, unsigned long) const', 'spdlog::details::os::mkdir_(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::substr(unsigned long, unsigned long) const', 'std::__1::basic_string , std::__1::allocator >::empty() const', 'spdlog::details::os::path_exists(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

4 10 spdlog::details::os::create_dir(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/details/os-inl.h:541
4 4 1 :

['spdlog::details::os::gmtime(long const&)']

4 4 spdlog::pattern_formatter::get_time_(spdlog::details::log_msgconst&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1097
2 2 3 :

['spdlog::logger::set_error_handler(std::__1::function , std::__1::allocator > const&)>)', 'std::__1::function , std::__1::allocator > const&)>::function(std::__1::function , std::__1::allocator > const&)> const&)', 'std::__1::function , std::__1::allocator > const&)>::~function()']

11 46 spdlog::details::registry::initialize_logger(std::__1::shared_ptr ) call site: 00000 /src/spdlog/include/spdlog/details/registry-inl.h:65
2 2 6 :

['std::__1::__wrap_iter ::operator*() const', 'std::__1::basic_string , std::__1::allocator >::end() const', 'char fmt::v9::detail::max_value ()', 'std::__1::__wrap_iter ::operator++(int)', 'std::__1::basic_string , std::__1::allocator >::back() const', 'bool std::__1::operator== (std::__1::__wrap_iter const&, std::__1::__wrap_iter const&)']

2 4 fmt::v9::detail::digit_grouping ::next(fmt::v9::detail::digit_grouping ::next_state&)const call site: 00000 /src/spdlog/include/spdlog/fmt/bundled/format.h:1943
2 2 6 :

['std::__1::__hash_map_iterator > >, void*>*> >::operator->() const', 'std::__1::remove_reference >&>::type&& std::__1::move >&>(std::__1::unique_ptr >&)', 'std::__1::unique_ptr >::~unique_ptr()', 'spdlog::custom_flag_formatter::set_padding_info(spdlog::details::padding_info const&)', 'std::__1::unique_ptr >::unique_ptr , void, void>(std::__1::unique_ptr >&&)', 'std::__1::unique_ptr >::operator->() const']

2 2 voidspdlog::pattern_formatter::handle_flag_ (char,spdlog::details::padding_info) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1109
0 0 None 320 644 spdlog::pattern_formatter::compile_pattern_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1397
0 0 None 320 644 spdlog::pattern_formatter::compile_pattern_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1399
0 0 None 320 644 spdlog::pattern_formatter::compile_pattern_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1408

Runtime coverage analysis

Covered functions
460
Functions that are reachable but not covered
258
Reachable functions
678
Percentage of reachable functions covered
61.95%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/log_fuzzer.cc 1
/src/spdlog/include/spdlog/common.h 5
/src/spdlog/include/spdlog/sinks/basic_file_sink.h 1
/src/spdlog/include/spdlog/details/synchronous_factory.h 1
/src/spdlog/include/spdlog/details/registry-inl.h 2
/src/spdlog/include/spdlog/pattern_formatter-inl.h 2
/src/spdlog/include/spdlog/formatter.h 2
/src/spdlog/include/spdlog/pattern_formatter.h 2
/src/spdlog/include/spdlog/fmt/bundled/format.h 26
/src/spdlog/include/spdlog/fmt/bundled/core.h 35
/src/spdlog/include/spdlog/spdlog-inl.h 2
/src/spdlog/include/spdlog/spdlog.h 6
/src/spdlog/include/spdlog/logger.h 11
/src/spdlog/include/spdlog/details/backtracer-inl.h 2
/src/spdlog/include/spdlog/details/log_msg-inl.h 2
/src/spdlog/include/spdlog/details/os-inl.h 4
/src/spdlog/include/spdlog/logger-inl.h 3
/src/spdlog/include/spdlog/details/log_msg_buffer-inl.h 3
/src/spdlog/include/spdlog/fmt/bundled/format-inl.h 2
/src/spdlog/include/spdlog/details/circular_q.h 1
/src/spdlog/include/spdlog/details/log_msg_buffer.h 1

Fuzzer: levels_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 43 47.2%
gold [1:9] 11 12.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 37 40.6%
All colors 91 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
996 996 6 :

['std::__1::back_insert_iterator > > fmt::v9::vformat_to > >, 0>(std::__1::back_insert_iterator > >, fmt::v9::basic_string_view , fmt::v9::basic_format_args >)', 'void fmt::v9::detail::check_format_string >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING, 0>(spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING)', 'spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const', 'spdlog::details::fmt_helper::pad2(int, fmt::v9::basic_memory_buffer >&)::{lambda()#1}::operator()() const::FMT_COMPILE_STRING::operator fmt::v9::basic_string_view () const', 'std::__1::back_insert_iterator > > std::__1::back_inserter > >(fmt::v9::basic_memory_buffer >&)', 'fmt::v9::format_arg_store , std::__1::remove_cv ::type>::type> fmt::v9::make_format_args , int&>(int&)']

996 996 spdlog::details::fmt_helper::pad2(int,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/details/fmt_helper.h:98
21 21 1 :

['void spdlog::details::fmt_helper::append_int (unsigned int, fmt::v9::basic_memory_buffer >&)']

21 21 voidspdlog::details::fmt_helper::pad3 (unsignedint,fmt::v9::basic_memory_buffer >&) call site: 00000 /src/spdlog/include/spdlog/details/fmt_helper.h:124
13 13 4 :

['spdlog::throw_spdlog_ex(std::__1::basic_string , std::__1::allocator >)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(char const*, std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(std::__1::basic_string , std::__1::allocator >&&, char const*)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

13 13 spdlog::details::registry::throw_if_exists_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/details/registry-inl.h:300
4 10 7 :

['std::__1::basic_string , std::__1::allocator >::size() const', 'std::__1::basic_string , std::__1::allocator >::find_first_of(char const*, unsigned long) const', 'spdlog::details::os::mkdir_(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::substr(unsigned long, unsigned long) const', 'std::__1::basic_string , std::__1::allocator >::empty() const', 'spdlog::details::os::path_exists(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

4 10 spdlog::details::os::create_dir(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/details/os-inl.h:541
4 4 1 :

['spdlog::details::os::gmtime(long const&)']

4 4 spdlog::pattern_formatter::get_time_(spdlog::details::log_msgconst&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1097
2 2 3 :

['spdlog::logger::set_error_handler(std::__1::function , std::__1::allocator > const&)>)', 'std::__1::function , std::__1::allocator > const&)>::function(std::__1::function , std::__1::allocator > const&)> const&)', 'std::__1::function , std::__1::allocator > const&)>::~function()']

11 46 spdlog::details::registry::initialize_logger(std::__1::shared_ptr ) call site: 00000 /src/spdlog/include/spdlog/details/registry-inl.h:65
2 2 6 :

['std::__1::__hash_map_iterator > >, void*>*> >::operator->() const', 'std::__1::remove_reference >&>::type&& std::__1::move >&>(std::__1::unique_ptr >&)', 'std::__1::unique_ptr >::~unique_ptr()', 'spdlog::custom_flag_formatter::set_padding_info(spdlog::details::padding_info const&)', 'std::__1::unique_ptr >::unique_ptr , void, void>(std::__1::unique_ptr >&&)', 'std::__1::unique_ptr >::operator->() const']

2 2 voidspdlog::pattern_formatter::handle_flag_ (char,spdlog::details::padding_info) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1109
0 0 None 320 644 spdlog::pattern_formatter::compile_pattern_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1397
0 0 None 320 644 spdlog::pattern_formatter::compile_pattern_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1399
0 0 None 320 644 spdlog::pattern_formatter::compile_pattern_(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/spdlog/include/spdlog/pattern_formatter-inl.h:1408
0 0 None 260 287 spdlog::details::file_helper::open(std::__1::basic_string ,std::__1::allocator >const&,bool) call site: 00000 /src/spdlog/include/spdlog/details/file_helper-inl.h:48
0 0 None 260 287 spdlog::details::file_helper::open(std::__1::basic_string ,std::__1::allocator >const&,bool) call site: 00000 /src/spdlog/include/spdlog/details/file_helper-inl.h:61

Runtime coverage analysis

Covered functions
139
Functions that are reachable but not covered
40
Reachable functions
145
Percentage of reachable functions covered
72.41%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/levels_fuzzer.cc 1
/src/spdlog/include/spdlog/common.h 3
/src/spdlog/include/spdlog/sinks/basic_file_sink.h 1
/src/spdlog/include/spdlog/details/synchronous_factory.h 1
/src/spdlog/include/spdlog/details/registry-inl.h 2
/src/spdlog/include/spdlog/pattern_formatter-inl.h 2
/src/spdlog/include/spdlog/formatter.h 2
/src/spdlog/include/spdlog/pattern_formatter.h 2
/src/spdlog/include/spdlog/fmt/bundled/format.h 8
/src/spdlog/include/spdlog/fmt/bundled/core.h 12
/src/spdlog/include/spdlog/spdlog-inl.h 2
/src/spdlog/include/spdlog/cfg/env.h 1
/src/spdlog/include/spdlog/details/os-inl.h 4
/src/spdlog/include/spdlog/cfg/helpers-inl.h 5
/src/spdlog/include/spdlog/common-inl.h 1
/src/spdlog/include/spdlog/cfg/argv.h 1
/src/spdlog/include/spdlog/spdlog.h 1
/src/spdlog/include/spdlog/logger.h 4
/src/spdlog/include/spdlog/details/backtracer-inl.h 2
/src/spdlog/include/spdlog/details/log_msg-inl.h 2
/src/spdlog/include/spdlog/logger-inl.h 1
/src/spdlog/include/spdlog/details/log_msg_buffer-inl.h 3
/src/spdlog/include/spdlog/fmt/bundled/format-inl.h 1
/src/spdlog/include/spdlog/details/circular_q.h 1
/src/spdlog/include/spdlog/details/log_msg_buffer.h 1

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
intfmt::v9::detail::format_float (double,int,fmt::v9::detail::float_specs,fmt::v9::detail::buffer &) /src/spdlog/include/spdlog/fmt/bundled/format.h 4 ['N/A', 'int ', 'size_t ', 'class.fmt::v9::detail::buffer *'] 5 0 609 87 24 294 0 638 561
spdlog::sinks::basic_file_sink ::basic_file_sink(std::__1::basic_string ,std::__1::allocator >const&,bool,spdlog::file_event_handlersconst&) /src/spdlog/include/spdlog/sinks/basic_file_sink-inl.h 4 ['class.spdlog::sinks::basic_file_sink *', 'class.std::__1::basic_string *', 'N/A', 'struct.spdlog::file_event_handlers *'] 5 0 39 8 7 212 0 341 226
fmt::v9::appenderfmt::v9::detail::default_arg_formatter ::operator() (float) /src/spdlog/include/spdlog/fmt/bundled/format.h 2 ['class.fmt::v9::basic_format_context *', 'N/A'] 10 0 16 3 2 243 0 459 130
fmt::v9::appenderfmt::v9::detail::default_arg_formatter ::operator() (double) /src/spdlog/include/spdlog/fmt/bundled/format.h 2 ['class.fmt::v9::basic_format_context *', 'N/A'] 10 0 16 3 2 254 0 471 111
spdlog::details::c_formatter ::format(spdlog::details::log_msgconst&,tmconst&,fmt::v9::basic_memory_buffer >&) /src/spdlog/include/spdlog/pattern_formatter-inl.h 4 ['class.spdlog::custom_flag_formatter *', 'struct.spdlog::details::log_msg *', 'struct.tm *', 'class.fmt::v9::basic_memory_buffer *'] 5 0 155 24 12 128 0 184 94
charconst*fmt::v9::detail::parse_precision >&>(charconst*,charconst*,fmt::v9::detail::specs_checker >&) /src/spdlog/include/spdlog/fmt/bundled/core.h 3 ['char *', 'char *', 'class.fmt::v9::detail::specs_checker *'] 9 0 150 31 12 100 0 149 67
spdlog::details::registry::initialize_logger(std::__1::shared_ptr ) /src/spdlog/include/spdlog/details/registry-inl.h 2 ['class.spdlog::details::registry *', 'class.std::__1::shared_ptr.71 *'] 3 0 170 31 28 30 0 74 66
spdlog::logger::sink_it_(spdlog::details::log_msgconst&) /src/spdlog/include/spdlog/logger-inl.h 2 ['class.spdlog::logger *', 'struct.spdlog::details::log_msg *'] 14 0 273 50 42 552 0 964 64
charconst*fmt::v9::detail::parse_width >&>(charconst*,charconst*,fmt::v9::detail::specs_checker >&) /src/spdlog/include/spdlog/fmt/bundled/core.h 3 ['char *', 'char *', 'class.fmt::v9::detail::specs_checker *'] 9 0 137 29 11 96 0 142 58
charconst*fmt::v9::detail::parse_precision >>&>(charconst*,charconst*,fmt::v9::detail::specs_checker >>&) /src/spdlog/include/spdlog/fmt/bundled/core.h 3 ['char *', 'char *', 'class.fmt::v9::detail::specs_checker.265 *'] 6 0 150 31 12 60 0 104 52

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
54.4%
783/1439
Cyclomatic complexity statically reachable by fuzzers
60.8%
3288 / 5407

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

Func name Functions filename Args Function call depth Reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Files and Directories in report

This section shows which files and directories are considered in this report. The main reason for showing this is fuzz introspector may include more code in the reasoning than is desired. This section helps identify if too many files/directories are included, e.g. third party code, which may be irrelevant for the threat model. In the event too much is included, fuzz introspector supports a configuration file that can exclude data from the report. See the following link for more information on how to create a config file: link

Files in report

Source file Reached by Covered by
[] []
/src/backtrace_fuzzer.cc ['backtrace_fuzzer'] ['backtrace_fuzzer']
/src/spdlog/include/spdlog/details/registry-inl.h ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/details/log_msg_buffer.h ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['backtrace_fuzzer']
/usr/local/bin/../include/c++/v1/math.h [] []
/usr/include/x86_64-linux-gnu/sys/stat.h [] []
/usr/local/bin/../include/c++/v1/exception [] []
/src/spdlog/include/spdlog/logger-inl.h ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/details/backtracer.h [] []
/src/spdlog/include/spdlog/details/circular_q.h ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/details/log_msg-inl.h ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/cfg/env.h ['levels_fuzzer'] ['levels_fuzzer']
/src/spdlog/include/spdlog/common.h ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/details/log_msg.h [] []
/src/spdlog/include/spdlog/sinks/ansicolor_sink-inl.h [] []
/src/spdlog/include/spdlog/details/file_helper-inl.h [] []
/src/spdlog/include/spdlog/spdlog.h ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/details/console_globals.h [] []
/src/pattern_fuzzer.cc ['pattern_fuzzer'] ['pattern_fuzzer']
/src/spdlog/include/spdlog/cfg/helpers-inl.h ['levels_fuzzer'] ['levels_fuzzer']
/src/spdlog/include/spdlog/fmt/bundled/core.h ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/details/periodic_worker-inl.h [] []
/src/spdlog/include/spdlog/common-inl.h ['levels_fuzzer'] ['levels_fuzzer']
/src/levels_fuzzer.cc ['levels_fuzzer'] ['levels_fuzzer']
/src/spdlog/include/spdlog/sinks/basic_file_sink-inl.h [] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/spdlog/include/spdlog/pattern_formatter.h ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/sinks/basic_file_sink.h ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/sinks/base_sink-inl.h [] []
/src/spdlog/include/spdlog/logger.h ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/formatter.h ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/details/synchronous_factory.h ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/log_fuzzer.cc ['log_fuzzer'] ['log_fuzzer']
/src/spdlog/include/spdlog/fmt/bundled/format-inl.h ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['format_fuzzer', 'log_fuzzer']
/src/spdlog/include/spdlog/details/backtracer-inl.h ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/details/fmt_helper.h [] []
/src/format_fuzzer.cc ['format_fuzzer'] ['format_fuzzer']
/src/spdlog/include/spdlog/details/log_msg_buffer-inl.h ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['backtrace_fuzzer']
/src/spdlog/include/spdlog/sinks/base_sink.h [] []
/src/spdlog/include/spdlog/fmt/bundled/format.h ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/spdlog-inl.h ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/sinks/ansicolor_sink.h [] []
/src/spdlog/include/spdlog/sinks/sink-inl.h [] []
/src/spdlog/include/spdlog/cfg/argv.h ['levels_fuzzer'] ['levels_fuzzer']
/src/spdlog/include/spdlog/details/os-inl.h ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/pattern_formatter-inl.h ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer'] ['pattern_fuzzer', 'backtrace_fuzzer', 'format_fuzzer', 'log_fuzzer', 'levels_fuzzer']
/src/spdlog/include/spdlog/sinks/sink.h [] []

Directories in report

Directory
/src/spdlog/include/spdlog/details/
/src/spdlog/include/spdlog/sinks/
/src/spdlog/include/spdlog/
/usr/local/bin/../include/c++/v1/
/usr/include/x86_64-linux-gnu/sys/
/src/spdlog/include/spdlog/fmt/bundled/
/src/spdlog/include/spdlog/cfg/
/src/