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

Project functions overview

The following table shows data about each function in the project. The functions included in this table correspond to all functions that exist in the executables of the fuzzers. As such, there may be functions that are from third-party libraries.

For further technical details on the meaning of columns in the below table, please see the Glossary .

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined 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

Fuzzer details

Fuzzer: json_view_image_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 2863 71.6%
gold [1:9] 53 1.32%
yellow [10:29] 35 0.87%
greenyellow [30:49] 36 0.90%
lawngreen 50+ 1007 25.2%
All colors 3994 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
774 3209 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [32], std::__1::basic_string , std::__1::allocator > const&>(char const (&) [32], std::__1::basic_string , std::__1::allocator > const&) call site: 03209 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKcSJ_EENS1_4view12throwing_saxISG_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISR_EE5valueEiE4typeELi0EEEbSR_
579 1366 bool nlohmann::json_abi_v3_12_0::detail::parse_contiguous , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter >(nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter &, nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>&, bool, std::__1::integral_constant ) call site: 01366 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRKSA_SA_TnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SJ_EE5valueEiE4typeELi0EEEOT_
178 3030 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, std::__1::basic_string , std::__1::allocator >&, char, std::__1::basic_string , std::__1::allocator > const&, char const (&) [3], std::__1::basic_string , std::__1::allocator > const&>(std::__1::basic_string , std::__1::allocator >&, char&&, std::__1::basic_string , std::__1::allocator > const&, char const (&) [3], std::__1::basic_string , std::__1::allocator > const&) call site: 03030 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idEmRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
173 779 nlohmann::json_abi_v3_12_0::detail::view::view_serializer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, false>::write_double_beside(char*, nlohmann::json_abi_v3_12_0::detail::view::node const*, nlohmann::json_abi_v3_12_0::detail::view::view_serializer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, false>::float_batch&) call site: 00779
91 349 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2ISA_SA_TnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SH_EE5valueEiE4typeELi0EEEOT_ call site: 00349 _ZN8nlohmann16json_abi_v3_12_06detail10type_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
89 2937 nlohmann::json_abi_v3_12_0::detail::contiguous_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::view::throwing_sax , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >, true>::parse() call site: 02937 __cxa_allocate_exception
68 591 nlohmann::json_abi_v3_12_0::detail::dtoa_impl::write_shortest(char*, nlohmann::json_abi_v3_12_0::detail::zmij::shortest_decimal) call site: 00591 __assert_fail
45 516 nlohmann::json_abi_v3_12_0::detail::dtoa_impl::store_msb_first(char*, unsigned long) call site: 00516 _ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_integerIlTnNS4_9enable_ifIXoooosr3std11is_integralIT_EE5valuesr3std7is_sameISK_mEE5valuesr3std7is_sameISK_lEE5valueEiE4typeELi0EEEvSK_
35 480 nlohmann::json_abi_v3_12_0::detail::scan_string_finish(unsigned char const*, unsigned char const*, unsigned char const*) call site: 00480 _ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_integerImTnNS4_9enable_ifIXoooosr3std11is_integralIT_EE5valuesr3std7is_sameISK_mEE5valuesr3std7is_sameISK_lEE5valueEiE4typeELi0EEEvSK_
32 244 nlohmann::json_abi_v3_12_0::detail::view::view_serializer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, false>::dump_text (nlohmann::json_abi_v3_12_0::detail::view::node const*)::{lambda(nlohmann::json_abi_v3_12_0::detail::view::node const&)#1}::operator()(nlohmann::json_abi_v3_12_0::detail::view::node const&) const call site: 00244 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2ISA_SA_TnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SH_EE5valueEiE4typeELi0EEEOT_
28 443 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, std::__1::basic_string , std::__1::allocator >, std::__1::basic_string , std::__1::allocator >, std::__1::basic_string , std::__1::allocator > const&>(std::__1::basic_string , std::__1::allocator >&&, std::__1::basic_string , std::__1::allocator >&&, std::__1::basic_string , std::__1::allocator > const&) call site: 00443 _ZN8nlohmann16json_abi_v3_12_06detail10type_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
26 1085 bool nlohmann::json_abi_v3_12_0::detail::check_container_size , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , true, nlohmann::json_abi_v3_12_0::detail::lexer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , false> >, nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >(nlohmann::json_abi_v3_12_0::detail::json_sax_dom_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , true, nlohmann::json_abi_v3_12_0::detail::lexer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , false> >&, unsigned long, char const*, nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>*) call site: 01085 _ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIPNS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEETnNS5_9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKSD_SK_

Runtime coverage analysis

Covered functions
490
Functions that are reachable but not covered
1677
Reachable functions
2807
Percentage of reachable functions covered
40.26%
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/json/tests/src/fuzzer-json_view_image.cpp 1
/src/json/tests/../single_include/nlohmann/json_view.hpp 409
/src/json/tests/../single_include/nlohmann/json.hpp 1039
/usr/local/bin/../include/c++/v1/__exception/exception.h 2
/usr/local/lib/clang/22/include/cpuid.h 2

Fuzzer: parse_bon8_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 3257 74.3%
gold [1:9] 2 0.04%
yellow [10:29] 8 0.18%
greenyellow [30:49] 9 0.20%
lawngreen 50+ 1107 25.2%
All colors 4383 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
369 2497 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_number (float&) call site: 02497 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISN_EE5valueEiE4typeELi0EEEbSN_
369 3929 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_number (float&) call site: 03929 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISN_EE5valueEiE4typeELi0EEEbSN_
284 3223 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator > > >::get_number (float&) call site: 03223
268 751 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::get_number (float&) call site: 00751 _ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA10_KcJS9_RA41_SA_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_
200 1127 nlohmann::json_abi_v3_12_0::detail::scan_string_finish(unsigned char const*, unsigned char const*, unsigned char const*) call site: 01127 __assert_fail
153 1328 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [22], std::__1::basic_string , std::__1::allocator > >(char const (&) [22], std::__1::basic_string , std::__1::allocator >&&) call site: 01328 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISQ_EE5valueEiE4typeELi0EEEbSQ_
100 3083 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator > > >::leave_container_and_check(bool&) call site: 03083
98 2314 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::leave_container_and_check(bool&) call site: 02314
98 3746 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::leave_container_and_check(bool&) call site: 03746
70 506 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::leave_container_and_check(bool&) call site: 00506 __assert_fail
56 581 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [19], char const*&, char const (&) [42], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator > >(char const (&) [19], char const*&, char const (&) [42], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator >&&) call site: 00581 _ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERPKcJRA42_SA_SC_RA16_SA_S9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSI_OSJ_DpOT1_
55 2413 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::enter_array(unsigned long, int) call site: 02413

Runtime coverage analysis

Covered functions
667
Functions that are reachable but not covered
1887
Reachable functions
3367
Percentage of reachable functions covered
43.96%
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/json/tests/src/fuzzer-parse_bon8.cpp 6
/src/json/tests/src/fuzzer_common.hpp 11
/src/json/tests/../single_include/nlohmann/json.hpp 1718
/usr/local/bin/../include/c++/v1/__exception/exception.h 2
/usr/local/lib/clang/22/include/cpuid.h 2

Fuzzer: parse_msgpack_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 2787 63.3%
gold [1:9] 23 0.52%
yellow [10:29] 7 0.15%
greenyellow [30:49] 3 0.06%
lawngreen 50+ 1576 35.8%
All colors 4396 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
200 1127 nlohmann::json_abi_v3_12_0::detail::scan_string_finish(unsigned char const*, unsigned char const*, unsigned char const*) call site: 01127 __assert_fail
196 2666 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::parse_msgpack_value() call site: 02666 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISN_EE5valueEiE4typeELi0EEEbSN_
196 4098 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::parse_msgpack_value() call site: 04098 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISN_EE5valueEiE4typeELi0EEEbSN_
152 3351 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator > > >::parse_msgpack_value() call site: 03351
134 1328 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [22], std::__1::basic_string , std::__1::allocator > >(char const (&) [22], std::__1::basic_string , std::__1::allocator >&&) call site: 01328 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISQ_EE5valueEiE4typeELi0EEEbSQ_
95 1463 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::get_binary (unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&) call site: 01463 __assert_fail
94 925 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::parse_msgpack_value() call site: 00925 _ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA10_KcJS9_RA41_SA_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_
84 2863 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_binary (unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&) call site: 02863
84 4295 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_binary (unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&) call site: 04295
81 3504 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator > > >::get_binary (unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&) call site: 03504
51 1070 nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter ::bulk_remaining() const call site: 01070 __assert_fail
47 1022 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [37], char const*&, char const (&) [2], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator > >(char const (&) [37], char const*&, char const (&) [2], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator >&&) call site: 01022 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idEmRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_

Runtime coverage analysis

Covered functions
983
Functions that are reachable but not covered
1289
Reachable functions
3377
Percentage of reachable functions covered
61.83%
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/json/tests/src/fuzzer-parse_msgpack.cpp 6
/src/json/tests/src/fuzzer_common.hpp 11
/src/json/tests/../single_include/nlohmann/json.hpp 1725
/usr/local/bin/../include/c++/v1/__exception/exception.h 2
/usr/local/lib/clang/22/include/cpuid.h 2

Fuzzer: parse_cbor_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 2738 62.4%
gold [1:9] 38 0.86%
yellow [10:29] 27 0.61%
greenyellow [30:49] 4 0.09%
lawngreen 50+ 1580 36.0%
All colors 4387 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
432 2506 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::parse_cbor_value(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t, bool&, bool&) call site: 02506 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISN_EE5valueEiE4typeELi0EEEbSN_
432 3938 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::parse_cbor_value(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t, bool&, bool&) call site: 03938 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISN_EE5valueEiE4typeELi0EEEbSN_
344 3232 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator > > >::parse_cbor_value(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t, bool&, bool&) call site: 03232
263 756 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::parse_cbor_value(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t, bool&, bool&) call site: 00756 _ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA10_KcJS9_RA41_SA_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSG_OSH_DpOT1_
230 1328 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [22], std::__1::basic_string , std::__1::allocator > >(char const (&) [22], std::__1::basic_string , std::__1::allocator >&&) call site: 01328 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISQ_EE5valueEiE4typeELi0EEEbSQ_
200 1127 nlohmann::json_abi_v3_12_0::detail::scan_string_finish(unsigned char const*, unsigned char const*, unsigned char const*) call site: 01127 __assert_fail
51 1070 nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter ::bulk_remaining() const call site: 01070 __assert_fail
47 1022 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [37], char const*&, char const (&) [2], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator > >(char const (&) [37], char const*&, char const (&) [2], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator >&&) call site: 01022 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idEmRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
20 1636 void nlohmann::json_abi_v3_12_0::detail::serializer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >::put_run , std::__1::allocator > >(std::__1::basic_string , std::__1::allocator > const&, unsigned long, unsigned long) call site: 01636 __assert_fail
16 2180 nlohmann::json_abi_v3_12_0::detail::input_stream_adapter::current_end() const call site: 02180
15 1659 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [29], std::__1::basic_string , std::__1::allocator >, char const (&) [5], std::__1::basic_string , std::__1::allocator > >(char const (&) [29], std::__1::basic_string , std::__1::allocator >&&, char const (&) [5], std::__1::basic_string , std::__1::allocator >&&) call site: 01659 _ZN8nlohmann16json_abi_v3_12_06detail10type_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
15 2007 nlohmann::json_abi_v3_12_0::detail::binary_writer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, unsigned char, nlohmann::json_abi_v3_12_0::detail::output_vector_sink > >::write_cbor(nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> const&, unsigned long) call site: 02007

Runtime coverage analysis

Covered functions
999
Functions that are reachable but not covered
1281
Reachable functions
3353
Percentage of reachable functions covered
61.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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/json/tests/src/fuzzer-parse_cbor.cpp 6
/src/json/tests/src/fuzzer_common.hpp 11
/src/json/tests/../single_include/nlohmann/json.hpp 1708
/usr/local/bin/../include/c++/v1/__exception/exception.h 2
/usr/local/lib/clang/22/include/cpuid.h 2

Fuzzer: parse_bson_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 3345 73.8%
gold [1:9] 10 0.22%
yellow [10:29] 9 0.19%
greenyellow [30:49] 30 0.66%
lawngreen 50+ 1136 25.0%
All colors 4530 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
625 2456 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::parse_bson_element_internal(int, unsigned long) call site: 02456 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_20input_stream_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISN_EE5valueEiE4typeELi0EEEbSN_
625 3888 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::parse_bson_element_internal(int, unsigned long) call site: 03888 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_18file_input_adapterENS1_26json_sax_dom_binary_parserISG_SH_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISN_EE5valueEiE4typeELi0EEEbSN_
494 3225 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator > > >::parse_bson_element_internal(unsigned long, unsigned long) call site: 03225
299 720 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const*&, char const (&) [5], std::__1::basic_string , std::__1::allocator > >(char const*&, char const (&) [5], std::__1::basic_string , std::__1::allocator >&&) call site: 00720 _ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA5_KcJS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_
230 1328 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [22], std::__1::basic_string , std::__1::allocator > >(char const (&) [22], std::__1::basic_string , std::__1::allocator >&&) call site: 01328 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKhSJ_EENS1_26json_sax_dom_binary_parserISG_SK_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISQ_EE5valueEiE4typeELi0EEEbSQ_
200 1127 nlohmann::json_abi_v3_12_0::detail::scan_string_finish(unsigned char const*, unsigned char const*, unsigned char const*) call site: 01127 __assert_fail
137 581 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [19], char const*&, char const (&) [42], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator > >(char const (&) [19], char const*&, char const (&) [42], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator >&&) call site: 00581 _ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
75 501 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::bson_unsupported_type_error(unsigned long, unsigned long) const call site: 00501 __assert_fail
56 2172 nlohmann::json_abi_v3_12_0::detail::binary_writer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, unsigned char, nlohmann::json_abi_v3_12_0::detail::output_vector_sink > >::write_bson_document_single_pass(nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> const&) call site: 02172 _ZN8nlohmann16json_abi_v3_12_06detail10type_error6createIPKNS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEETnNS5_9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKSD_SL_
51 1070 nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter ::bulk_remaining() const call site: 01070 __assert_fail
47 1022 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [37], char const*&, char const (&) [2], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator > >(char const (&) [37], char const*&, char const (&) [2], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator >&&) call site: 01022 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idEmRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
31 1960 nlohmann::json_abi_v3_12_0::detail::binary_writer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, unsigned char, nlohmann::json_abi_v3_12_0::detail::output_vector_sink > >::is_bson_old_binary(nlohmann::json_abi_v3_12_0::byte_container_with_subtype > > const&) call site: 01960 _ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIPKNS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEETnNS5_9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKSD_SL_

Runtime coverage analysis

Covered functions
735
Functions that are reachable but not covered
1761
Reachable functions
3469
Percentage of reachable functions covered
49.24%
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/json/tests/src/fuzzer-parse_bson.cpp 6
/src/json/tests/src/fuzzer_common.hpp 11
/src/json/tests/../single_include/nlohmann/json.hpp 1774
/usr/local/bin/../include/c++/v1/__exception/exception.h 2
/usr/local/lib/clang/22/include/cpuid.h 2

Fuzzer: parse_json_view_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 1776 45.1%
gold [1:9] 40 1.01%
yellow [10:29] 63 1.60%
greenyellow [30:49] 56 1.42%
lawngreen 50+ 1997 50.7%
All colors 3932 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
299 3124 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const*&, char const (&) [5], std::__1::basic_string , std::__1::allocator > >(char const*&, char const (&) [5], std::__1::basic_string , std::__1::allocator >&&) call site: 03124 _ZN8nlohmann16json_abi_v3_12_06detail11concat_intoINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEERA5_KcJS9_ETnNS3_9enable_ifIXsr24detect_string_can_appendIT_T0_EE5valueEiE4typeELi0EEEvRSE_OSF_DpOT1_
223 3451 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [22], std::__1::basic_string , std::__1::allocator > >(char const (&) [22], std::__1::basic_string , std::__1::allocator >&&) call site: 03451 _ZN8nlohmann16json_abi_v3_12_06detail13binary_readerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEENS1_22iterator_input_adapterIPKcSJ_EENS1_4view12throwing_saxISG_EEE18emit_ubjson_numberIaTnNS4_9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std9is_signedISR_EE5valueEiE4typeELi0EEEbSR_
155 2826 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const*&, std::__1::basic_string , std::__1::allocator > >(char const*&, std::__1::basic_string , std::__1::allocator >&&) call site: 02826 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idEmRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
136 2986 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [19], char const*&, char const (&) [42], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator > >(char const (&) [19], char const*&, char const (&) [42], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator >&&) call site: 02986 _ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
105 1218 nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>::parse_impl >(nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter &&, std::__1::function , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>&)>, bool, bool, bool) call site: 01218 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE29create_object_with_comparatorINS2_13move_iteratorINS2_11__wrap_iterIPNS2_4pairISA_SE_EEEEEETnNS2_9enable_ifIXsr6detail39is_comparator_constructible_object_typeINS3_ISA_SE_NS2_4lessISA_EENS8_INSI_IKSA_SE_EEEEEET_EE5valueEiE4typeELi0EEEPST_RKST_SU_SU_
83 2742 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, std::__1::basic_string , std::__1::allocator > const&, char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator > >(std::__1::basic_string , std::__1::allocator > const&, char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator >&&) call site: 02742 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idEmRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
79 1325 bool nlohmann::json_abi_v3_12_0::detail::json_sax_dom_error_state::parse_error (unsigned long, std::__1::basic_string , std::__1::allocator > const&, nlohmann::json_abi_v3_12_0::detail::parse_error const&) call site: 01325 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRKSA_SA_TnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SJ_EE5valueEiE4typeELi0EEEOT_
46 1530 nlohmann::json_abi_v3_12_0::detail::view::builder ::check_string(unsigned char const*) call site: 01530 __clang_call_terminate
45 1629 nlohmann::json_abi_v3_12_0::detail::view::builder ::check_string(unsigned char const*) call site: 01629
32 2687 bool nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>::sax_parse_impl , nlohmann::json_abi_v3_12_0::detail::view::throwing_sax , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> > >(nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , nlohmann::json_abi_v3_12_0::detail::view::throwing_sax , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >*, nlohmann::json_abi_v3_12_0::detail::input_format_t, bool, bool, bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t) call site: 02687 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idEmRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
24 3426 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [37], char const*&, char const (&) [2], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator > >(char const (&) [37], char const*&, char const (&) [2], char const*&, char const (&) [16], std::__1::basic_string , std::__1::allocator >&&) call site: 03426 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idEmRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
22 1729 nlohmann::json_abi_v3_12_0::detail::view::builder ::slow_string(unsigned char const*, unsigned char const*) call site: 01729

