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: 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 819 66.1%
gold [1:9] 8 0.64%
yellow [10:29] 0 0.0%
greenyellow [30:49] 19 1.53%
lawngreen 50+ 393 31.7%
All colors 1239 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
303 672 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_to (short&, nlohmann::json_abi_v3_12_0::detail::input_format_t, char const*) call site: 00672 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
185 381 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_to (unsigned int&, nlohmann::json_abi_v3_12_0::detail::input_format_t, char const*) call site: 00381 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
130 976 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: 00976 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
57 567 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_to (float&, nlohmann::json_abi_v3_12_0::detail::input_format_t, char const*) call site: 00567 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
46 625 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_to (signed char&, nlohmann::json_abi_v3_12_0::detail::input_format_t, char const*) call site: 00625
14 1209 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>::write_bson_array(std::__1::basic_string , std::__1::allocator > const&, std::__1::vector , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, std::__1::allocator , 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: 01209 _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_iRKSD_SL_
9 150 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [24], std::__1::basic_string , std::__1::allocator > >(char const (&) [24], std::__1::basic_string , std::__1::allocator >&&) call site: 00150 _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_iRKSD_SK_
8 366 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::parse_bson_element_internal(unsigned long, unsigned long) call site: 00366
5 8 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>::json_value::json_value(nlohmann::json_abi_v3_12_0::detail::value_t) call site: 00008 _ZN8nlohmann16json_abi_v3_12_06detail11other_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
5 58 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>::from_bson > const&>(std::__1::vector > const&, bool, bool) call site: 00058 __clang_call_terminate
5 375 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_to (unsigned short&, nlohmann::json_abi_v3_12_0::detail::input_format_t, char const*) call site: 00375
5 1157 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [13], std::__1::basic_string , std::__1::allocator >, char const (&) [21], std::__1::basic_string , std::__1::allocator > >(char const (&) [13], std::__1::basic_string , std::__1::allocator >&&, char const (&) [21], std::__1::basic_string , std::__1::allocator >&&) call site: 01157 _ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_

Runtime coverage analysis

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

Files reached

filename functions hit
/src/json/tests/src/fuzzer-parse_bson.cpp 1
/src/json/tests/../single_include/nlohmann/json.hpp 442
/usr/local/bin/../include/c++/v1/__exception/exception.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 725 57.1%
gold [1:9] 29 2.28%
yellow [10:29] 26 2.05%
greenyellow [30:49] 9 0.70%
lawngreen 50+ 479 37.7%
All colors 1268 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
303 672 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_to (short&, nlohmann::json_abi_v3_12_0::detail::input_format_t, char const*) call site: 00672 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
130 976 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: 00976 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
46 578 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::parse_cbor_internal(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t) call site: 00578 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
46 625 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_to (signed char&, nlohmann::json_abi_v3_12_0::detail::input_format_t, char const*) call site: 00625
24 529 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::parse_cbor_internal(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t) call site: 00529 _ZN8nlohmann16json_abi_v3_12_06detail23conditional_static_castImhTnNSt3__19enable_ifIXntsr3std7is_sameIT_T0_EE5valueEiE4typeELi0EEES5_S6_
18 231 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 , std::__1::__wrap_iter > >::handle_value , std::__1::allocator >&>(std::__1::basic_string , std::__1::allocator >&) call site: 00231 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
16 1212 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>::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&) call site: 01212
9 1148 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>::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&) call site: 01148 _ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhE12to_char_typeIhTnPNS4_9enable_ifIXsr3std11is_unsignedIT_EE5valueEvE4typeELPv0EEEhh
8 204 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [38], std::__1::basic_string , std::__1::allocator > >(char const (&) [38], std::__1::basic_string , std::__1::allocator >&&) call site: 00204 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
6 213 unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__wrap_iter >::get_elements (char*, unsigned long) call site: 00213 __assert_fail
6 1240 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>::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&) call site: 01240 _ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhE12to_char_typeIhTnPNS4_9enable_ifIXsr3std11is_unsignedIT_EE5valueEvE4typeELPv0EEEhh
5 8 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>::json_value::json_value(nlohmann::json_abi_v3_12_0::detail::value_t) call site: 00008 _ZN8nlohmann16json_abi_v3_12_06detail11other_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_

