Fuzz introspector: /src/inspector/source-code/src/levels_fuzzer.cc
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
8 32 spdlog::details::registry::register_logger_(std::__1::shared_ptr ) call site: 00032 __cxa_allocate_exception
2 3 LLVMFuzzerTestOneInput call site: 00003
2 92 fmt::v11::detail::allocator ::allocate(unsigned long) call site: 00092 fprintf
1 10 spdlog::details::registry::registry() call site: 00010
1 19 spdlog::details::registry::initialize_logger(std::__1::shared_ptr ) call site: 00019
1 23 spdlog::details::registry::initialize_logger(std::__1::shared_ptr ) call site: 00023
1 46 spdlog::details::os::getenv(char const*) call site: 00046
1 53 spdlog::level::from_str(std::__1::basic_string , std::__1::allocator > const&) call site: 00053 __cxa_begin_catch
1 56 spdlog::cfg::helpers::load_levels(std::__1::basic_string , std::__1::allocator > const&) call site: 00056
1 79 spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v11::basic_string_view ) call site: 00079
1 81 spdlog::details::backtracer::push_back(spdlog::details::log_msg const&) call site: 00081
1 87 fmt::v11::basic_memory_buffer >::grow(fmt::v11::detail::buffer &, unsigned long) call site: 00087

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 __cxa_guard_acquire [call site] 00001
1 __cxa_atexit [call site] 00002
1 __cxa_guard_release [call site] 00003
1 spdlog::file_event_handlers::file_event_handlers() [function] [call site] 00004
1 std::__1::shared_ptr<spdlog::logger> spdlog::basic_logger_mt<spdlog::synchronous_factory>(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&, bool, spdlog::file_event_handlers const&) [function] [call site] 00005
2 std::__1::shared_ptr<spdlog::logger> spdlog::synchronous_factory::create<spdlog::sinks::basic_file_sink<std::__1::mutex>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool&, spdlog::file_event_handlers const&>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool&, spdlog::file_event_handlers const&) [function] [call site] 00006
3 spdlog::details::registry::instance() [function] [call site] 00007
4 __cxa_guard_acquire [call site] 00008
4 spdlog::details::registry::registry() [function] [call site] 00009
5 spdlog::pattern_formatter::pattern_formatter(spdlog::pattern_time_type, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) [function] [call site] 00010
6 spdlog::formatter::formatter() [function] [call site] 00011
6 spdlog::details::padding_info::padding_info() [function] [call site] 00012
6 spdlog::formatter::~formatter() [function] [call site] 00013
4 __cxa_atexit [call site] 00014
4 spdlog::details::registry::~registry() [function] [call site] 00015
4 __cxa_guard_release [call site] 00016
4 __cxa_guard_abort [call site] 00017
3 spdlog::details::registry::initialize_logger(std::__1::shared_ptr<spdlog::logger>) [function] [call site] 00018
4 spdlog::logger::set_formatter(std::__1::unique_ptr<spdlog::formatter, std::__1::default_delete<spdlog::formatter> >) [function] [call site] 00019
4 spdlog::logger::set_error_handler(std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)>) [function] [call site] 00020
4 spdlog::logger::name() const [function] [call site] 00021
4 spdlog::logger::set_level(spdlog::level::level_enum) [function] [call site] 00022
4 spdlog::logger::flush_on(spdlog::level::level_enum) [function] [call site] 00023
4 spdlog::logger::enable_backtrace(unsigned long) [function] [call site] 00024
5 spdlog::details::backtracer::enable(unsigned long) [function] [call site] 00025
6 spdlog::details::circular_q<spdlog::details::log_msg_buffer>::circular_q(unsigned long) [function] [call site] 00026
6 spdlog::details::circular_q<spdlog::details::log_msg_buffer>::operator=(spdlog::details::circular_q<spdlog::details::log_msg_buffer>&&) [function] [call site] 00027
7 spdlog::details::circular_q<spdlog::details::log_msg_buffer>::copy_moveable(spdlog::details::circular_q<spdlog::details::log_msg_buffer>&&) [function] [call site] 00028
6 spdlog::details::circular_q<spdlog::details::log_msg_buffer>::~circular_q() [function] [call site] 00029
4 spdlog::details::registry::register_logger_(std::__1::shared_ptr<spdlog::logger>) [function] [call site] 00030
5 spdlog::logger::name() const [function] [call site] 00031
5 spdlog::details::registry::throw_if_exists_(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00032
6 spdlog::throw_spdlog_ex(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) [function] [call site] 00033
7 __cxa_allocate_exception [call site] 00034
7 spdlog::spdlog_ex::spdlog_ex(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) [function] [call site] 00035
8 std::exception::exception[abi:ne220000]() [function] [call site] 00036
7 __cxa_throw [call site] 00037
7 __cxa_free_exception [call site] 00038
1 spdlog::file_event_handlers::~file_event_handlers() [function] [call site] 00039
1 spdlog::set_default_logger(std::__1::shared_ptr<spdlog::logger>) [function] [call site] 00040
2 spdlog::details::registry::instance() [function] [call site] 00041
2 spdlog::details::registry::set_default_logger(std::__1::shared_ptr<spdlog::logger>) [function] [call site] 00042
3 spdlog::logger::name() const [function] [call site] 00043
1 spdlog::cfg::load_env_levels(char const*) [function] [call site] 00044
2 spdlog::details::os::getenv(char const*) [function] [call site] 00045
3 getenv [call site] 00046
2 spdlog::cfg::helpers::load_levels(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00047
3 spdlog::cfg::helpers::extract_key_vals_(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00048
4 spdlog::cfg::helpers::extract_kv_(char, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00049
5 spdlog::cfg::helpers::trim_(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) [function] [call site] 00050
3 spdlog::cfg::helpers::to_lower_(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) [function] [call site] 00051
3 spdlog::level::from_str(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00052
4 __clang_call_terminate [call site] 00053
5 __cxa_begin_catch [call site] 00054
3 spdlog::details::registry::instance() [function] [call site] 00055
3 spdlog::details::registry::set_levels(std::__1::unordered_map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, spdlog::level::level_enum, std::__1::hash<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::equal_to<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, spdlog::level::level_enum> > >, spdlog::level::level_enum*) [function] [call site] 00056
4 spdlog::logger::set_level(spdlog::level::level_enum) [function] [call site] 00057
4 spdlog::logger::set_level(spdlog::level::level_enum) [function] [call site] 00058
1 spdlog::cfg::load_argv_levels(int, char const**) [function] [call site] 00059
2 spdlog::cfg::helpers::load_levels(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00060
1 void spdlog::info<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00061
2 spdlog::default_logger_raw() [function] [call site] 00062
3 spdlog::details::registry::instance() [function] [call site] 00063
3 spdlog::details::registry::get_default_raw() [function] [call site] 00064
2 void spdlog::logger::info<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00065
3 void spdlog::logger::log<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(spdlog::level::level_enum, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) [function] [call site] 00066
4 spdlog::source_loc::source_loc() [function] [call site] 00067
4 _ZN3fmt3v1117basic_string_viewIcEC2INSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEETnNS4_9enable_ifIXaasr6detail18is_std_string_likeIT_EE5valuesr3std7is_sameINSC_10value_typeEcEE5valueEiE4typeELi0EEERKSC_ [function] [call site] 00068
4 spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v11::basic_string_view<char>) [function] [call site] 00069
5 spdlog::logger::should_log(spdlog::level::level_enum) const [function] [call site] 00070
5 spdlog::details::backtracer::enabled() const [function] [call site] 00071
5 _ZN3fmt3v1117basic_string_viewIcEC2INSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEETnNS4_9enable_ifIXaasr6detail18is_std_string_likeIT_EE5valuesr3std7is_sameINSC_10value_typeEcEE5valueEiE4typeELi0EEERKSC_ [function] [call site] 00072
5 spdlog::details::log_msg::log_msg(spdlog::source_loc, fmt::v11::basic_string_view<char>, spdlog::level::level_enum, fmt::v11::basic_string_view<char>) [function] [call site] 00073
6 spdlog::details::os::now() [function] [call site] 00074
6 spdlog::details::log_msg::log_msg(std::__1::chrono::time_point<std::__1::chrono::system_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000l> > >, spdlog::source_loc, fmt::v11::basic_string_view<char>, spdlog::level::level_enum, fmt::v11::basic_string_view<char>) [function] [call site] 00075
7 spdlog::details::os::thread_id() [function] [call site] 00076
8 spdlog::details::os::_thread_id() [function] [call site] 00077
9 syscall [call site] 00078
5 spdlog::logger::log_it_(spdlog::details::log_msg const&, bool, bool) [function] [call site] 00079
6 spdlog::details::backtracer::push_back(spdlog::details::log_msg const&) [function] [call site] 00080
7 spdlog::details::log_msg_buffer::log_msg_buffer(spdlog::details::log_msg const&) [function] [call site] 00081
8 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::basic_memory_buffer(fmt::v11::detail::allocator<char> const&) [function] [call site] 00082
9 fmt::v11::detail::buffer<char>::buffer(void (*)(fmt::v11::detail::buffer<char>&, unsigned long), char*, unsigned long, unsigned long) [function] [call site] 00083
9 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::grow(fmt::v11::detail::buffer<char>&, unsigned long) [function] [call site] 00084
10 fmt::v11::detail::abort_fuzzing_if(bool) [function] [call site] 00085
11 void fmt::v11::detail::ignore_unused<bool>(bool const&) [function] [call site] 00086
10 fmt::v11::detail::buffer<char>::capacity() const [function] [call site] 00087
10 unsigned long fmt::v11::max_of<unsigned long>(unsigned long, unsigned long) [function] [call site] 00088
10 fmt::v11::detail::buffer<char>::data() [function] [call site] 00089
10 fmt::v11::detail::allocator<char>::allocate(unsigned long) [function] [call site] 00090
11 unsigned long fmt::v11::detail::max_value<unsigned long>() [function] [call site] 00091
11 fmt::v11::detail::assert_fail(char const*, int, char const*) [function] [call site] 00092
12 fprintf [call site] 00093
12 abort [call site] 00094
11 __cxa_allocate_exception [call site] 00095
11 std::bad_alloc::bad_alloc() [call site] 00096
11 __cxa_throw [call site] 00097
11 std::bad_alloc::~bad_alloc() [call site] 00098
10 fmt::v11::detail::buffer<char>::size() const [function] [call site] 00099
10 fmt::v11::detail::buffer<char>::size() const [function] [call site] 00100
10 fmt::v11::detail::buffer<char>::set(char*, unsigned long) [function] [call site] 00101
10 fmt::v11::detail::allocator<char>::deallocate(char*, unsigned long) [function] [call site] 00102
9 fmt::v11::detail::buffer<char>::set(char*, unsigned long) [function] [call site] 00103
8 fmt::v11::basic_string_view<char>::begin() const [function] [call site] 00104
8 fmt::v11::basic_string_view<char>::end() const [function] [call site] 00105
8 void fmt::v11::detail::buffer<char>::append<char>(char const*, char const*) [function] [call site] 00106
9 std::__1::make_unsigned<long>::type fmt::v11::detail::to_unsigned<long>(long) [function] [call site] 00107
10 fmt::v11::detail::assert_fail(char const*, int, char const*) [function] [call site] 00108
9 fmt::v11::detail::buffer<char>::try_reserve(unsigned long) [function] [call site] 00109
8 fmt::v11::basic_string_view<char>::begin() const [function] [call site] 00110
8 fmt::v11::basic_string_view<char>::end() const [function] [call site] 00111
8 void fmt::v11::detail::buffer<char>::append<char>(char const*, char const*) [function] [call site] 00112
8 spdlog::details::log_msg_buffer::update_string_views() [function] [call site] 00113
9 fmt::v11::detail::buffer<char>::data() [function] [call site] 00114
9 fmt::v11::basic_string_view<char>::size() const [function] [call site] 00115
9 fmt::v11::basic_string_view<char>::basic_string_view(char const*, unsigned long) [function] [call site] 00116
9 fmt::v11::detail::buffer<char>::data() [function] [call site] 00117
9 fmt::v11::basic_string_view<char>::size() const [function] [call site] 00118
9 fmt::v11::basic_string_view<char>::basic_string_view(char const*, unsigned long) [function] [call site] 00119
8 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::~basic_memory_buffer() [function] [call site] 00120
9 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::deallocate() [function] [call site] 00121
10 fmt::v11::detail::buffer<char>::data() [function] [call site] 00122
10 fmt::v11::detail::buffer<char>::capacity() const [function] [call site] 00123
10 fmt::v11::detail::allocator<char>::deallocate(char*, unsigned long) [function] [call site] 00124
9 __clang_call_terminate [call site] 00125
7 spdlog::details::circular_q<spdlog::details::log_msg_buffer>::push_back(spdlog::details::log_msg_buffer&&) [function] [call site] 00126
8 spdlog::details::log_msg_buffer::operator=(spdlog::details::log_msg_buffer&&) [function] [call site] 00127
9 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::operator=(fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >&&) [function] [call site] 00128
10 fmt::v11::detail::assert_fail(char const*, int, char const*) [function] [call site] 00129
10 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::deallocate() [function] [call site] 00130
10 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::move(fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >&) [function] [call site] 00131
11 fmt::v11::detail::buffer<char>::data() [function] [call site] 00132
11 fmt::v11::detail::buffer<char>::size() const [function] [call site] 00133
11 fmt::v11::detail::buffer<char>::capacity() const [function] [call site] 00134
11 fmt::v11::detail::buffer<char>::set(char*, unsigned long) [function] [call site] 00135
11 _ZN3fmt3v116detail4copyIcPcS3_TnNSt3__19enable_ifIXntsr23is_back_insert_iteratorIT1_EE5valueEiE4typeELi0EEES6_T0_S9_S6_ [function] [call site] 00136
11 fmt::v11::detail::buffer<char>::set(char*, unsigned long) [function] [call site] 00137
11 fmt::v11::detail::buffer<char>::set(char*, unsigned long) [function] [call site] 00138
11 fmt::v11::detail::buffer<char>::clear() [function] [call site] 00139
11 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::resize(unsigned long) [function] [call site] 00140
12 fmt::v11::detail::buffer<char>::try_resize(unsigned long) [function] [call site] 00141
13 fmt::v11::detail::buffer<char>::try_reserve(unsigned long) [function] [call site] 00142
13 unsigned long fmt::v11::min_of<unsigned long>(unsigned long, unsigned long) [function] [call site] 00143
10 __clang_call_terminate [call site] 00144
9 spdlog::details::log_msg_buffer::update_string_views() [function] [call site] 00145
7 spdlog::details::log_msg_buffer::~log_msg_buffer() [function] [call site] 00146
8 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::~basic_memory_buffer() [function] [call site] 00147