Runtime coverage analysis

Covered functions
1232
Functions that are reachable but not covered
952
Reachable functions
2851
Percentage of reachable functions covered
66.61%
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/json/tests/src/fuzzer-parse_json_view.cpp 6
/src/json/tests/../single_include/nlohmann/json.hpp 1178
/usr/local/lib/clang/22/include/cpuid.h 2
/usr/local/bin/../include/c++/v1/__exception/exception.h 2
/src/json/tests/../single_include/nlohmann/json_view.hpp 281

Fuzzer: parse_ubjson_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 2769 58.9%
gold [1:9] 20 0.42%
yellow [10:29] 14 0.29%
greenyellow [30:49] 8 0.17%
lawngreen 50+ 1887 40.1%
All colors 4698 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
98 3382 unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >::get_elements (long*, unsigned long) call site: 03382
95 2614 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_to (long&, char const*) call site: 02614
95 4046 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_to (long&, char const*) call site: 04046
84 2131 nlohmann::json_abi_v3_12_0::detail::binary_writer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, unsigned char, nlohmann::json_abi_v3_12_0::detail::output_vector_sink > >::write_ubjson(nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> const&, bool, bool, bool, bool, nlohmann::json_abi_v3_12_0::detail::bjdata_version_t, unsigned long) call site: 02131 _ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE8get_implIlTnNS2_9enable_ifIXaasr6detail24is_default_constructibleIT_EE5valuesr6detail13has_from_jsonISE_SH_EE5valueEiE4typeELi0EEESH_NS0_6detail12priority_tagILj0EEE
75 1481 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::parse_ubjson_internal() call site: 01481 __assert_fail
66 3181 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::parse_ubjson_internal() call site: 03181
66 4613 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::parse_ubjson_internal() call site: 04613
65 2812 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_number (float&) call site: 02812
65 4244 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_number (float&) call site: 04244
63 3822 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator > > >::parse_ubjson_internal() call site: 03822
55 2728 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::enter_array(unsigned long, int) call site: 02728
55 4160 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::enter_array(unsigned long, int) call site: 04160