Runtime coverage analysis

Covered functions
267
Functions that are reachable but not covered
274
Reachable functions
780
Percentage of reachable functions covered
64.87%
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 1
/src/json/tests/../single_include/nlohmann/json.hpp 419
/usr/local/bin/../include/c++/v1/__exception/exception.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 745 60.3%
gold [1:9] 20 1.61%
yellow [10:29] 5 0.40%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 465 37.6%
All colors 1235 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
277 698 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::parse_msgpack_internal() call site: 00698 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
130 976 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: 00976 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
83 441 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_string (nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned short, std::__1::basic_string , std::__1::allocator >&) call site: 00441 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
40 525 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [17], std::__1::basic_string , std::__1::allocator >&>(char const (&) [17], std::__1::basic_string , std::__1::allocator >&) call site: 00525 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
22 383 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_number (nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned int&) call site: 00383 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
18 231 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 , std::__1::__wrap_iter > >::handle_value , std::__1::allocator >&>(std::__1::basic_string , std::__1::allocator >&) call site: 00231 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
17 417 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_binary (nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&) call site: 00417 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
13 360 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 , std::__1::__wrap_iter > >::handle_value (unsigned long&) call site: 00360 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
11 150 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [24], std::__1::basic_string , std::__1::allocator > >(char const (&) [24], std::__1::basic_string , std::__1::allocator >&&) call site: 00150 _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_iRKSD_SK_
9 569 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_number (nlohmann::json_abi_v3_12_0::detail::input_format_t, float&) call site: 00569 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
8 204 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [38], std::__1::basic_string , std::__1::allocator > >(char const (&) [38], std::__1::basic_string , std::__1::allocator >&&) call site: 00204 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
6 213 unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__wrap_iter >::get_elements (char*, unsigned long) call site: 00213 __assert_fail

Runtime coverage analysis

