Fuzz introspector: /src/inspector/light/source_files/src/backtrace_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
6 32 spdlog::details::registry::register_logger_(std::__1::shared_ptr ) call site: 00032 __cxa_allocate_exception
2 79 fmt::v11::detail::allocator ::allocate(unsigned long) call site: 00079 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 66 spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v11::basic_string_view ) call site: 00066
1 68 spdlog::details::backtracer::push_back(spdlog::details::log_msg const&) call site: 00068
1 74 fmt::v11::basic_memory_buffer >::grow(fmt::v11::detail::buffer &, unsigned long) call site: 00074
1 112 fmt::v11::basic_memory_buffer >::~basic_memory_buffer() call site: 00112 __cxa_begin_catch
1 134 spdlog::details::backtracer::push_back(spdlog::details::log_msg const&) call site: 00134

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::enable_backtrace(unsigned long) [function] [call site] 00044
2 spdlog::details::registry::instance() [function] [call site] 00045
2 spdlog::details::registry::enable_backtrace(unsigned long) [function] [call site] 00046
3 spdlog::logger::enable_backtrace(unsigned long) [function] [call site] 00047
1 void spdlog::debug<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] 00048
2 spdlog::default_logger_raw() [function] [call site] 00049
3 spdlog::details::registry::instance() [function] [call site] 00050
3 spdlog::details::registry::get_default_raw() [function] [call site] 00051
2 void spdlog::logger::debug<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] 00052
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] 00053
4 spdlog::source_loc::source_loc() [function] [call site] 00054
4 _ZN3fmt3v1117basic_string_viewIcEC2INSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEETnNS4_9enable_ifIXaasr6detail18is_std_string_likeIT_EE5valuesr3std7is_sameINSC_10value_typeEcEE5valueEiE4typeELi0EEERKSC_ [function] [call site] 00055
4 spdlog::logger::log(spdlog::source_loc, spdlog::level::level_enum, fmt::v11::basic_string_view<char>) [function] [call site] 00056
5 spdlog::logger::should_log(spdlog::level::level_enum) const [function] [call site] 00057
5 spdlog::details::backtracer::enabled() const [function] [call site] 00058
5 _ZN3fmt3v1117basic_string_viewIcEC2INSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEETnNS4_9enable_ifIXaasr6detail18is_std_string_likeIT_EE5valuesr3std7is_sameINSC_10value_typeEcEE5valueEiE4typeELi0EEERKSC_ [function] [call site] 00059
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] 00060
6 spdlog::details::os::now() [function] [call site] 00061
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] 00062
7 spdlog::details::os::thread_id() [function] [call site] 00063
8 spdlog::details::os::_thread_id() [function] [call site] 00064
9 syscall [call site] 00065
5 spdlog::logger::log_it_(spdlog::details::log_msg const&, bool, bool) [function] [call site] 00066
6 spdlog::details::backtracer::push_back(spdlog::details::log_msg const&) [function] [call site] 00067
7 spdlog::details::log_msg_buffer::log_msg_buffer(spdlog::details::log_msg const&) [function] [call site] 00068
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] 00069
9 fmt::v11::detail::buffer<char>::buffer(void (*)(fmt::v11::detail::buffer<char>&, unsigned long), char*, unsigned long, unsigned long) [function] [call site] 00070
9 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::grow(fmt::v11::detail::buffer<char>&, unsigned long) [function] [call site] 00071
10 fmt::v11::detail::abort_fuzzing_if(bool) [function] [call site] 00072
11 void fmt::v11::detail::ignore_unused<bool>(bool const&) [function] [call site] 00073
10 fmt::v11::detail::buffer<char>::capacity() const [function] [call site] 00074
10 unsigned long fmt::v11::max_of<unsigned long>(unsigned long, unsigned long) [function] [call site] 00075
10 fmt::v11::detail::buffer<char>::data() [function] [call site] 00076
10 fmt::v11::detail::allocator<char>::allocate(unsigned long) [function] [call site] 00077
11 unsigned long fmt::v11::detail::max_value<unsigned long>() [function] [call site] 00078
11 fmt::v11::detail::assert_fail(char const*, int, char const*) [function] [call site] 00079
12 fprintf [call site] 00080
12 abort [call site] 00081
11 __cxa_allocate_exception [call site] 00082
11 std::bad_alloc::bad_alloc() [call site] 00083
11 __cxa_throw [call site] 00084
11 std::bad_alloc::~bad_alloc() [call site] 00085
10 fmt::v11::detail::buffer<char>::size() const [function] [call site] 00086
10 fmt::v11::detail::buffer<char>::size() const [function] [call site] 00087
10 fmt::v11::detail::buffer<char>::set(char*, unsigned long) [function] [call site] 00088
10 fmt::v11::detail::allocator<char>::deallocate(char*, unsigned long) [function] [call site] 00089
9 fmt::v11::detail::buffer<char>::set(char*, unsigned long) [function] [call site] 00090
8 fmt::v11::basic_string_view<char>::begin() const [function] [call site] 00091
8 fmt::v11::basic_string_view<char>::end() const [function] [call site] 00092
8 void fmt::v11::detail::buffer<char>::append<char>(char const*, char const*) [function] [call site] 00093
9 std::__1::make_unsigned<long>::type fmt::v11::detail::to_unsigned<long>(long) [function] [call site] 00094
10 fmt::v11::detail::assert_fail(char const*, int, char const*) [function] [call site] 00095
9 fmt::v11::detail::buffer<char>::try_reserve(unsigned long) [function] [call site] 00096
8 fmt::v11::basic_string_view<char>::begin() const [function] [call site] 00097
8 fmt::v11::basic_string_view<char>::end() const [function] [call site] 00098
8 void fmt::v11::detail::buffer<char>::append<char>(char const*, char const*) [function] [call site] 00099
8 spdlog::details::log_msg_buffer::update_string_views() [function] [call site] 00100
9 fmt::v11::detail::buffer<char>::data() [function] [call site] 00101
9 fmt::v11::basic_string_view<char>::size() const [function] [call site] 00102
9 fmt::v11::basic_string_view<char>::basic_string_view(char const*, unsigned long) [function] [call site] 00103
9 fmt::v11::detail::buffer<char>::data() [function] [call site] 00104
9 fmt::v11::basic_string_view<char>::size() const [function] [call site] 00105
9 fmt::v11::basic_string_view<char>::basic_string_view(char const*, unsigned long) [function] [call site] 00106
8 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::~basic_memory_buffer() [function] [call site] 00107
9 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::deallocate() [function] [call site] 00108
10 fmt::v11::detail::buffer<char>::data() [function] [call site] 00109
10 fmt::v11::detail::buffer<char>::capacity() const [function] [call site] 00110
10 fmt::v11::detail::allocator<char>::deallocate(char*, unsigned long) [function] [call site] 00111
9 __clang_call_terminate [call site] 00112
10 __cxa_begin_catch [call site] 00113
7 spdlog::details::circular_q<spdlog::details::log_msg_buffer>::push_back(spdlog::details::log_msg_buffer&&) [function] [call site] 00114
8 spdlog::details::log_msg_buffer::operator=(spdlog::details::log_msg_buffer&&) [function] [call site] 00115
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] 00116
10 fmt::v11::detail::assert_fail(char const*, int, char const*) [function] [call site] 00117
10 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::deallocate() [function] [call site] 00118
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] 00119
11 fmt::v11::detail::buffer<char>::data() [function] [call site] 00120
11 fmt::v11::detail::buffer<char>::size() const [function] [call site] 00121
11 fmt::v11::detail::buffer<char>::capacity() const [function] [call site] 00122
11 fmt::v11::detail::buffer<char>::set(char*, unsigned long) [function] [call site] 00123
11 _ZN3fmt3v116detail4copyIcPcS3_TnNSt3__19enable_ifIXntsr23is_back_insert_iteratorIT1_EE5valueEiE4typeELi0EEES6_T0_S9_S6_ [function] [call site] 00124
11 fmt::v11::detail::buffer<char>::set(char*, unsigned long) [function] [call site] 00125
11 fmt::v11::detail::buffer<char>::set(char*, unsigned long) [function] [call site] 00126
11 fmt::v11::detail::buffer<char>::clear() [function] [call site] 00127
11 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::resize(unsigned long) [function] [call site] 00128
12 fmt::v11::detail::buffer<char>::try_resize(unsigned long) [function] [call site] 00129
13 fmt::v11::detail::buffer<char>::try_reserve(unsigned long) [function] [call site] 00130
13 unsigned long fmt::v11::min_of<unsigned long>(unsigned long, unsigned long) [function] [call site] 00131
10 __clang_call_terminate [call site] 00132
9 spdlog::details::log_msg_buffer::update_string_views() [function] [call site] 00133
7 spdlog::details::log_msg_buffer::~log_msg_buffer() [function] [call site] 00134
8 fmt::v11::basic_memory_buffer<char, 250ul, fmt::v11::detail::allocator<char> >::~basic_memory_buffer() [function] [call site] 00135
1 spdlog::dump_backtrace() [function] [call site] 00136
2 spdlog::default_logger_raw() [function] [call site] 00137
2 spdlog::logger::dump_backtrace() [function] [call site] 00138
3 spdlog::logger::dump_backtrace_() [function] [call site] 00139
4 spdlog::details::backtracer::enabled() const [function] [call site] 00140
4 spdlog::details::backtracer::empty() const [function] [call site] 00141
5 spdlog::details::circular_q<spdlog::details::log_msg_buffer>::empty() const [function] [call site] 00142
4 spdlog::logger::name() const [function] [call site] 00143
4 _ZN3fmt3v1117basic_string_viewIcEC2INSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEETnNS4_9enable_ifIXaasr6detail18is_std_string_likeIT_EE5valuesr3std7is_sameINSC_10value_typeEcEE5valueEiE4typeELi0EEERKSC_ [function] [call site] 00144
4 fmt::v11::basic_string_view<char>::basic_string_view(char const*) [function] [call site] 00145
5 strlen [call site] 00146
4 spdlog::details::log_msg::log_msg(fmt::v11::basic_string_view<char>, spdlog::level::level_enum, fmt::v11::basic_string_view<char>) [function] [call site] 00147
5 spdlog::details::os::now() [function] [call site] 00148
5 spdlog::source_loc::source_loc() [function] [call site] 00149
5 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] 00150
4 spdlog::details::backtracer::foreach_pop(std::__1::function<void (spdlog::details::log_msg const&)>) [function] [call site] 00151
5 spdlog::details::circular_q<spdlog::details::log_msg_buffer>::empty() const [function] [call site] 00152
5 spdlog::details::circular_q<spdlog::details::log_msg_buffer>::front() [function] [call site] 00153
5 spdlog::details::circular_q<spdlog::details::log_msg_buffer>::pop_front() [function] [call site] 00154
4 spdlog::logger::name() const [function] [call site] 00155
4 _ZN3fmt3v1117basic_string_viewIcEC2INSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEETnNS4_9enable_ifIXaasr6detail18is_std_string_likeIT_EE5valuesr3std7is_sameINSC_10value_typeEcEE5valueEiE4typeELi0EEERKSC_ [function] [call site] 00156
4 fmt::v11::basic_string_view<char>::basic_string_view(char const*) [function] [call site] 00157
4 spdlog::details::log_msg::log_msg(fmt::v11::basic_string_view<char>, spdlog::level::level_enum, fmt::v11::basic_string_view<char>) [function] [call site] 00158