Runtime coverage analysis

Covered functions
1120
Functions that are reachable but not covered
1390
Reachable functions
3687
Percentage of reachable functions covered
62.3%
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/json/tests/src/fuzzer-parse_ubjson.cpp 6
/src/json/tests/src/fuzzer_common.hpp 11
/src/json/tests/../single_include/nlohmann/json.hpp 1894
/usr/local/bin/../include/c++/v1/__exception/exception.h 2
/usr/local/lib/clang/22/include/cpuid.h 2

Fuzzer: parse_bjdata_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 2288 48.6%
gold [1:9] 38 0.80%
yellow [10:29] 13 0.27%
greenyellow [30:49] 4 0.08%
lawngreen 50+ 2363 50.2%
All colors 4706 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
75 1481 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::parse_ubjson_internal() call site: 01481 __assert_fail
71 638 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::enter_array(unsigned long, unsigned long) call site: 00638 _ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
66 2820 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_to (float&, char const*) call site: 02820
66 3190 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::parse_ubjson_internal() call site: 03190
66 4251 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_to (float&, char const*) call site: 04251
66 4621 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::parse_ubjson_internal() call site: 04621
63 3830 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator > > >::parse_ubjson_internal() call site: 03830
56 2648 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_to (unsigned int&, char const*) call site: 02648
56 3418 unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >::get_elements (unsigned int*, unsigned long) call site: 03418
56 4079 bool nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_to (unsigned int&, char const*) call site: 04079
55 2737 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::enter_array(unsigned long, int) call site: 02737
55 4168 nlohmann::json_abi_v3_12_0::detail::binary_reader , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::enter_array(unsigned long, int) call site: 04168