Covered functions
262
Functions that are reachable but not covered
281
Reachable functions
788
Percentage of reachable functions covered
64.34%
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 1
/src/json/tests/../single_include/nlohmann/json.hpp 423
/usr/local/bin/../include/c++/v1/__exception/exception.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 559 48.5%
gold [1:9] 15 1.30%
yellow [10:29] 3 0.26%
greenyellow [30:49] 1 0.08%
lawngreen 50+ 574 49.8%
All colors 1152 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
95 520 void nlohmann::json_abi_v3_12_0::detail::external_constructor<(nlohmann::json_abi_v3_12_0::detail::value_t)6>::construct , 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>&, 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>::number_unsigned_t) call site: 00520 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKNS1_10position_tERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
95 999 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::__wrap_iter > >::exception_message(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, std::__1::basic_string , std::__1::allocator > const&) call site: 00999
67 190 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>::data::~data() call site: 00190 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE5eraseINS0_6detail9iter_implISE_EETnNS2_9enable_ifIXoosr3std7is_sameIT_SI_EE5valuesr3std7is_sameISK_NSH_IKSE_EEEE5valueEiE4typeELi0EEESK_SK_
21 414 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRSA_SA_TnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SI_EE5valueEiE4typeELi0EEEOT_ call site: 00414 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKNS1_10position_tERKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
20 317 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>::json_value::json_value(std::__1::basic_string , std::__1::allocator > const&) call site: 00317 __assert_fail
20 436 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [23], std::__1::basic_string , std::__1::allocator > >(char const (&) [23], std::__1::basic_string , std::__1::allocator >&&) call site: 00436 _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_iRKSD_SK_
17 276 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>::operator=(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: 00276 __assert_fail
15 258 unsigned long nlohmann::json_abi_v3_12_0::detail::concat_length (char const*, char const* const&) call site: 00258 _ZN8nlohmann16json_abi_v3_12_06detail10type_error6createIPNS0_10basic_jsonINSt3__13mapENS5_6vectorENS5_12basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEEblmdSB_NS0_14adl_serializerENS7_IhNSB_IhEEEEvEETnNS5_9enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKSD_SK_
15 389 nlohmann::json_abi_v3_12_0::detail::parse_error::parse_error(int, unsigned long, char const*) call site: 00389 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRSA_SA_TnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SI_EE5valueEiE4typeELi0EEEOT_
13 303 nlohmann::json_abi_v3_12_0::detail::out_of_range::out_of_range(int, char const*) call site: 00303 __cxa_throw
13 746 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: 00746 _ZN8nlohmann16json_abi_v3_12_06detail10type_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
10 459 _ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_ call site: 00459 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRddTnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SI_EE5valueEiE4typeELi0EEEOT_

Runtime coverage analysis

Covered functions
275
Functions that are reachable but not covered
223
Reachable functions
759
Percentage of reachable functions covered
70.62%
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 1
/src/json/tests/../single_include/nlohmann/json.hpp 403
/usr/local/bin/../include/c++/v1/__exception/exception.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 645 40.1%
gold [1:9] 71 4.42%
yellow [10:29] 14 0.87%
greenyellow [30:49] 23 1.43%
lawngreen 50+ 853 53.1%
All colors 1606 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
121 1206 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [39], std::__1::basic_string , std::__1::allocator > >(char const (&) [39], std::__1::basic_string , std::__1::allocator >&&) call site: 01206 _ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhE31write_number_with_ubjson_prefixImTnNS4_9enable_ifIXsr3std11is_unsignedIT_EE5valueEiE4typeELi0EEEvSK_bb
77 488 bool 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 , std::__1::__wrap_iter > >::parse_error (unsigned long, std::__1::basic_string , std::__1::allocator > const&, nlohmann::json_abi_v3_12_0::detail::out_of_range const&) call site: 00488 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
55 568 unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__wrap_iter >::get_elements (float*, unsigned long) call site: 00568 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
44 626 unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__wrap_iter >::get_elements (signed char*, unsigned long) call site: 00626
34 382 unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__wrap_iter >::get_elements (unsigned int*, unsigned long) call site: 00382 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
25 446 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_string (nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned long, std::__1::basic_string , std::__1::allocator >&) call site: 00446 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
25 673 unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter , std::__1::__wrap_iter >::get_elements (short*, unsigned long) call site: 00673 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
22 1163 _ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhE31write_number_with_ubjson_prefixIlTnNS4_9enable_ifIXaasr3std9is_signedIT_EE5valuentsr3std17is_floating_pointISK_EE5valueEiE4typeELi0EEEvSK_bb call site: 01163 _ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRKllTnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SJ_EE5valueEiE4typeELi0EEEOT_
18 231 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 , std::__1::__wrap_iter > >::handle_value , std::__1::allocator >&>(std::__1::basic_string , std::__1::allocator >&) call site: 00231 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
17 417 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_binary (nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&) call site: 00417 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
11 472 bool nlohmann::json_abi_v3_12_0::detail::value_in_range_of (unsigned long) call site: 00472 _ZN8nlohmann16json_abi_v3_12_06detail12out_of_range6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
10 363 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: 00363 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_

Runtime coverage analysis

Covered functions
396
Functions that are reachable but not covered
257
Reachable functions
981
Percentage of reachable functions covered
73.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_bjdata.cpp 1
/src/json/tests/../single_include/nlohmann/json.hpp 543
/usr/local/bin/../include/c++/v1/__exception/exception.h 2

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 926 57.6%
gold [1:9] 80 4.98%
yellow [10:29] 8 0.49%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 592 36.8%
All colors 1606 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
77 488 bool 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 , std::__1::__wrap_iter > >::parse_error (unsigned long, std::__1::basic_string , std::__1::allocator > const&, nlohmann::json_abi_v3_12_0::detail::out_of_range const&) call site: 00488 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
75 1248 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(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, unsigned int, unsigned int) call site: 01248 __assert_fail
75 1507 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>::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) call site: 01507 _ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE3getImmEEDTcldtclL_ZNS2_7declvalB8ne220000IRKSE_EEDTclsr3stdE9__declvalIT_ELi0EEEvEE8get_implIT0_EtlNS0_6detail12priority_tagILj4EEEEEEv
56 381 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_to (unsigned int&, nlohmann::json_abi_v3_12_0::detail::input_format_t, char const*) call site: 00381 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
54 569 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_number (nlohmann::json_abi_v3_12_0::detail::input_format_t, float&) call site: 00569 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
45 438 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_string (nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned char, std::__1::basic_string , std::__1::allocator >&) call site: 00438 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
43 627 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_number (nlohmann::json_abi_v3_12_0::detail::input_format_t, signed char&) call site: 00627
37 1447 _ZNK8nlohmann16json_abi_v3_12_06detail9iter_implIKNS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEneISI_TnNS4_9enable_ifIXoosr3std7is_sameIT_SI_EE5valuesr3std7is_sameISL_NS2_ISG_EEEE5valueEDnE4typeELDn0EEEbRKSL_ call site: 01447 _ZNK8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvE3getIllEEDTcldtclL_ZNS2_7declvalB8ne220000IRKSE_EEDTclsr3stdE9__declvalIT_ELi0EEEvEE8get_implIT0_EtlNS0_6detail12priority_tagILj4EEEEEEv
33 1206 std::__1::basic_string , std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat , std::__1::allocator >, char const (&) [39], std::__1::basic_string , std::__1::allocator > >(char const (&) [39], std::__1::basic_string , std::__1::allocator >&&) call site: 01206 _ZN8nlohmann16json_abi_v3_12_06detail10type_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_iRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
32 1414 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>::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) call site: 01414 _ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhE31write_number_with_ubjson_prefixImTnNS4_9enable_ifIXsr3std11is_unsignedIT_EE5valueEiE4typeELi0EEEvSK_bb
24 674 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::__wrap_iter >, 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 , std::__1::__wrap_iter > > >::get_number (nlohmann::json_abi_v3_12_0::detail::input_format_t, short&) call site: 00674 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_
23 767 nlohmann::json_abi_v3_12_0::detail::value_in_range_of_impl1 ::test(long) call site: 00767 _ZN8nlohmann16json_abi_v3_12_06detail11parse_error6createIDnTnNSt3__19enable_ifIXsr21is_basic_json_contextIT_EE5valueEiE4typeELi0EEES2_imRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES6_