Runtime coverage analysis

Covered functions
1368
Functions that are reachable but not covered
975
Reachable functions
3691
Percentage of reachable functions covered
73.58%
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/json/tests/src/fuzzer-parse_bjdata.cpp 7
/src/json/tests/src/fuzzer_common.hpp 11
/src/json/tests/../single_include/nlohmann/json.hpp 1895
/usr/local/bin/../include/c++/v1/__exception/exception.h 2
/usr/local/lib/clang/22/include/cpuid.h 2

Fuzzer: parse_afl_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 1012 24.3%
gold [1:9] 29 0.69%
yellow [10:29] 5 0.12%
greenyellow [30:49] 12 0.28%
lawngreen 50+ 3095 74.5%
All colors 4153 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
105 921 nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>::parse_impl >(nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter &&, std::__1::function , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>&)>, bool, bool, bool) call site: 00921 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE29create_object_with_comparatorINS2_13move_iteratorINS2_11__wrap_iterIPNS2_4pairISA_SE_EEEEEETnNS2_9enable_ifIXsr6detail39is_comparator_constructible_object_typeINS3_ISA_SE_NS2_4lessISA_EENS8_INSI_IKSA_SE_EEEEEET_EE5valueEiE4typeELi0EEEPST_RKST_SU_SU_
79 1028 bool nlohmann::json_abi_v3_12_0::detail::json_sax_dom_error_state::parse_error (unsigned long, std::__1::basic_string , std::__1::allocator > const&, nlohmann::json_abi_v3_12_0::detail::parse_error const&) call site: 01028 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRKSA_SA_TnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SJ_EE5valueEiE4typeELi0EEEOT_
65 1855 bool nlohmann::json_abi_v3_12_0::detail::parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , false>::finish_input , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> > >(nlohmann::json_abi_v3_12_0::detail::json_sax_error_reporter , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >&, bool) call site: 01855
51 1212 void nlohmann::json_abi_v3_12_0::detail::serializer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >::put_run , std::__1::allocator > >(std::__1::basic_string , std::__1::allocator > const&, unsigned long, unsigned long) call site: 01212 _ZN8nlohmann16json_abi_v3_12_06detail10type_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_NS1_12exception_idERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
49 2279 nlohmann::json_abi_v3_12_0::detail::parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, false>::number_float_text(std::__1::integral_constant ) const call site: 02279
49 2662 nlohmann::json_abi_v3_12_0::detail::parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >, false>::number_float_text(std::__1::integral_constant ) const call site: 02662
49 3092 nlohmann::json_abi_v3_12_0::detail::parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, false>::number_float_text(std::__1::integral_constant ) const call site: 03092
29 1922 nlohmann::json_abi_v3_12_0::detail::parser , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , false>::parse(bool, nlohmann::json_abi_v3_12_0::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>&) call site: 01922
24 1266 nlohmann::json_abi_v3_12_0::detail::serializer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >::dump_string_value(std::__1::basic_string , std::__1::allocator > const&) call site: 01266 _ZN8nlohmann16json_abi_v3_12_06detail10serializerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEE12dump_integerImTnNS4_9enable_ifIXoooosr3std11is_integralIT_EE5valuesr3std7is_sameISK_mEE5valuesr3std7is_sameISK_lEE5valueEiE4typeELi0EEEvSK_
19 2259 nlohmann::json_abi_v3_12_0::detail::lexer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, false>::scan_expecting(nlohmann::json_abi_v3_12_0::detail::lexer_base , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >::token_type) call site: 02259
19 2642 nlohmann::json_abi_v3_12_0::detail::lexer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__list_const_iterator >, false>::scan_expecting(nlohmann::json_abi_v3_12_0::detail::lexer_base , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >::token_type) call site: 02642
19 3072 nlohmann::json_abi_v3_12_0::detail::lexer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, false>::scan_expecting(nlohmann::json_abi_v3_12_0::detail::lexer_base , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >::token_type) call site: 03072

Runtime coverage analysis

Covered functions
1445
Functions that are reachable but not covered
676
Reachable functions
3495
Percentage of reachable functions covered
80.66%
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/json/tests/src/fuzzer-parse_json.cpp 10
/src/json/tests/src/fuzzer_common.hpp 17
/src/json/tests/../single_include/nlohmann/json.hpp 1742
/usr/local/bin/../include/c++/v1/__exception/exception.h 2
/usr/local/lib/clang/22/include/cpuid.h 2

Fuzz engine guidance

This sections provides heuristics that can be used as input to a fuzz engine when running a given fuzz target. The current focus is on providing input that is usable by libFuzzer.

/src/json/tests/src/fuzzer-json_view_image.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [32], std::__1::basic_string, std::__1::allocator > const&>(char const (&) [32], std::__1::basic_string, std::__1::allocator > const&)', 'bool nlohmann::json_abi_v3_12_0::detail::parse_contiguous, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter >(nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter&, nlohmann::json_abi_v3_12_0::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>&, bool, std::__1::integral_constant)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >&, char, std::__1::basic_string, std::__1::allocator > const&, char const (&) [3], std::__1::basic_string, std::__1::allocator > const&>(std::__1::basic_string, std::__1::allocator >&, char&&, std::__1::basic_string, std::__1::allocator > const&, char const (&) [3], std::__1::basic_string, std::__1::allocator > const&)', 'nlohmann::json_abi_v3_12_0::detail::view::view_serializer, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, false>::write_double_beside(char*, nlohmann::json_abi_v3_12_0::detail::view::node const*, nlohmann::json_abi_v3_12_0::detail::view::view_serializer, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, false>::float_batch&)', '_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2ISA_SA_TnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SH_EE5valueEiE4typeELi0EEEOT_', 'nlohmann::json_abi_v3_12_0::detail::contiguous_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::view::throwing_sax, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >, true>::parse()', 'nlohmann::json_abi_v3_12_0::detail::dtoa_impl::write_shortest(char*, nlohmann::json_abi_v3_12_0::detail::zmij::shortest_decimal)', 'nlohmann::json_abi_v3_12_0::detail::dtoa_impl::store_msb_first(char*, unsigned long)', 'nlohmann::json_abi_v3_12_0::detail::scan_string_finish(unsigned char const*, unsigned char const*, unsigned char const*)', 'nlohmann::json_abi_v3_12_0::detail::view::view_serializer, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, false>::dump_text(nlohmann::json_abi_v3_12_0::detail::view::node const*)::{lambda(nlohmann::json_abi_v3_12_0::detail::view::node const&)#1}::operator()(nlohmann::json_abi_v3_12_0::detail::view::node const&) const']

/src/json/tests/src/fuzzer-parse_bon8.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_number(float&)', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_number(float&)', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator > > >::get_number(float&)', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::get_number(float&)', 'nlohmann::json_abi_v3_12_0::detail::scan_string_finish(unsigned char const*, unsigned char const*, unsigned char const*)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [22], std::__1::basic_string, std::__1::allocator > >(char const (&) [22], std::__1::basic_string, std::__1::allocator >&&)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator > > >::leave_container_and_check(bool&)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::leave_container_and_check(bool&)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::leave_container_and_check(bool&)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::leave_container_and_check(bool&)']