Runtime coverage analysis

Covered functions
317
Functions that are reachable but not covered
388
Reachable functions
981
Percentage of reachable functions covered
60.45%
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 1
/src/json/tests/../single_include/nlohmann/json.hpp 543
/usr/local/bin/../include/c++/v1/__exception/exception.h 2

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

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

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
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>::calc_bson_array_size(std::__1::vector ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>,std::__1::allocator ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_12_0::adl_serializer,std::__1::vector >,void>>>const&)::{lambda(unsignedlong,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&)#1}::operator()(unsignedlong,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&)const /src/json/tests/../single_include/nlohmann/json.hpp 3 ['N/A', 'size_t', 'N/A'] 11 0 50 6 6 81 0 174 70

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

Functions statically reachable by fuzzers
96.0%
824 / 858
Cyclomatic complexity statically reachable by fuzzers
99.0%
7170 / 7239

All functions overview

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

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

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-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=['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::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_to(short&, nlohmann::json_abi_v3_12_0::detail::input_format_t, 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::iterator_input_adapter, std::__1::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_to(unsigned int&, nlohmann::json_abi_v3_12_0::detail::input_format_t, 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 >&&)', '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::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_to(float&, nlohmann::json_abi_v3_12_0::detail::input_format_t, 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::iterator_input_adapter, std::__1::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_to(signed char&, nlohmann::json_abi_v3_12_0::detail::input_format_t, 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>::write_bson_array(std::__1::basic_string, std::__1::allocator > const&, std::__1::vector, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void>, std::__1::allocator, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::json_abi_v3_12_0::adl_serializer, std::__1::vector >, void> > > const&)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [24], std::__1::basic_string, std::__1::allocator > >(char const (&) [24], 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::__wrap_iter >, 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, std::__1::__wrap_iter > > >::parse_bson_element_internal(unsigned long, unsigned long)', '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>::json_value::json_value(nlohmann::json_abi_v3_12_0::detail::value_t)', '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>::from_bson > const&>(std::__1::vector > const&, bool, bool)']

/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=['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::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_to(short&, nlohmann::json_abi_v3_12_0::detail::input_format_t, 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::__wrap_iter >, 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, std::__1::__wrap_iter > > >::parse_cbor_internal(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t)', '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::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_to(signed char&, nlohmann::json_abi_v3_12_0::detail::input_format_t, 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::iterator_input_adapter, std::__1::__wrap_iter >, 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, std::__1::__wrap_iter > > >::parse_cbor_internal(bool, nlohmann::json_abi_v3_12_0::detail::cbor_tag_handler_t)', '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, std::__1::__wrap_iter > >::handle_value, std::__1::allocator >&>(std::__1::basic_string, std::__1::allocator >&)', '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>::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&)', '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>::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&)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [38], std::__1::basic_string, std::__1::allocator > >(char const (&) [38], std::__1::basic_string, std::__1::allocator >&&)', 'unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__wrap_iter >::get_elements(char*, unsigned long)']

/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::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::__wrap_iter >, 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, std::__1::__wrap_iter > > >::parse_msgpack_internal()', '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, std::__1::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_string(nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned short, 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 (&) [17], std::__1::basic_string, std::__1::allocator >&>(char const (&) [17], 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, std::__1::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_number(nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned int&)', '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, std::__1::__wrap_iter > >::handle_value, std::__1::allocator >&>(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, std::__1::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_binary(nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&)', '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, std::__1::__wrap_iter > >::handle_value(unsigned long&)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [24], std::__1::basic_string, std::__1::allocator > >(char const (&) [24], 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, std::__1::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_number(nlohmann::json_abi_v3_12_0::detail::input_format_t, float&)']

/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=['void nlohmann::json_abi_v3_12_0::detail::external_constructor<(nlohmann::json_abi_v3_12_0::detail::value_t)6>::construct, 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>&, 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>::number_unsigned_t)', '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::__wrap_iter > >::exception_message(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, std::__1::basic_string, std::__1::allocator > 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>::data::~data()', '_ZN8nlohmann16json_abi_v3_12_010basic_jsonINSt3__13mapENS2_6vectorENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEblmdS8_NS0_14adl_serializerENS4_IhNS8_IhEEEEvEC2IRSA_SA_TnNS2_9enable_ifIXaantsr6detail13is_basic_jsonIT0_EE5valuesr6detail18is_compatible_typeISE_SI_EE5valueEiE4typeELi0EEEOT_', '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>::json_value::json_value(std::__1::basic_string, std::__1::allocator > const&)', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [23], std::__1::basic_string, std::__1::allocator > >(char const (&) [23], 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>::operator=(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>)', 'unsigned long nlohmann::json_abi_v3_12_0::detail::concat_length(char const*, char const* const&)', 'nlohmann::json_abi_v3_12_0::detail::parse_error::parse_error(int, unsigned long, char const*)', 'nlohmann::json_abi_v3_12_0::detail::out_of_range::out_of_range(int, char const*)']

/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=['std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [39], std::__1::basic_string, std::__1::allocator > >(char const (&) [39], std::__1::basic_string, std::__1::allocator >&&)', 'bool 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, std::__1::__wrap_iter > >::parse_error(unsigned long, std::__1::basic_string, std::__1::allocator > const&, nlohmann::json_abi_v3_12_0::detail::out_of_range const&)', 'unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__wrap_iter >::get_elements(float*, unsigned long)', 'unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__wrap_iter >::get_elements(signed char*, unsigned long)', 'unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__wrap_iter >::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::iterator_input_adapter, std::__1::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_string(nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned long, std::__1::basic_string, std::__1::allocator >&)', 'unsigned long nlohmann::json_abi_v3_12_0::detail::iterator_input_adapter, std::__1::__wrap_iter >::get_elements(short*, unsigned long)', '_ZN8nlohmann16json_abi_v3_12_06detail13binary_writerINS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEhE31write_number_with_ubjson_prefixIlTnNS4_9enable_ifIXaasr3std9is_signedIT_EE5valuentsr3std17is_floating_pointISK_EE5valueEiE4typeELi0EEEvSK_bb', '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, std::__1::__wrap_iter > >::handle_value, std::__1::allocator >&>(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, std::__1::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_binary(nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned long, nlohmann::json_abi_v3_12_0::byte_container_with_subtype > >&)']

/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=['bool 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, std::__1::__wrap_iter > >::parse_error(unsigned long, std::__1::basic_string, std::__1::allocator > const&, nlohmann::json_abi_v3_12_0::detail::out_of_range const&)', '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(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, unsigned int, unsigned int)', '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>::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)', '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::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_to(unsigned int&, nlohmann::json_abi_v3_12_0::detail::input_format_t, 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::iterator_input_adapter, std::__1::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_number(nlohmann::json_abi_v3_12_0::detail::input_format_t, 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::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_string(nlohmann::json_abi_v3_12_0::detail::input_format_t, unsigned char, 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, std::__1::__wrap_iter >, 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, std::__1::__wrap_iter > > >::get_number(nlohmann::json_abi_v3_12_0::detail::input_format_t, signed char&)', '_ZNK8nlohmann16json_abi_v3_12_06detail9iter_implIKNS0_10basic_jsonINSt3__13mapENS4_6vectorENS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEblmdSA_NS0_14adl_serializerENS6_IhNSA_IhEEEEvEEEneISI_TnNS4_9enable_ifIXoosr3std7is_sameIT_SI_EE5valuesr3std7is_sameISL_NS2_ISG_EEEE5valueEDnE4typeELDn0EEEbRKSL_', 'std::__1::basic_string, std::__1::allocator > nlohmann::json_abi_v3_12_0::detail::concat, std::__1::allocator >, char const (&) [39], std::__1::basic_string, std::__1::allocator > >(char const (&) [39], std::__1::basic_string, std::__1::allocator >&&)', '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>::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)']

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) 60 24 40.0% ['parse_afl_fuzzer', 'parse_bjdata_fuzzer', 'parse_msgpack_fuzzer', 'parse_bson_fuzzer', 'parse_cbor_fuzzer', 'parse_ubjson_fuzzer']
nlohmann::json_abi_v3_12_0::detail::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 >::parse(bool,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>&) 40 16 40.0% ['parse_afl_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(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&,bool,bool,unsignedint,unsignedint) 215 99 46.04% ['parse_afl_fuzzer', 'parse_ubjson_fuzzer', 'parse_bjdata_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_escaped(std::__1::basic_string ,std::__1::allocator >const&,bool) 184 88 47.82% ['parse_afl_fuzzer', 'parse_ubjson_fuzzer', 'parse_bjdata_fuzzer']
nlohmann::json_abi_v3_12_0::detail::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 ,std::__1::__wrap_iter >>::parse(bool,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>&) 40 11 27.50% ['parse_afl_fuzzer']
boolnlohmann::json_abi_v3_12_0::detail::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 ,std::__1::__wrap_iter >>::sax_parse_internal ,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 ,std::__1::__wrap_iter >>>(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 ,std::__1::__wrap_iter >>*) 230 125 54.34% ['parse_afl_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/src/fuzzer-parse_json.cpp ['parse_afl_fuzzer'] ['parse_afl_fuzzer']
/src/json/tests/src/fuzzer-parse_bjdata.cpp ['parse_bjdata_fuzzer'] ['parse_bjdata_fuzzer']
/usr/local/bin/../include/c++/v1/string [] []
/src/json/tests/src/fuzzer-parse_cbor.cpp ['parse_cbor_fuzzer'] ['parse_cbor_fuzzer']
/src/json/tests/src/fuzzer-parse_ubjson.cpp ['parse_ubjson_fuzzer'] ['parse_ubjson_fuzzer']
/usr/local/bin/../include/c++/v1/__exception/exception.h ['parse_bson_fuzzer', 'parse_cbor_fuzzer', 'parse_msgpack_fuzzer', 'parse_afl_fuzzer', 'parse_bjdata_fuzzer', 'parse_ubjson_fuzzer'] []
/src/json/tests/src/fuzzer-parse_bson.cpp ['parse_bson_fuzzer'] ['parse_bson_fuzzer']
/src/json/tests/src/fuzzer-parse_msgpack.cpp ['parse_msgpack_fuzzer'] ['parse_msgpack_fuzzer']
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/json/tests/../single_include/nlohmann/json.hpp ['parse_bson_fuzzer', 'parse_cbor_fuzzer', 'parse_msgpack_fuzzer', 'parse_afl_fuzzer', 'parse_bjdata_fuzzer', 'parse_ubjson_fuzzer'] []

Directories in report

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