/src/json/tests/src/fuzzer-parse_msgpack.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['nlohmann::json_abi_v3_12_0::detail::scan_string_finish(unsigned char const*, unsigned char const*, unsigned char const*)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::parse_msgpack_value()', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::parse_msgpack_value()', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator > > >::parse_msgpack_value()', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [22], std::__1::basic_string, std::__1::allocator > >(char const (&) [22], std::__1::basic_string, std::__1::allocator >&&)', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::get_binary(unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::parse_msgpack_value()', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_binary(unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&)', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_binary(unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&)', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator > > >::get_binary(unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&)']

/src/json/tests/src/fuzzer-parse_cbor.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::parse_cbor_value(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t, bool&, bool&)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::parse_cbor_value(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t, bool&, bool&)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator > > >::parse_cbor_value(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t, bool&, bool&)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::parse_cbor_value(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t, bool&, bool&)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [22], std::__1::basic_string, std::__1::allocator > >(char const (&) [22], std::__1::basic_string, std::__1::allocator >&&)', 'nlohmann::json_abi_v3_12_0::detail::scan_string_finish(unsigned char const*, unsigned char const*, unsigned char const*)', 'nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter::bulk_remaining() const', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [37], char const*&, char const (&) [2], char const*&, char const (&) [16], std::__1::basic_string, std::__1::allocator > >(char const (&) [37], char const*&, char const (&) [2], char const*&, char const (&) [16], std::__1::basic_string, std::__1::allocator >&&)', 'void nlohmann::json_abi_v3_12_0::detail::serializer, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >::put_run, std::__1::allocator > >(std::__1::basic_string, std::__1::allocator > const&, unsigned long, unsigned long)', 'nlohmann::json_abi_v3_12_0::detail::input_stream_adapter::current_end() const']

/src/json/tests/src/fuzzer-parse_bson.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::parse_bson_element_internal(int, unsigned long)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::parse_bson_element_internal(int, unsigned long)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator > > >::parse_bson_element_internal(unsigned long, unsigned long)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const*&, char const (&) [5], std::__1::basic_string, std::__1::allocator > >(char const*&, char const (&) [5], std::__1::basic_string, std::__1::allocator >&&)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [22], std::__1::basic_string, std::__1::allocator > >(char const (&) [22], std::__1::basic_string, std::__1::allocator >&&)', 'nlohmann::json_abi_v3_12_0::detail::scan_string_finish(unsigned char const*, unsigned char const*, unsigned char const*)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [19], char const*&, char const (&) [42], char const*&, char const (&) [16], std::__1::basic_string, std::__1::allocator > >(char const (&) [19], char const*&, char const (&) [42], char const*&, char const (&) [16], std::__1::basic_string, std::__1::allocator >&&)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::bson_unsupported_type_error(unsigned long, unsigned long) const', 'nlohmann::json_abi_v3_12_0::detail::binary_writer, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, unsigned char, nlohmann::json_abi_v3_12_0::detail::output_vector_sink > >::write_bson_document_single_pass(nlohmann::json_abi_v3_12_0::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> const&)', 'nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter::bulk_remaining() const']

/src/json/tests/src/fuzzer-parse_json_view.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const*&, char const (&) [5], std::__1::basic_string, std::__1::allocator > >(char const*&, char const (&) [5], std::__1::basic_string, std::__1::allocator >&&)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [22], std::__1::basic_string, std::__1::allocator > >(char const (&) [22], std::__1::basic_string, std::__1::allocator >&&)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const*&, std::__1::basic_string, std::__1::allocator > >(char const*&, std::__1::basic_string, std::__1::allocator >&&)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [19], char const*&, char const (&) [42], char const*&, char const (&) [16], std::__1::basic_string, std::__1::allocator > >(char const (&) [19], char const*&, char const (&) [42], char const*&, char const (&) [16], std::__1::basic_string, std::__1::allocator >&&)', 'nlohmann::json_abi_v3_12_0::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> nlohmann::json_abi_v3_12_0::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>::parse_impl >(nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter&&, std::__1::function, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>&)>, bool, bool, bool)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, std::__1::basic_string, std::__1::allocator > const&, char const*&, char const (&) [16], std::__1::basic_string, std::__1::allocator > >(std::__1::basic_string, std::__1::allocator > const&, char const*&, char const (&) [16], std::__1::basic_string, std::__1::allocator >&&)', 'bool nlohmann::json_abi_v3_12_0::detail::json_sax_dom_error_state::parse_error(unsigned long, std::__1::basic_string, std::__1::allocator > const&, nlohmann::json_abi_v3_12_0::detail::parse_error const&)', 'nlohmann::json_abi_v3_12_0::detail::view::builder::check_string(unsigned char const*)', 'nlohmann::json_abi_v3_12_0::detail::view::builder::check_string(unsigned char const*)', 'bool nlohmann::json_abi_v3_12_0::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>::sax_parse_impl, nlohmann::json_abi_v3_12_0::detail::view::throwing_sax, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> > >(nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, nlohmann::json_abi_v3_12_0::detail::view::throwing_sax, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >*, nlohmann::json_abi_v3_12_0::detail::input_format_t, bool, bool, bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t)']

/src/json/tests/src/fuzzer-parse_ubjson.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator >::get_elements(long*, unsigned long)', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_to(long&, char const*)', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_to(long&, char const*)', 'nlohmann::json_abi_v3_12_0::detail::binary_writer, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, unsigned char, nlohmann::json_abi_v3_12_0::detail::output_vector_sink > >::write_ubjson(nlohmann::json_abi_v3_12_0::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> const&, bool, bool, bool, bool, nlohmann::json_abi_v3_12_0::detail::bjdata_version_t, unsigned long)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::parse_ubjson_internal()', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::parse_ubjson_internal()', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::parse_ubjson_internal()', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_number(float&)', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_number(float&)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator > > >::parse_ubjson_internal()']

/src/json/tests/src/fuzzer-parse_bjdata.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::parse_ubjson_internal()', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter > >::enter_array(unsigned long, unsigned long)', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_to(float&, char const*)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::parse_ubjson_internal()', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_to(float&, char const*)', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::parse_ubjson_internal()', 'nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator >, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator > > >::parse_ubjson_internal()', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter> >::get_to(unsigned int&, char const*)', 'unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator >::get_elements(unsigned int*, unsigned long)', 'bool nlohmann::json_abi_v3_12_0::detail::binary_reader, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, nlohmann::json_abi_v3_12_0::detail::json_sax_dom_binary_parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter> >::get_to(unsigned int&, char const*)']

/src/json/tests/src/fuzzer-parse_json.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['nlohmann::json_abi_v3_12_0::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> nlohmann::json_abi_v3_12_0::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>::parse_impl >(nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter&&, std::__1::function, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>&)>, bool, bool, bool)', 'bool nlohmann::json_abi_v3_12_0::detail::json_sax_dom_error_state::parse_error(unsigned long, std::__1::basic_string, std::__1::allocator > const&, nlohmann::json_abi_v3_12_0::detail::parse_error const&)', 'bool nlohmann::json_abi_v3_12_0::detail::parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, false>::finish_input, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> > >(nlohmann::json_abi_v3_12_0::detail::json_sax_error_reporter, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >&, bool)', 'void nlohmann::json_abi_v3_12_0::detail::serializer, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >::put_run, std::__1::allocator > >(std::__1::basic_string, std::__1::allocator > const&, unsigned long, unsigned long)', 'nlohmann::json_abi_v3_12_0::detail::parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, false>::number_float_text(std::__1::integral_constant) const', 'nlohmann::json_abi_v3_12_0::detail::parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__list_const_iterator >, false>::number_float_text(std::__1::integral_constant) const', 'nlohmann::json_abi_v3_12_0::detail::parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::file_input_adapter, false>::number_float_text(std::__1::integral_constant) const', 'nlohmann::json_abi_v3_12_0::detail::parser, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, false>::parse(bool, nlohmann::json_abi_v3_12_0::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>&)', 'nlohmann::json_abi_v3_12_0::detail::serializer, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >::dump_string_value(std::__1::basic_string, std::__1::allocator > const&)', 'nlohmann::json_abi_v3_12_0::detail::lexer, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, nlohmann::json_abi_v3_12_0::detail::input_stream_adapter, false>::scan_expecting(nlohmann::json_abi_v3_12_0::detail::lexer_base, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> >::token_type)']

Runtime coverage analysis

This section shows analysis of runtime coverage data.

For futher technical details on how this section is generated, please see the Glossary .

Complex functions with low coverage

Func name Function total lines Lines covered at runtime percentage covered Reached by fuzzers
nlohmann::json_abi_v3_12_0::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>::json_value::json_value(nlohmann::json_abi_v3_12_0::detail::value_t) 48 25 52.08% ['parse_bson_fuzzer', 'parse_msgpack_fuzzer', 'json_view_image_fuzzer', 'parse_afl_fuzzer', 'parse_json_view_fuzzer', 'parse_bjdata_fuzzer', 'parse_cbor_fuzzer', 'parse_bon8_fuzzer', 'parse_ubjson_fuzzer']
nlohmann::json_abi_v3_12_0::detail::contiguous_parser ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>,nlohmann::json_abi_v3_12_0::detail::json_sax_dom_parser ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>,nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter ,true,nlohmann::json_abi_v3_12_0::detail::lexer ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>,nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter ,false>>,true>::parse() 234 105 44.87% ['json_view_image_fuzzer', 'parse_afl_fuzzer']
voidnlohmann::json_abi_v3_12_0::detail::serializer ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>>::dump_escaped_impl (std::__1::basic_string ,std::__1::allocator >const&) 198 104 52.52% ['parse_bson_fuzzer', 'parse_msgpack_fuzzer', 'json_view_image_fuzzer', 'parse_afl_fuzzer', 'parse_bjdata_fuzzer', 'parse_cbor_fuzzer', 'parse_bon8_fuzzer', 'parse_ubjson_fuzzer']
nlohmann::json_abi_v3_12_0::detail::serializer ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>>::dump_binary_value(unsignedlong,nlohmann::json_abi_v3_12_0::byte_container_with_subtype >>const&) 52 26 50.0% ['parse_bson_fuzzer', 'parse_msgpack_fuzzer', 'json_view_image_fuzzer', 'parse_afl_fuzzer', 'parse_bjdata_fuzzer', 'parse_cbor_fuzzer', 'parse_bon8_fuzzer', 'parse_ubjson_fuzzer']
nlohmann::json_abi_v3_12_0::detail::binary_writer ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>,unsignedchar,nlohmann::json_abi_v3_12_0::detail::output_vector_sink >>::calc_bson_value_size(nlohmann::json_abi_v3_12_0::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>const&) 34 9 26.47% ['parse_bson_fuzzer']
nlohmann::json_abi_v3_12_0::detail::contiguous_parser ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>,nlohmann::json_abi_v3_12_0::detail::json_sax_acceptor ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>>,false>::parse() 234 124 52.99% ['parse_afl_fuzzer', 'parse_json_view_fuzzer']
nlohmann::json_abi_v3_12_0::detail::contiguous_parser ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>,nlohmann::json_abi_v3_12_0::detail::json_sax_dom_parser ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>,nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter ,true,nlohmann::json_abi_v3_12_0::detail::lexer ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>,nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter ,false>>,true>::parse() 234 124 52.99% ['parse_afl_fuzzer', 'parse_json_view_fuzzer']
nlohmann::json_abi_v3_12_0::detail::contiguous_parser ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>,nlohmann::json_abi_v3_12_0::detail::view::throwing_sax ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>>,true>::parse() 234 117 50.0% ['json_view_image_fuzzer', 'parse_json_view_fuzzer']
nlohmann::json_abi_v3_12_0::detail::view::builder ::slow_string(unsignedcharconst*,unsignedcharconst*) 148 6 4.054% ['json_view_image_fuzzer', 'parse_json_view_fuzzer']
nlohmann::json_abi_v3_12_0::detail::view::builder ::slow_string(unsignedcharconst*,unsignedcharconst*) 148 6 4.054% ['json_view_image_fuzzer', 'parse_json_view_fuzzer']
nlohmann::json_abi_v3_12_0::detail::iter_impl ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>const>::set_begin() 33 14 42.42% ['parse_bjdata_fuzzer', 'parse_ubjson_fuzzer']

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/json/tests/../single_include/nlohmann/json.hpp ['json_view_image_fuzzer', 'parse_bon8_fuzzer', 'parse_msgpack_fuzzer', 'parse_cbor_fuzzer', 'parse_bson_fuzzer', 'parse_json_view_fuzzer', 'parse_ubjson_fuzzer', 'parse_bjdata_fuzzer', 'parse_afl_fuzzer'] []
/src/json/tests/src/fuzzer-parse_msgpack.cpp ['parse_msgpack_fuzzer'] ['parse_msgpack_fuzzer']
/src/json/tests/src/fuzzer-parse_cbor.cpp ['parse_cbor_fuzzer'] ['parse_cbor_fuzzer']
/usr/local/lib/clang/22/include/cpuid.h ['json_view_image_fuzzer', 'parse_bon8_fuzzer', 'parse_msgpack_fuzzer', 'parse_cbor_fuzzer', 'parse_bson_fuzzer', 'parse_json_view_fuzzer', 'parse_ubjson_fuzzer', 'parse_bjdata_fuzzer', 'parse_afl_fuzzer'] []
/src/json/tests/src/fuzzer-parse_bson.cpp ['parse_bson_fuzzer'] ['parse_bson_fuzzer']
/src/json/tests/src/fuzzer-parse_bon8.cpp ['parse_bon8_fuzzer'] ['parse_bon8_fuzzer']
/src/json/tests/src/fuzzer-parse_ubjson.cpp ['parse_ubjson_fuzzer'] ['parse_ubjson_fuzzer']
/src/json/tests/src/fuzzer-parse_json.cpp ['parse_afl_fuzzer'] ['parse_afl_fuzzer']
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/json/tests/src/fuzzer-parse_json_view.cpp ['parse_json_view_fuzzer'] ['parse_json_view_fuzzer']
/src/json/tests/src/fuzzer_common.hpp ['parse_bon8_fuzzer', 'parse_msgpack_fuzzer', 'parse_cbor_fuzzer', 'parse_bson_fuzzer', 'parse_ubjson_fuzzer', 'parse_bjdata_fuzzer', 'parse_afl_fuzzer'] ['parse_bon8_fuzzer', 'parse_msgpack_fuzzer', 'parse_cbor_fuzzer', 'parse_bson_fuzzer', 'parse_ubjson_fuzzer', 'parse_bjdata_fuzzer', 'parse_afl_fuzzer']
/src/json/tests/../single_include/nlohmann/json_view.hpp ['json_view_image_fuzzer', 'parse_json_view_fuzzer'] []
/src/json/tests/src/fuzzer-parse_bjdata.cpp ['parse_bjdata_fuzzer'] ['parse_bjdata_fuzzer']
/usr/local/bin/../include/c++/v1/string [] []
/usr/local/bin/../include/c++/v1/__exception/exception.h ['json_view_image_fuzzer', 'parse_bon8_fuzzer', 'parse_msgpack_fuzzer', 'parse_cbor_fuzzer', 'parse_bson_fuzzer', 'parse_json_view_fuzzer', 'parse_ubjson_fuzzer', 'parse_bjdata_fuzzer', 'parse_afl_fuzzer'] []
/src/json/tests/src/fuzzer-json_view_image.cpp ['json_view_image_fuzzer'] ['json_view_image_fuzzer']

Directories in report

Directory
/usr/local/bin/../include/c++/v1/
/src/json/tests/src/
/usr/local/bin/../include/c++/v1/__exception/
/usr/local/lib/clang/22/include/
/src/json/tests/../single_include/nlohmann/