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

Fuzzers overview

Fuzzer Fuzzer filename Functions Reached Functions unreached Fuzzer depth Files reached Basic blocks reached Cyclomatic complexity Details
fuzz_bigint /src/jsoncons/./fuzzers/fuzz_bigint.cpp 172 7 12 5 749 420 fuzz_bigint.cpp
fuzz_json_parser_max /src/jsoncons/./fuzzers/fuzz_json_parser_max.cpp 240 102 10 13 1858 652 fuzz_json_parser_max.cpp
fuzz_ubjson_encoder /src/jsoncons/./fuzzers/fuzz_ubjson_encoder.cpp 185 136 8 14 742 446 fuzz_ubjson_encoder.cpp
fuzz_cbor_view /src/jsoncons/./fuzzers/fuzz_cbor_view.cpp 205 6 9 6 1081 460 fuzz_cbor_view.cpp
fuzz_bson_encoder /src/jsoncons/./fuzzers/fuzz_bson_encoder.cpp 187 133 8 17 802 407 fuzz_bson_encoder.cpp
fuzz_bson_parser_max /src/jsoncons/./fuzzers/fuzz_bson_parser_max.cpp 176 94 8 15 782 389 fuzz_bson_parser_max.cpp
fuzz_msgpack_encoder /src/jsoncons/./fuzzers/fuzz_msgpack_encoder.cpp 356 288 12 17 1402 772 fuzz_msgpack_encoder.cpp
fuzz_msgpack_decode_iterator_source /src/jsoncons/./fuzzers/fuzz_msgpack_decode_iterator_source.cpp 496 860 14 25 1611 945 fuzz_msgpack_decode_iterator_source.cpp
fuzz_csv /src/jsoncons/./fuzzers/fuzz_csv.cpp 490 770 15 23 3503 1641 fuzz_csv.cpp
fuzz_msgpack_parser_max /src/jsoncons/./fuzzers/fuzz_msgpack_parser_max.cpp 339 227 12 15 1378 748 fuzz_msgpack_parser_max.cpp
fuzz_json_cursor /src/jsoncons/./fuzzers/fuzz_json_cursor.cpp 347 168 12 23 2434 989 fuzz_json_cursor.cpp
fuzz_json_encoder /src/jsoncons/./fuzzers/fuzz_json_encoder.cpp 279 310 10 16 1956 744 fuzz_json_encoder.cpp
fuzz_cbor_encoder /src/jsoncons/./fuzzers/fuzz_cbor_encoder.cpp 805 535 14 26 5170 3153 fuzz_cbor_encoder.cpp
fuzz_cbor_parser_max /src/jsoncons/./fuzzers/fuzz_cbor_parser_max.cpp 772 429 14 24 5090 3094 fuzz_cbor_parser_max.cpp
fuzz_bson /src/jsoncons/./fuzzers/fuzz_bson.cpp 332 735 10 26 1087 651 fuzz_bson.cpp
fuzz_ubjson_parser_max /src/jsoncons/./fuzzers/fuzz_ubjson_parser_max.cpp 174 96 8 12 720 426 fuzz_ubjson_parser_max.cpp
fuzz_parse /src/jsoncons/./fuzzers/fuzz_parse.cpp 308 694 10 16 1900 742 fuzz_parse.cpp
fuzz_csv_encoder /src/jsoncons/./fuzzers/fuzz_csv_encoder.cpp 445 219 14 21 3507 1610 fuzz_csv_encoder.cpp
fuzz_msgpack_decode_bytes_source /src/jsoncons/./fuzzers/fuzz_msgpack_decode_bytes_source.cpp 480 860 14 25 1568 920 fuzz_msgpack_decode_bytes_source.cpp
fuzz_cbor_cursor /src/jsoncons/./fuzzers/fuzz_cbor_cursor.cpp 890 493 16 32 5742 3467 fuzz_cbor_cursor.cpp
fuzz_cbor /src/jsoncons/./fuzzers/fuzz_cbor.cpp 944 1067 16 33 5412 3375 fuzz_cbor.cpp
fuzz_cbor_typed_array /src/jsoncons/./fuzzers/fuzz_cbor_typed_array.cpp 806 519 16 26 5194 3192 fuzz_cbor_typed_array.cpp
fuzz_ubjson /src/jsoncons/./fuzzers/fuzz_ubjson.cpp 330 740 10 23 1025 688 fuzz_ubjson.cpp
fuzz_msgpack /src/jsoncons/./fuzzers/fuzz_msgpack.cpp 501 863 14 25 1690 1016 fuzz_msgpack.cpp
fuzz_cbor_noexcept /src/jsoncons/./fuzzers/fuzz_cbor_noexcept.cpp 1154 1165 15 36 8151 5104 fuzz_cbor_noexcept.cpp

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: fuzz_bigint

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 92 26.7%
gold [1:9] 11 3.19%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 241 70.0%
All colors 344 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
18 125 jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&) call site: 00125
18 147 jsoncons::detail::bigint_storage >::reduce() call site: 00147
10 100 jsoncons::basic_bigint >::get_words() const call site: 00100
10 230 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00230
6 322 jsoncons::basic_bigint >::operator>>=(unsigned long) call site: 00322
5 267 jsoncons::basic_bigint >::operator<<=(unsigned long) call site: 00267
3 26 jsoncons::detail::bigint_storage >::allocated_storage::reserve(unsigned long, std::__1::allocator const&) call site: 00026 __clang_call_terminate
3 92 jsoncons::detail::bigint_storage >::allocated_storage::allocated_storage(jsoncons::detail::bigint_storage >::allocated_storage const&, std::__1::allocator const&) call site: 00092 __clang_call_terminate
3 96 jsoncons::basic_bigint >::set_negative(bool) call site: 00096
3 182 jsoncons::to_bignum_result jsoncons::to_bigint >(char const*, unsigned long, jsoncons::basic_bigint >&, std::__1::allocator const&) call site: 00182 __cxa_allocate_exception
2 4 jsoncons::basic_bigint >::basic_bigint (char const*, std::__1::allocator const&) call site: 00004
2 36 jsoncons::detail::bigint_storage >::allocated_storage::round_up(unsigned long) call site: 00036

Runtime coverage analysis

Covered functions
75
Functions that are reachable but not covered
17
Reachable functions
172
Percentage of reachable functions covered
90.12%
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/jsoncons/./fuzzers/fuzz_bigint.cpp 1
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 77
/src/jsoncons/./include/jsoncons/utility/bignum_common.hpp 1
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 1
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 1

Fuzzer: fuzz_json_parser_max

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 59 19.0%
gold [1:9] 2 0.64%
yellow [10:29] 6 1.93%
greenyellow [30:49] 2 0.64%
lawngreen 50+ 241 77.7%
All colors 310 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
5 293 jsoncons::basic_json_reader >, std::__1::allocator >::check_done(std::__1::error_code&) call site: 00293
4 126 jsoncons::basic_json_parser >::end_positive_value(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00126
4 269 jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00269 __cxa_allocate_exception
3 13 jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&) call site: 00013
3 56 jsoncons::stream_source >::fill_buffer(char*, unsigned long) call site: 00056 __cxa_end_catch
3 98 std::__1::enable_if ::is_specialized&&ext_traits::integer_limits ::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer (char const*, unsigned long, long&) call site: 00098
3 110 jsoncons::decstr_to_double(char const*, unsigned long, double&) call site: 00110
3 165 jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00165
3 169 jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00169
2 10 jsoncons::json_source_adaptor > >::json_source_adaptor , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&) call site: 00010
2 34 jsoncons::basic_json_reader >, std::__1::allocator >::basic_json_reader , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::basic_json_visitor &, jsoncons::basic_json_decode_options const&, std::__1::allocator const&) call site: 00034
2 40 jsoncons::basic_json_reader >, std::__1::allocator >::basic_json_reader , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::basic_json_visitor &, std::__1::allocator const&) call site: 00040

Runtime coverage analysis

Covered functions
120
Functions that are reachable but not covered
30
Reachable functions
240
Percentage of reachable functions covered
87.5%
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/jsoncons/./fuzzers/fuzz_json_parser_max.cpp 1
/src/jsoncons/./include/jsoncons/json_visitor.hpp 18
/src/jsoncons/./include/jsoncons/json_reader.hpp 7
/src/jsoncons/./include/jsoncons/json_options.hpp 17
/src/jsoncons/./include/jsoncons/source_adaptor.hpp 5
/src/jsoncons/./include/jsoncons/source.hpp 11
/src/jsoncons/./include/jsoncons/json_parser.hpp 34
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 7
/src/jsoncons/./include/jsoncons/utility/number_readers.hpp 10
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 2
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 1

Fuzzer: fuzz_ubjson_encoder

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 23 11.5%
gold [1:9] 0 0.0%
yellow [10:29] 8 4.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 169 84.5%
All colors 200 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
6 40 jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long) call site: 00040 __cxa_end_catch
3 193 LLVMFuzzerTestOneInput call site: 00193
2 11 jsoncons::ubjson::basic_ubjson_encoder >, void>, std::__1::allocator >::basic_ubjson_encoder(jsoncons::bytes_sink >, void>&&, std::__1::allocator const&) call site: 00011
2 19 jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::basic_ubjson_parser , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::ubjson::ubjson_decode_options const&, std::__1::allocator const&) call site: 00019
2 22 jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&) call site: 00022
2 30 LLVMFuzzerTestOneInput call site: 00030
2 187 jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::parse(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00187 __clang_call_terminate
1 5 jsoncons::ubjson::basic_ubjson_encoder >, void>, std::__1::allocator >::basic_ubjson_encoder(jsoncons::bytes_sink >, void>&&, std::__1::allocator const&) call site: 00005
1 9 jsoncons::ubjson::basic_ubjson_encoder >, void>, std::__1::allocator >::basic_ubjson_encoder(jsoncons::bytes_sink >, void>&&, jsoncons::ubjson::ubjson_encode_options const&, std::__1::allocator const&) call site: 00009
1 17 jsoncons::ubjson::basic_ubjson_reader >, std::__1::allocator >::basic_ubjson_reader , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::basic_json_visitor &, jsoncons::ubjson::ubjson_decode_options const&, std::__1::allocator const&) call site: 00017
1 130 jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::begin_array(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00130

Runtime coverage analysis

Covered functions
117
Functions that are reachable but not covered
28
Reachable functions
185
Percentage of reachable functions covered
84.86%
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/jsoncons/./fuzzers/fuzz_ubjson_encoder.cpp 1
/src/jsoncons/./include/jsoncons/sink.hpp 2
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_encoder.hpp 3
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_options.hpp 10
/src/jsoncons/./include/jsoncons/json_visitor.hpp 18
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_reader.hpp 3
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_parser.hpp 13
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/source.hpp 18
/src/jsoncons/./include/jsoncons/utility/binary.hpp 14
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/number_readers.hpp 1
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 1

Fuzzer: fuzz_cbor_view

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 9 2.75%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 318 97.2%
All colors 327 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
5 43 jsoncons::cbor::view::parse_item(jsoncons::nonstd::span , int) call site: 00043 __cxa_allocate_exception
1 14 jsoncons::cbor::view::ondemand_detail::remaining_items(jsoncons::cbor::view::ondemand_detail::item_head const&, unsigned long) call site: 00014 __cxa_begin_catch
1 64 (anonymous namespace)::exercise_input(jsoncons::nonstd::span , int) call site: 00064 abort
1 162 jsoncons::cbor::view::item::child_range::begin() const call site: 00162
1 164 jsoncons::cbor::view::item::child_range::begin() const call site: 00164

Runtime coverage analysis

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

Files reached

filename functions hit
/src/jsoncons/./fuzzers/fuzz_cbor_view.cpp 7
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 6
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_view.hpp 62
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 18
/src/jsoncons/./include/jsoncons/nonstd/compiler_support.hpp 1
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2

Fuzzer: fuzz_bson_encoder

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 22 12.0%
gold [1:9] 5 2.74%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 155 85.1%
All colors 182 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
6 39 jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long) call site: 00039 __cxa_end_catch
3 175 LLVMFuzzerTestOneInput call site: 00175
2 11 jsoncons::bson::basic_bson_encoder >, void>, std::__1::allocator >::basic_bson_encoder(jsoncons::bytes_sink >, void>&&, std::__1::allocator const&) call site: 00011
2 19 jsoncons::bson::basic_bson_parser >, std::__1::allocator >::basic_bson_parser , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::bson::bson_decode_options const&, std::__1::allocator const&) call site: 00019
2 22 jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&) call site: 00022
2 29 LLVMFuzzerTestOneInput call site: 00029
2 57 jsoncons::bson::basic_bson_parser >, std::__1::allocator >::end_document(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00057 __clang_call_terminate
1 5 jsoncons::bson::basic_bson_encoder >, void>, std::__1::allocator >::basic_bson_encoder(jsoncons::bytes_sink >, void>&&, std::__1::allocator const&) call site: 00005
1 9 jsoncons::bson::basic_bson_encoder >, void>, std::__1::allocator >::basic_bson_encoder(jsoncons::bytes_sink >, void>&&, jsoncons::bson::bson_encode_options const&, std::__1::allocator const&) call site: 00009
1 17 jsoncons::bson::basic_bson_reader >, std::__1::allocator >::basic_bson_reader , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::basic_json_visitor &, jsoncons::bson::bson_decode_options const&, std::__1::allocator const&) call site: 00017

Runtime coverage analysis

Covered functions
127
Functions that are reachable but not covered
32
Reachable functions
187
Percentage of reachable functions covered
82.89%
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/jsoncons/./fuzzers/fuzz_bson_encoder.cpp 1
/src/jsoncons/./include/jsoncons/sink.hpp 2
/src/jsoncons/./include/jsoncons_ext/bson/bson_encoder.hpp 3
/src/jsoncons/./include/jsoncons_ext/bson/bson_options.hpp 9
/src/jsoncons/./include/jsoncons/json_visitor.hpp 17
/src/jsoncons/./include/jsoncons_ext/bson/bson_reader.hpp 3
/src/jsoncons/./include/jsoncons_ext/bson/bson_parser.hpp 13
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/source.hpp 18
/src/jsoncons/./include/jsoncons/utility/binary.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 1
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 3
/src/jsoncons/./include/jsoncons_ext/bson/bson_decimal128.hpp 3
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 1
/src/jsoncons/./include/jsoncons_ext/bson/bson_oid.hpp 5

Fuzzer: fuzz_bson_parser_max

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 20 11.6%
gold [1:9] 5 2.90%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 147 85.4%
All colors 172 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
6 29 jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long) call site: 00029 __cxa_end_catch
3 165 LLVMFuzzerTestOneInput call site: 00165
2 9 jsoncons::bson::basic_bson_parser >, std::__1::allocator >::basic_bson_parser , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::bson::bson_decode_options const&, std::__1::allocator const&) call site: 00009
2 12 jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&) call site: 00012
2 19 LLVMFuzzerTestOneInput call site: 00019
2 47 jsoncons::bson::basic_bson_parser >, std::__1::allocator >::end_document(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00047 __clang_call_terminate
2 169 LLVMFuzzerTestOneInput call site: 00169
1 7 jsoncons::bson::basic_bson_reader >, std::__1::allocator >::basic_bson_reader , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::basic_json_visitor &, jsoncons::bson::bson_decode_options const&, std::__1::allocator const&) call site: 00007

Runtime coverage analysis

Covered functions
90
Functions that are reachable but not covered
31
Reachable functions
176
Percentage of reachable functions covered
82.39%
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/jsoncons/./fuzzers/fuzz_bson_parser_max.cpp 1
/src/jsoncons/./include/jsoncons/json_visitor.hpp 19
/src/jsoncons/./include/jsoncons_ext/bson/bson_options.hpp 6
/src/jsoncons/./include/jsoncons_ext/bson/bson_reader.hpp 3
/src/jsoncons/./include/jsoncons_ext/bson/bson_parser.hpp 13
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/source.hpp 18
/src/jsoncons/./include/jsoncons/utility/binary.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 1
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 3
/src/jsoncons/./include/jsoncons_ext/bson/bson_decimal128.hpp 3
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 1
/src/jsoncons/./include/jsoncons_ext/bson/bson_oid.hpp 5

Fuzzer: fuzz_msgpack_encoder

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 108 20.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 432 80.0%
All colors 540 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
16 458 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00458
13 278 jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&) call site: 00278
11 407 jsoncons::basic_bigint >::operator<<=(unsigned long) call site: 00407
6 51 jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long) call site: 00051 __cxa_end_catch
6 436 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00436
5 264 jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&) call site: 00264
4 349 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00349 __cxa_allocate_exception
4 532 LLVMFuzzerTestOneInput call site: 00532
3 246 jsoncons::basic_bigint >::operator-=(jsoncons::basic_bigint > const&) call site: 00246
3 452 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00452
2 11 jsoncons::msgpack::basic_msgpack_encoder >, void>, std::__1::allocator >::basic_msgpack_encoder(jsoncons::bytes_sink >, void>&&, std::__1::allocator const&) call site: 00011
2 19 jsoncons::msgpack::basic_msgpack_parser >, std::__1::allocator >::basic_msgpack_parser , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::msgpack::msgpack_decode_options const&, std::__1::allocator const&) call site: 00019

Runtime coverage analysis

Covered functions
266
Functions that are reachable but not covered
42
Reachable functions
356
Percentage of reachable functions covered
88.2%
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/jsoncons/./fuzzers/fuzz_msgpack_encoder.cpp 1
/src/jsoncons/./include/jsoncons/sink.hpp 2
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_encoder.hpp 3
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_options.hpp 9
/src/jsoncons/./include/jsoncons/json_visitor.hpp 6
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_reader.hpp 3
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_parser.hpp 10
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/source.hpp 16
/src/jsoncons/./include/jsoncons/generic_visitor.hpp 17
/src/jsoncons/./include/jsoncons/utility/binary.hpp 20
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 3
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 76
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 1
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 1

Fuzzer: fuzz_msgpack_decode_iterator_source

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 124 19.3%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 516 80.6%
All colors 640 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
16 478 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00478
14 402 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00402
13 298 jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&) call site: 00298
11 427 jsoncons::basic_bigint >::operator<<=(unsigned long) call site: 00427
6 456 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00456
5 284 jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&) call site: 00284
5 472 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00472
4 369 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00369 __cxa_allocate_exception
4 560 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::msgpack::try_decode_msgpack >, std::__1::__wrap_iter >(std::__1::__wrap_iter , std::__1::__wrap_iter , jsoncons::msgpack::msgpack_decode_options const&) call site: 00560
3 266 jsoncons::basic_bigint >::operator-=(jsoncons::basic_bigint > const&) call site: 00266
3 565 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::msgpack::try_decode_msgpack >, std::__1::__wrap_iter >(std::__1::__wrap_iter , std::__1::__wrap_iter , jsoncons::msgpack::msgpack_decode_options const&) call site: 00565
2 67 jsoncons::msgpack::basic_msgpack_reader >, std::__1::allocator >::basic_msgpack_reader > >(jsoncons::iterator_source >&&, jsoncons::basic_json_visitor &, jsoncons::msgpack::msgpack_decode_options const&, std::__1::allocator const&) call site: 00067

Runtime coverage analysis

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

Files reached

filename functions hit
/src/jsoncons/./fuzzers/fuzz_msgpack_decode_iterator_source.cpp 1
/src/jsoncons/./include/jsoncons_ext/msgpack/decode_msgpack.hpp 2
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_options.hpp 6
/src/jsoncons/./include/jsoncons/json_decoder.hpp 4
/src/jsoncons/./include/jsoncons/json_visitor.hpp 6
/src/jsoncons/./include/jsoncons/basic_json.hpp 30
/src/jsoncons/./include/jsoncons/utility/heap_string.hpp 6
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 5
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 3
/src/jsoncons/./include/jsoncons/allocator_holder.hpp 1
/src/jsoncons/./include/jsoncons/json_filter.hpp 5
/src/jsoncons/./include/jsoncons/source.hpp 13
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_reader.hpp 5
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_parser.hpp 12
/src/jsoncons/./include/jsoncons/ser_common.hpp 7
/src/jsoncons/./include/jsoncons/generic_visitor.hpp 17
/src/jsoncons/./include/jsoncons/utility/binary.hpp 20
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 3
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 76
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 9
/src/jsoncons/./include/jsoncons/json_type.hpp 1
/src/jsoncons/./include/jsoncons/json_exception.hpp 4
/usr/local/bin/../include/c++/v1/__exception/exception.h 1

Fuzzer: fuzz_csv

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 461 65.0%
gold [1:9] 2 0.28%
yellow [10:29] 0 0.0%
greenyellow [30:49] 5 0.70%
lawngreen 50+ 241 33.9%
All colors 709 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
110 240 jsoncons::decstr_to_double(char const*, unsigned long, double&) call site: 00240 __cxa_allocate_exception
108 506 jsoncons::csv::basic_csv_parser >::parse_some(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00506 __cxa_allocate_exception
44 409 jsoncons::ser_error::ser_error(std::__1::error_code, unsigned long, unsigned long) call site: 00409 __cxa_throw
42 171 jsoncons::csv::basic_csv_parser >::end_unquoted_string_value(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00171
30 101 void jsoncons::csv::detail::parse_column_types > >(std::__1::basic_string , std::__1::allocator > const&, std::__1::vector >&) call site: 00101 __cxa_allocate_exception
13 393 jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00393 __cxa_allocate_exception
11 470 jsoncons::csv::basic_csv_parser >::end_value(jsoncons::basic_json_visitor &, bool, std::__1::error_code&) call site: 00470 isspace
8 19 jsoncons::heap::heap_string_factory >::destroy(jsoncons::heap::heap_string >*) call site: 00019
7 228 std::__1::enable_if ::is_specialized&&ext_traits::integer_limits ::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer (char const*, unsigned long, long&) call site: 00228
6 488 jsoncons::csv::basic_csv_parser >::end_quoted_string_value(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00488
5 380 jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00380
4 56 LLVMFuzzerTestOneInput call site: 00056

Runtime coverage analysis

Covered functions
224
Functions that are reachable but not covered
192
Reachable functions
490
Percentage of reachable functions covered
60.82%
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/jsoncons/./fuzzers/fuzz_csv.cpp 1
/src/jsoncons/./include/jsoncons/json_decoder.hpp 2
/src/jsoncons/./include/jsoncons/json_visitor.hpp 30
/src/jsoncons/./include/jsoncons/basic_json.hpp 16
/src/jsoncons/./include/jsoncons/utility/heap_string.hpp 6
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 6
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 4
/src/jsoncons/./include/jsoncons/allocator_holder.hpp 1
/src/jsoncons/./include/jsoncons_ext/csv/csv_options.hpp 44
/src/jsoncons/./include/jsoncons_ext/csv/csv_reader.hpp 5
/src/jsoncons/./include/jsoncons/source_adaptor.hpp 3
/src/jsoncons/./include/jsoncons/source.hpp 4
/src/jsoncons/./include/jsoncons_ext/csv/csv_parser.hpp 27
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 6
/src/jsoncons/./include/jsoncons/json_parser.hpp 33
/src/jsoncons/./include/jsoncons/json_options.hpp 17
/src/jsoncons/./include/jsoncons/utility/number_readers.hpp 10
/src/jsoncons/./include/jsoncons/json_exception.hpp 14
/usr/local/bin/../include/c++/v1/__exception/exception.h 2
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 3
/usr/local/bin/../include/c++/v1/stdexcept 1

Fuzzer: fuzz_msgpack_parser_max

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 122 23.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 406 76.8%
All colors 528 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
16 448 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00448
14 372 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00372
13 268 jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&) call site: 00268
11 397 jsoncons::basic_bigint >::operator<<=(unsigned long) call site: 00397
6 41 jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long) call site: 00041 __cxa_end_catch
6 426 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00426
5 254 jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&) call site: 00254
5 442 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00442
4 339 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00339 __cxa_allocate_exception
4 522 LLVMFuzzerTestOneInput call site: 00522
3 236 jsoncons::basic_bigint >::operator-=(jsoncons::basic_bigint > const&) call site: 00236
2 9 jsoncons::msgpack::basic_msgpack_parser >, std::__1::allocator >::basic_msgpack_parser , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::msgpack::msgpack_decode_options const&, std::__1::allocator const&) call site: 00009

Runtime coverage analysis

Covered functions
231
Functions that are reachable but not covered
38
Reachable functions
339
Percentage of reachable functions covered
88.79%
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/jsoncons/./fuzzers/fuzz_msgpack_parser_max.cpp 1
/src/jsoncons/./include/jsoncons/json_visitor.hpp 6
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_options.hpp 6
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_reader.hpp 3
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_parser.hpp 10
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/source.hpp 16
/src/jsoncons/./include/jsoncons/generic_visitor.hpp 17
/src/jsoncons/./include/jsoncons/utility/binary.hpp 20
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 3
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 76
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 1
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 1

Fuzzer: fuzz_json_cursor

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 171 41.2%
gold [1:9] 17 4.09%
yellow [10:29] 7 1.68%
greenyellow [30:49] 2 0.48%
lawngreen 50+ 218 52.5%
All colors 415 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
49 210 jsoncons::basic_json_parser >::parse_false(char const*, jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00210
30 353 void jsoncons::prettify_string , std::__1::allocator > >(char const*, int, int, int, int, std::__1::basic_string , std::__1::allocator >&) call site: 00353 snprintf
18 313 jsoncons::write_double::write_double(jsoncons::float_chars_format, int) call site: 00313 ldexp
9 161 jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00161
8 294 std::__1::enable_if , std::__1::allocator > >::value&&std::is_same , std::__1::allocator >::value_type, char>::value, std::__1::basic_string , std::__1::allocator > >::type jsoncons::basic_staj_event ::get_ , std::__1::allocator >, std::__1::allocator , char>(std::__1::allocator , std::__1::error_code&) const call site: 00294
8 392 bool jsoncons::dtoa_general , std::__1::allocator > >(double, char, std::__1::basic_string , std::__1::allocator >&, std::__1::integral_constant ) call site: 00392 __cxa_allocate_exception
4 124 jsoncons::basic_json_parser >::end_positive_value(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00124
4 267 jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00267 __cxa_allocate_exception
3 52 jsoncons::stream_source >::fill_buffer(char*, unsigned long) call site: 00052 __cxa_end_catch
3 96 std::__1::enable_if ::is_specialized&&ext_traits::integer_limits ::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer (char const*, unsigned long, long&) call site: 00096
3 108 jsoncons::decstr_to_double(char const*, unsigned long, double&) call site: 00108
2 5 jsoncons::basic_json_cursor >, std::__1::allocator >::basic_json_cursor , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, std::__1::error_code&) call site: 00005

Runtime coverage analysis

Covered functions
153
Functions that are reachable but not covered
62
Reachable functions
347
Percentage of reachable functions covered
82.13%
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/jsoncons/./fuzzers/fuzz_json_cursor.cpp 1
/src/jsoncons/./include/jsoncons/json_cursor.hpp 10
/src/jsoncons/./include/jsoncons/json_options.hpp 17
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/staj_cursor.hpp 5
/src/jsoncons/./include/jsoncons/source_adaptor.hpp 4
/src/jsoncons/./include/jsoncons/source.hpp 10
/src/jsoncons/./include/jsoncons/json_parser.hpp 34
/src/jsoncons/./include/jsoncons/json_visitor.hpp 16
/src/jsoncons/./include/jsoncons/staj_event.hpp 7
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 7
/src/jsoncons/./include/jsoncons/utility/number_readers.hpp 10
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 2
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 1
/src/jsoncons/./include/jsoncons/nonstd/make_obj_using_allocator.hpp 3
/src/jsoncons/./include/jsoncons/utility/conversion.hpp 1
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 4
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 15
/src/jsoncons/./include/jsoncons/nonstd/compiler_support.hpp 1
/src/jsoncons/./include/jsoncons/json_exception.hpp 2
/usr/local/bin/../include/c++/v1/stdexcept 1
/src/jsoncons/./include/jsoncons/utility/detail/grisu3.hpp 12

Fuzzer: fuzz_json_encoder

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 61 18.1%
gold [1:9] 1 0.29%
yellow [10:29] 2 0.59%
greenyellow [30:49] 4 1.18%
lawngreen 50+ 269 79.8%
All colors 337 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
5 317 jsoncons::basic_json_reader >, std::__1::allocator >::check_done(std::__1::error_code&) call site: 00317
4 150 jsoncons::basic_json_parser >::end_positive_value(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00150
4 293 jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00293 __cxa_allocate_exception
3 37 jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&) call site: 00037
3 80 jsoncons::stream_source >::fill_buffer(char*, unsigned long) call site: 00080 __cxa_end_catch
3 122 std::__1::enable_if ::is_specialized&&ext_traits::integer_limits ::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer (char const*, unsigned long, long&) call site: 00122
3 134 jsoncons::decstr_to_double(char const*, unsigned long, double&) call site: 00134
3 189 jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00189
3 193 jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00193
2 34 jsoncons::json_source_adaptor > >::json_source_adaptor , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&) call site: 00034
2 64 jsoncons::basic_json_reader >, std::__1::allocator >::basic_json_reader , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::basic_json_visitor &, std::__1::allocator const&) call site: 00064
2 108 std::__1::enable_if ::is_specialized&&ext_traits::integer_limits ::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer (char const*, unsigned long, long&) call site: 00108

Runtime coverage analysis

Covered functions
197
Functions that are reachable but not covered
33
Reachable functions
279
Percentage of reachable functions covered
88.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/jsoncons/./fuzzers/fuzz_json_encoder.cpp 1
/src/jsoncons/./include/jsoncons/sink.hpp 3
/src/jsoncons/./include/jsoncons/json_encoder.hpp 3
/src/jsoncons/./include/jsoncons/json_options.hpp 29
/src/jsoncons/./include/jsoncons/json_visitor.hpp 18
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 1
/src/jsoncons/./include/jsoncons/json_reader.hpp 7
/src/jsoncons/./include/jsoncons/source_adaptor.hpp 5
/src/jsoncons/./include/jsoncons/source.hpp 11
/src/jsoncons/./include/jsoncons/json_parser.hpp 34
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 7
/src/jsoncons/./include/jsoncons/utility/number_readers.hpp 10
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 2
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 1

Fuzzer: fuzz_cbor_encoder

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 864 58.1%
gold [1:9] 334 22.4%
yellow [10:29] 83 5.58%
greenyellow [30:49] 18 1.21%
lawngreen 50+ 187 12.5%
All colors 1486 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
119 1187 jsoncons::basic_bigint > jsoncons::powb >(jsoncons::basic_bigint >, unsigned long) call site: 01187 __cxa_allocate_exception
68 1040 void jsoncons::cbor::from_cbor_bigfloat >(jsoncons::basic_bigint >, long, jsoncons::basic_bigdec >&, unsigned long, std::__1::error_code&) call site: 01040 __clang_call_terminate
56 1375 jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_extents(std::__1::error_code&) call site: 01375 __cxa_allocate_exception
54 1125 jsoncons::basic_bigint >::operator*=(jsoncons::basic_bigint >) call site: 01125
37 670 void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor &, std::__1::error_code&) call site: 00670 ldexp
29 816 jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_view(std::__1::error_code&) call site: 00816 __cxa_allocate_exception
26 1325 void jsoncons::cbor::from_cbor_bigfloat >(jsoncons::basic_bigint >, long, jsoncons::basic_bigdec >&, unsigned long, std::__1::error_code&) call site: 01325
24 511 jsoncons::cbor::oned_typed_array_iterator >::next(jsoncons::basic_generic_visitor &, jsoncons::ser_context const&, std::__1::error_code&) call site: 00511
23 1003 jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_bigfloat(unsigned char, std::__1::basic_string , std::__1::allocator >&, std::__1::error_code&) call site: 01003
20 484 void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer::operator() > >(std::__1::vector >&, std::__1::error_code&) call site: 00484 __cxa_allocate_exception
20 537 jsoncons::cbor::oned_typed_array_iterator >::next(jsoncons::basic_generic_visitor &, jsoncons::ser_context const&, std::__1::error_code&) call site: 00537
20 559 jsoncons::cbor::oned_typed_array_iterator >::next(jsoncons::basic_generic_visitor &, jsoncons::ser_context const&, std::__1::error_code&) call site: 00559

Runtime coverage analysis

Covered functions
300
Functions that are reachable but not covered
289
Reachable functions
805
Percentage of reachable functions covered
64.1%
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/jsoncons/./fuzzers/fuzz_cbor_encoder.cpp 1
/src/jsoncons/./include/jsoncons/sink.hpp 3
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_encoder.hpp 5
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_options.hpp 13
/src/jsoncons/./include/jsoncons/json_visitor.hpp 6
/src/jsoncons/./include/jsoncons/utility/binary.hpp 16
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_reader.hpp 3
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_parser.hpp 60
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/source.hpp 19
/src/jsoncons/./include/jsoncons/generic_visitor.hpp 20
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 4
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_common.hpp 3
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 7
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 97
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 54
/src/jsoncons/./include/jsoncons/typed_array.hpp 11
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_typed_array_iterator.hpp 36
/src/jsoncons/./include/jsoncons/utility/function_objects.hpp 11
/src/jsoncons/./include/jsoncons/nonstd/compiler_support.hpp 1
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/utility/bigdec.hpp 9
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 1
/src/jsoncons/./include/jsoncons/nonstd/bit.hpp 3
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 8

Fuzzer: fuzz_cbor_parser_max

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 163 11.1%
gold [1:9] 2 0.13%
yellow [10:29] 1 0.06%
greenyellow [30:49] 1 0.06%
lawngreen 50+ 1290 88.5%
All colors 1457 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
26 1236 jsoncons::basic_bigint > jsoncons::cbor::(anonymous namespace)::rounded_decimal_mantissa >(jsoncons::basic_bigint > const&, unsigned long, unsigned long, unsigned long, std::__1::error_code&) call site: 01236
13 227 jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&) call site: 00227
5 1017 void jsoncons::cbor::from_cbor_bigfloat_positive_rounded >(jsoncons::basic_bigint >, unsigned long, unsigned long, jsoncons::basic_bigdec >&, std::__1::error_code&) call site: 01017
5 1037 jsoncons::basic_bigint >::bit_width() const call site: 01037
5 1166 jsoncons::basic_bigdec > jsoncons::cbor::(anonymous namespace)::compact_exact_positive >(jsoncons::basic_bigint >, unsigned long) call site: 01166 __cxa_allocate_exception
5 1176 jsoncons::basic_bigint >::divmod_small(unsigned long) call site: 01176 __cxa_allocate_exception
4 299 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00299 __cxa_allocate_exception
4 1451 LLVMFuzzerTestOneInput call site: 01451
3 40 jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::parse(jsoncons::basic_generic_visitor &, std::__1::error_code&) call site: 00040 __clang_call_terminate
3 77 jsoncons::stream_source >::read(unsigned char*, unsigned long) call site: 00077 __cxa_begin_catch
3 1025 void jsoncons::cbor::from_cbor_bigfloat_positive_rounded >(jsoncons::basic_bigint >, unsigned long, unsigned long, jsoncons::basic_bigdec >&, std::__1::error_code&) call site: 01025
3 1084 jsoncons::basic_bigint >::operator*=(jsoncons::basic_bigint >) call site: 01084

Runtime coverage analysis

Covered functions
520
Functions that are reachable but not covered
49
Reachable functions
772
Percentage of reachable functions covered
93.65%
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/jsoncons/./fuzzers/fuzz_cbor_parser_max.cpp 1
/src/jsoncons/./include/jsoncons/json_visitor.hpp 6
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_options.hpp 8
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_reader.hpp 3
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_parser.hpp 60
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/source.hpp 19
/src/jsoncons/./include/jsoncons/generic_visitor.hpp 20
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 4
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_common.hpp 3
/src/jsoncons/./include/jsoncons/utility/binary.hpp 13
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 7
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 97
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 54
/src/jsoncons/./include/jsoncons/typed_array.hpp 11
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_typed_array_iterator.hpp 36
/src/jsoncons/./include/jsoncons/utility/function_objects.hpp 11
/src/jsoncons/./include/jsoncons/nonstd/compiler_support.hpp 1
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/utility/bigdec.hpp 9
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 1
/src/jsoncons/./include/jsoncons/nonstd/bit.hpp 3
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 8

Fuzzer: fuzz_bson

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 30 10.2%
gold [1:9] 0 0.0%
yellow [10:29] 22 7.53%
greenyellow [30:49] 1 0.34%
lawngreen 50+ 239 81.8%
All colors 292 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
5 70 jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long) call site: 00070 __cxa_end_catch
3 213 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::bson::try_decode_bson > >(std::__1::basic_istream >&, jsoncons::bson::bson_decode_options const&) call site: 00213
3 217 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::bson::try_decode_bson > >(std::__1::basic_istream >&, jsoncons::bson::bson_decode_options const&) call site: 00217
2 53 jsoncons::bson::basic_bson_parser >, std::__1::allocator >::basic_bson_parser >&>(std::__1::basic_istream >&, jsoncons::bson::bson_decode_options const&, std::__1::allocator const&) call site: 00053
2 56 jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&) call site: 00056
2 87 jsoncons::bson::basic_bson_parser >, std::__1::allocator >::end_document(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00087 __clang_call_terminate
2 259 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::bson::try_decode_bson > >(std::__1::basic_istream >&, jsoncons::bson::bson_decode_options const&) call site: 00259
2 262 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::bson::try_decode_bson > >(std::__1::basic_istream >&, jsoncons::bson::bson_decode_options const&) call site: 00262
2 265 jsoncons::basic_json > jsoncons::bson::decode_bson >, std::__1::basic_istringstream , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&) call site: 00265
2 275 jsoncons::basic_json > jsoncons::bson::decode_bson >, std::__1::basic_istringstream , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&) call site: 00275
1 5 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::bson::try_decode_bson > >(std::__1::basic_istream >&, jsoncons::bson::bson_decode_options const&) call site: 00005
1 42 jsoncons::basic_json >::~basic_json() call site: 00042 __cxa_begin_catch

Runtime coverage analysis

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

Files reached

filename functions hit
/src/jsoncons/./fuzzers/fuzz_bson.cpp 1
/src/jsoncons/./include/jsoncons_ext/bson/decode_bson.hpp 2
/src/jsoncons/./include/jsoncons_ext/bson/bson_options.hpp 6
/src/jsoncons/./include/jsoncons/json_decoder.hpp 4
/src/jsoncons/./include/jsoncons/json_visitor.hpp 17
/src/jsoncons/./include/jsoncons/basic_json.hpp 30
/src/jsoncons/./include/jsoncons/utility/heap_string.hpp 6
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 4
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 3
/src/jsoncons/./include/jsoncons/allocator_holder.hpp 1
/src/jsoncons/./include/jsoncons/json_filter.hpp 5
/src/jsoncons/./include/jsoncons_ext/bson/bson_reader.hpp 5
/src/jsoncons/./include/jsoncons_ext/bson/bson_parser.hpp 15
/src/jsoncons/./include/jsoncons/ser_common.hpp 7
/src/jsoncons/./include/jsoncons/source.hpp 19
/src/jsoncons/./include/jsoncons/utility/binary.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 3
/src/jsoncons/./include/jsoncons_ext/bson/bson_decimal128.hpp 3
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 1
/src/jsoncons/./include/jsoncons_ext/bson/bson_oid.hpp 5
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 9
/src/jsoncons/./include/jsoncons/json_type.hpp 1
/src/jsoncons/./include/jsoncons/json_exception.hpp 4
/usr/local/bin/../include/c++/v1/__exception/exception.h 1

Fuzzer: fuzz_ubjson_parser_max

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 30 15.7%
gold [1:9] 8 4.21%
yellow [10:29] 8 4.21%
greenyellow [30:49] 25 13.1%
lawngreen 50+ 119 62.6%
All colors 190 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
7 175 jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::parse(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00175 __cxa_allocate_exception
6 30 jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long) call site: 00030 __cxa_end_catch
3 183 LLVMFuzzerTestOneInput call site: 00183
2 9 jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::basic_ubjson_parser , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::ubjson::ubjson_decode_options const&, std::__1::allocator const&) call site: 00009
2 12 jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&) call site: 00012
2 20 LLVMFuzzerTestOneInput call site: 00020
2 58 jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::read_value(jsoncons::basic_json_visitor &, unsigned char, std::__1::error_code&) call site: 00058
2 61 std::__1::enable_if ::type jsoncons::binary::big_to_native (unsigned char const*, unsigned long) call site: 00061
2 187 LLVMFuzzerTestOneInput call site: 00187
1 7 jsoncons::ubjson::basic_ubjson_reader >, std::__1::allocator >::basic_ubjson_reader , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&, jsoncons::basic_json_visitor &, jsoncons::ubjson::ubjson_decode_options const&, std::__1::allocator const&) call site: 00007
1 120 jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::begin_array(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00120

Runtime coverage analysis

Covered functions
86
Functions that are reachable but not covered
34
Reachable functions
174
Percentage of reachable functions covered
80.46%
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/jsoncons/./fuzzers/fuzz_ubjson_parser_max.cpp 1
/src/jsoncons/./include/jsoncons/json_visitor.hpp 20
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_options.hpp 7
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_reader.hpp 3
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_parser.hpp 13
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/source.hpp 18
/src/jsoncons/./include/jsoncons/utility/binary.hpp 14
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/number_readers.hpp 1
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 1

Fuzzer: fuzz_parse

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 75 20.4%
gold [1:9] 1 0.27%
yellow [10:29] 7 1.91%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 283 77.3%
All colors 366 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
9 309 std::__1::enable_if , std::__1::allocator >, char>::value, jsoncons::basic_json > >::type jsoncons::basic_json >::parse , std::__1::allocator > >(std::__1::basic_string , std::__1::allocator > const&, jsoncons::basic_json_decode_options const&) call site: 00309 __cxa_allocate_exception
8 26 jsoncons::heap::heap_string_factory >::destroy(jsoncons::heap::heap_string >*) call site: 00026
5 336 void jsoncons::basic_json >::construct >::null_storage>() call site: 00336
4 134 jsoncons::basic_json_parser >::end_positive_value(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00134
4 270 jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00270
4 277 jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00277 __cxa_allocate_exception
4 358 LLVMFuzzerTestOneInput call site: 00358
3 106 std::__1::enable_if ::is_specialized&&ext_traits::integer_limits ::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer (char const*, unsigned long, long&) call site: 00106
3 118 jsoncons::decstr_to_double(char const*, unsigned long, double&) call site: 00118
3 173 jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00173
3 177 jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00177
3 286 jsoncons::basic_json_parser >::parse_some(jsoncons::basic_json_visitor &) call site: 00286

Runtime coverage analysis

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

Files reached

filename functions hit
/src/jsoncons/./fuzzers/fuzz_parse.cpp 1
/src/jsoncons/./include/jsoncons/json_options.hpp 21
/src/jsoncons/./include/jsoncons/basic_json.hpp 31
/src/jsoncons/./include/jsoncons/json_decoder.hpp 4
/src/jsoncons/./include/jsoncons/json_visitor.hpp 16
/src/jsoncons/./include/jsoncons/utility/heap_string.hpp 6
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 6
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 3
/src/jsoncons/./include/jsoncons/allocator_holder.hpp 1
/src/jsoncons/./include/jsoncons/json_parser.hpp 35
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 6
/src/jsoncons/./include/jsoncons/json_exception.hpp 7
/usr/local/bin/../include/c++/v1/__exception/exception.h 1
/src/jsoncons/./include/jsoncons/utility/number_readers.hpp 10
/src/jsoncons/./include/jsoncons/json_type.hpp 1

Fuzzer: fuzz_csv_encoder

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 453 67.3%
gold [1:9] 1 0.14%
yellow [10:29] 1 0.14%
greenyellow [30:49] 1 0.14%
lawngreen 50+ 217 32.2%
All colors 673 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
110 240 jsoncons::decstr_to_double(char const*, unsigned long, double&) call site: 00240 __cxa_allocate_exception
108 506 jsoncons::csv::basic_csv_parser >::parse_some(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00506 __cxa_allocate_exception
60 393 jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00393 __cxa_allocate_exception
31 91 void jsoncons::csv::detail::parse_column_types > >(std::__1::basic_string , std::__1::allocator > const&, std::__1::vector >&) call site: 00091 __cxa_allocate_exception
15 186 jsoncons::basic_json_parser >::basic_json_parser(jsoncons::basic_json_decode_options const&, std::__1::allocator const&) call site: 00186
11 202 jsoncons::basic_json_parser >::basic_json_parser(std::__1::allocator const&) call site: 00202
11 470 jsoncons::csv::basic_csv_parser >::end_value(jsoncons::basic_json_visitor &, bool, std::__1::error_code&) call site: 00470 isspace
10 171 jsoncons::csv::basic_csv_parser >::end_unquoted_string_value(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00171
7 228 std::__1::enable_if ::is_specialized&&ext_traits::integer_limits ::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer (char const*, unsigned long, long&) call site: 00228
6 488 jsoncons::csv::basic_csv_parser >::end_quoted_string_value(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00488
5 380 jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00380
5 496 jsoncons::csv::basic_csv_parser >::parse_some(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00496

Runtime coverage analysis

Covered functions
166
Functions that are reachable but not covered
171
Reachable functions
445
Percentage of reachable functions covered
61.57%
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/jsoncons/./fuzzers/fuzz_csv_encoder.cpp 1
/src/jsoncons/./include/jsoncons/sink.hpp 3
/src/jsoncons/./include/jsoncons_ext/csv/csv_encoder.hpp 3
/src/jsoncons/./include/jsoncons_ext/csv/csv_options.hpp 53
/src/jsoncons/./include/jsoncons/json_visitor.hpp 30
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 1
/src/jsoncons/./include/jsoncons_ext/csv/csv_reader.hpp 4
/src/jsoncons/./include/jsoncons/source_adaptor.hpp 4
/src/jsoncons/./include/jsoncons/source.hpp 11
/src/jsoncons/./include/jsoncons_ext/csv/csv_parser.hpp 25
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 6
/src/jsoncons/./include/jsoncons/json_parser.hpp 33
/src/jsoncons/./include/jsoncons/json_options.hpp 17
/src/jsoncons/./include/jsoncons/utility/number_readers.hpp 10
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 2
/src/jsoncons/./include/jsoncons/json_exception.hpp 6
/usr/local/bin/../include/c++/v1/__exception/exception.h 1
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 3

Fuzzer: fuzz_msgpack_decode_bytes_source

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 123 19.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 504 80.3%
All colors 627 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
16 465 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00465
14 389 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00389
13 285 jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&) call site: 00285
11 414 jsoncons::basic_bigint >::operator<<=(unsigned long) call site: 00414
6 443 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00443
5 271 jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&) call site: 00271
5 459 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00459
4 356 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00356 __cxa_allocate_exception
4 547 std::__1::enable_if > >::value&&ext_traits::is_bytes_view_like >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::msgpack::try_decode_msgpack >, jsoncons::nonstd::span >(jsoncons::nonstd::span const&, jsoncons::msgpack::msgpack_decode_options const&) call site: 00547
3 253 jsoncons::basic_bigint >::operator-=(jsoncons::basic_bigint > const&) call site: 00253
3 552 std::__1::enable_if > >::value&&ext_traits::is_bytes_view_like >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::msgpack::try_decode_msgpack >, jsoncons::nonstd::span >(jsoncons::nonstd::span const&, jsoncons::msgpack::msgpack_decode_options const&) call site: 00552
2 191 jsoncons::detail::bigint_storage >::allocated_storage::reserve(unsigned long, std::__1::allocator const&) call site: 00191 __clang_call_terminate

Runtime coverage analysis

Covered functions
503
Functions that are reachable but not covered
52
Reachable functions
480
Percentage of reachable functions covered
89.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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/jsoncons/./fuzzers/fuzz_msgpack_decode_bytes_source.cpp 1
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons_ext/msgpack/decode_msgpack.hpp 2
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_options.hpp 6
/src/jsoncons/./include/jsoncons/json_decoder.hpp 4
/src/jsoncons/./include/jsoncons/json_visitor.hpp 6
/src/jsoncons/./include/jsoncons/basic_json.hpp 30
/src/jsoncons/./include/jsoncons/utility/heap_string.hpp 6
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 5
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 3
/src/jsoncons/./include/jsoncons/allocator_holder.hpp 1
/src/jsoncons/./include/jsoncons/json_filter.hpp 5
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_reader.hpp 5
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_parser.hpp 12
/src/jsoncons/./include/jsoncons/ser_common.hpp 7
/src/jsoncons/./include/jsoncons/source.hpp 5
/src/jsoncons/./include/jsoncons/generic_visitor.hpp 17
/src/jsoncons/./include/jsoncons/utility/binary.hpp 20
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 3
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 76
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 9
/src/jsoncons/./include/jsoncons/json_type.hpp 1
/src/jsoncons/./include/jsoncons/json_exception.hpp 4
/usr/local/bin/../include/c++/v1/__exception/exception.h 1

Fuzzer: fuzz_cbor_cursor

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 500 31.5%
gold [1:9] 49 3.09%
yellow [10:29] 52 3.28%
greenyellow [30:49] 38 2.40%
lawngreen 50+ 944 59.6%
All colors 1583 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
27 1525 jsoncons::decstr_to_double(char const*, unsigned long, double&) call site: 01525 snprintf
26 34 jsoncons::cbor::basic_cbor_cursor >, std::__1::allocator >::read_next(std::__1::error_code&) call site: 00034 __cxa_allocate_exception
26 1232 jsoncons::basic_bigint > jsoncons::cbor::(anonymous namespace)::rounded_decimal_mantissa >(jsoncons::basic_bigint > const&, unsigned long, unsigned long, unsigned long, std::__1::error_code&) call site: 01232
26 1414 jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_mdarray_header(jsoncons::basic_generic_visitor &, std::__1::error_code&) call site: 01414 __cxa_allocate_exception
17 475 jsoncons::cbor::oned_typed_array_iterator >::next(jsoncons::basic_generic_visitor &, jsoncons::ser_context const&, std::__1::error_code&) call site: 00475
16 634 jsoncons::cbor::oned_typed_array_iterator >::next(jsoncons::basic_generic_visitor &, jsoncons::ser_context const&, std::__1::error_code&) call site: 00634
15 458 jsoncons::nonstd::span jsoncons::typed_array_cast (jsoncons::nonstd::span ) call site: 00458 __cxa_allocate_exception
13 223 jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&) call site: 00223
13 1482 std::__1::enable_if , std::__1::allocator > >::value&&std::is_same , std::__1::allocator >::value_type, char>::value, std::__1::basic_string , std::__1::allocator > >::type jsoncons::basic_staj_event ::get_ , std::__1::allocator >, std::__1::allocator , char>(std::__1::allocator , std::__1::error_code&) const call site: 01482 snprintf
10 653 jsoncons::binary::decode_half(unsigned short) call site: 00653
9 495 jsoncons::nonstd::span jsoncons::typed_array_cast (jsoncons::nonstd::span ) call site: 00495
9 505 jsoncons::cbor::oned_typed_array_iterator >::next(jsoncons::basic_generic_visitor &, jsoncons::ser_context const&, std::__1::error_code&) call site: 00505

Runtime coverage analysis

Covered functions
411
Functions that are reachable but not covered
143
Reachable functions
890
Percentage of reachable functions covered
83.93%
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/jsoncons/./fuzzers/fuzz_cbor_cursor.cpp 1
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_cursor.hpp 9
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_options.hpp 8
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/staj_cursor.hpp 5
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_parser.hpp 63
/src/jsoncons/./include/jsoncons/source.hpp 19
/src/jsoncons/./include/jsoncons/generic_visitor.hpp 18
/src/jsoncons/./include/jsoncons/json_visitor.hpp 2
/src/jsoncons/./include/jsoncons/staj_event.hpp 7
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 4
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_common.hpp 3
/src/jsoncons/./include/jsoncons/utility/binary.hpp 13
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 11
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 97
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 54
/src/jsoncons/./include/jsoncons/typed_array.hpp 11
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_typed_array_iterator.hpp 36
/src/jsoncons/./include/jsoncons/utility/function_objects.hpp 11
/src/jsoncons/./include/jsoncons/nonstd/compiler_support.hpp 1
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/utility/bigdec.hpp 9
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 16
/src/jsoncons/./include/jsoncons/nonstd/bit.hpp 3
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 8
/src/jsoncons/./include/jsoncons/nonstd/make_obj_using_allocator.hpp 3
/src/jsoncons/./include/jsoncons/utility/conversion.hpp 1
/src/jsoncons/./include/jsoncons/json_exception.hpp 2
/usr/local/bin/../include/c++/v1/stdexcept 1
/src/jsoncons/./include/jsoncons/utility/detail/grisu3.hpp 12
/src/jsoncons/./include/jsoncons/utility/number_readers.hpp 3

Fuzzer: fuzz_cbor

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 179 11.2%
gold [1:9] 2 0.12%
yellow [10:29] 1 0.06%
greenyellow [30:49] 1 0.06%
lawngreen 50+ 1406 88.4%
All colors 1589 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
26 1276 jsoncons::basic_bigint > jsoncons::cbor::(anonymous namespace)::rounded_decimal_mantissa >(jsoncons::basic_bigint > const&, unsigned long, unsigned long, unsigned long, std::__1::error_code&) call site: 01276
13 267 jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&) call site: 00267
5 1057 void jsoncons::cbor::from_cbor_bigfloat_positive_rounded >(jsoncons::basic_bigint >, unsigned long, unsigned long, jsoncons::basic_bigdec >&, std::__1::error_code&) call site: 01057
5 1077 jsoncons::basic_bigint >::bit_width() const call site: 01077
5 1206 jsoncons::basic_bigdec > jsoncons::cbor::(anonymous namespace)::compact_exact_positive >(jsoncons::basic_bigint >, unsigned long) call site: 01206 __cxa_allocate_exception
5 1216 jsoncons::basic_bigint >::divmod_small(unsigned long) call site: 01216 __cxa_allocate_exception
4 339 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00339 __cxa_allocate_exception
4 1499 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::cbor::try_decode_cbor > >(std::__1::basic_istream >&, jsoncons::cbor::cbor_decode_options const&) call site: 01499
3 117 jsoncons::stream_source >::read(unsigned char*, unsigned long) call site: 00117 __cxa_begin_catch
3 1065 void jsoncons::cbor::from_cbor_bigfloat_positive_rounded >(jsoncons::basic_bigint >, unsigned long, unsigned long, jsoncons::basic_bigdec >&, std::__1::error_code&) call site: 01065
3 1124 jsoncons::basic_bigint >::operator*=(jsoncons::basic_bigint >) call site: 01124
3 1235 void jsoncons::cbor::from_cbor_bigfloat_positive_rounded >(jsoncons::basic_bigint >, unsigned long, unsigned long, jsoncons::basic_bigdec >&, std::__1::error_code&) call site: 01235

Runtime coverage analysis

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

Files reached

filename functions hit
/src/jsoncons/./fuzzers/fuzz_cbor.cpp 1
/src/jsoncons/./include/jsoncons_ext/cbor/decode_cbor.hpp 2
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_options.hpp 8
/src/jsoncons/./include/jsoncons/json_decoder.hpp 4
/src/jsoncons/./include/jsoncons/json_visitor.hpp 6
/src/jsoncons/./include/jsoncons/basic_json.hpp 30
/src/jsoncons/./include/jsoncons/utility/heap_string.hpp 6
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 6
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 6
/src/jsoncons/./include/jsoncons/allocator_holder.hpp 1
/src/jsoncons/./include/jsoncons/json_filter.hpp 5
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_reader.hpp 5
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_parser.hpp 62
/src/jsoncons/./include/jsoncons/ser_common.hpp 7
/src/jsoncons/./include/jsoncons/source.hpp 20
/src/jsoncons/./include/jsoncons/generic_visitor.hpp 20
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_common.hpp 3
/src/jsoncons/./include/jsoncons/utility/binary.hpp 13
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 7
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 97
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 54
/src/jsoncons/./include/jsoncons/typed_array.hpp 11
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_typed_array_iterator.hpp 36
/src/jsoncons/./include/jsoncons/utility/function_objects.hpp 11
/src/jsoncons/./include/jsoncons/nonstd/compiler_support.hpp 1
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/utility/bigdec.hpp 9
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 1
/src/jsoncons/./include/jsoncons/nonstd/bit.hpp 3
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 17
/src/jsoncons/./include/jsoncons/json_type.hpp 1
/src/jsoncons/./include/jsoncons/json_exception.hpp 8
/usr/local/bin/../include/c++/v1/__exception/exception.h 1

Fuzzer: fuzz_cbor_typed_array

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 205 13.7%
gold [1:9] 2 0.13%
yellow [10:29] 2 0.13%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 1281 85.9%
All colors 1490 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
26 1232 jsoncons::basic_bigint > jsoncons::cbor::(anonymous namespace)::rounded_decimal_mantissa >(jsoncons::basic_bigint > const&, unsigned long, unsigned long, unsigned long, std::__1::error_code&) call site: 01232
13 223 jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&) call site: 00223
12 458 jsoncons::nonstd::span jsoncons::typed_array_cast (jsoncons::nonstd::span ) call site: 00458 __cxa_allocate_exception
5 498 void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor &, std::__1::error_code&) call site: 00498
5 520 void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor &, std::__1::error_code&) call site: 00520
5 542 void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor &, std::__1::error_code&) call site: 00542
5 560 jsoncons::nonstd::span jsoncons::typed_array_cast (jsoncons::nonstd::span ) call site: 00560
5 583 void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor &, std::__1::error_code&) call site: 00583
5 605 void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor &, std::__1::error_code&) call site: 00605
5 627 void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor &, std::__1::error_code&) call site: 00627
5 670 std::__1::enable_if ::value&&((sizeof (float))==(4ul)), float>::type jsoncons::binary::byte_swap (float) call site: 00670
5 1013 void jsoncons::cbor::from_cbor_bigfloat_positive_rounded >(jsoncons::basic_bigint >, unsigned long, unsigned long, jsoncons::basic_bigdec >&, std::__1::error_code&) call site: 01013

Runtime coverage analysis

Covered functions
479
Functions that are reachable but not covered
57
Reachable functions
806
Percentage of reachable functions covered
92.93%
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/jsoncons/./fuzzers/fuzz_cbor_typed_array.cpp 1
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_cursor.hpp 13
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_options.hpp 8
/src/jsoncons/./include/jsoncons/ser_common.hpp 2
/src/jsoncons/./include/jsoncons/staj_cursor.hpp 4
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_parser.hpp 67
/src/jsoncons/./include/jsoncons/source.hpp 19
/src/jsoncons/./include/jsoncons/generic_visitor.hpp 18
/src/jsoncons/./include/jsoncons/json_visitor.hpp 2
/src/jsoncons/./include/jsoncons/staj_event.hpp 2
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 4
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_common.hpp 3
/src/jsoncons/./include/jsoncons/utility/binary.hpp 13
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 7
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 97
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 54
/src/jsoncons/./include/jsoncons/typed_array.hpp 11
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_typed_array_iterator.hpp 36
/src/jsoncons/./include/jsoncons/utility/function_objects.hpp 11
/src/jsoncons/./include/jsoncons/nonstd/compiler_support.hpp 1
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/utility/bigdec.hpp 9
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 1
/src/jsoncons/./include/jsoncons/nonstd/bit.hpp 3
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 8

Fuzzer: fuzz_ubjson

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 44 14.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 266 85.8%
All colors 310 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
8 23 jsoncons::heap::heap_string_factory >::destroy(jsoncons::heap::heap_string >*) call site: 00023
5 71 jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long) call site: 00071 __cxa_end_catch
5 256 void jsoncons::basic_json >::construct >::null_storage>() call site: 00256
3 231 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::ubjson::try_decode_ubjson > >(std::__1::basic_istream >&, jsoncons::ubjson::ubjson_decode_options const&) call site: 00231
3 235 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::ubjson::try_decode_ubjson > >(std::__1::basic_istream >&, jsoncons::ubjson::ubjson_decode_options const&) call site: 00235
2 53 jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::basic_ubjson_parser >&>(std::__1::basic_istream >&, jsoncons::ubjson::ubjson_decode_options const&, std::__1::allocator const&) call site: 00053
2 56 jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&) call site: 00056
2 217 jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::parse(jsoncons::basic_json_visitor &, std::__1::error_code&) call site: 00217 __clang_call_terminate
2 277 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::ubjson::try_decode_ubjson > >(std::__1::basic_istream >&, jsoncons::ubjson::ubjson_decode_options const&) call site: 00277
2 280 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::ubjson::try_decode_ubjson > >(std::__1::basic_istream >&, jsoncons::ubjson::ubjson_decode_options const&) call site: 00280
2 283 jsoncons::basic_json > jsoncons::ubjson::decode_ubjson >, std::__1::basic_istringstream , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&) call site: 00283
2 293 jsoncons::basic_json > jsoncons::ubjson::decode_ubjson >, std::__1::basic_istringstream , std::__1::allocator >&>(std::__1::basic_istringstream , std::__1::allocator >&) call site: 00293

Runtime coverage analysis

Covered functions
330
Functions that are reachable but not covered
53
Reachable functions
330
Percentage of reachable functions covered
83.94%
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/jsoncons/./fuzzers/fuzz_ubjson.cpp 1
/src/jsoncons/./include/jsoncons_ext/ubjson/decode_ubjson.hpp 2
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_options.hpp 7
/src/jsoncons/./include/jsoncons/json_decoder.hpp 4
/src/jsoncons/./include/jsoncons/json_visitor.hpp 18
/src/jsoncons/./include/jsoncons/basic_json.hpp 30
/src/jsoncons/./include/jsoncons/utility/heap_string.hpp 6
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 4
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 3
/src/jsoncons/./include/jsoncons/allocator_holder.hpp 1
/src/jsoncons/./include/jsoncons/json_filter.hpp 5
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_reader.hpp 5
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_parser.hpp 15
/src/jsoncons/./include/jsoncons/ser_common.hpp 7
/src/jsoncons/./include/jsoncons/source.hpp 19
/src/jsoncons/./include/jsoncons/utility/binary.hpp 14
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/number_readers.hpp 1
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 9
/src/jsoncons/./include/jsoncons/json_type.hpp 1
/src/jsoncons/./include/jsoncons/json_exception.hpp 4
/usr/local/bin/../include/c++/v1/__exception/exception.h 1

Fuzzer: fuzz_msgpack

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 133 20.4%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 517 79.5%
All colors 650 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
16 488 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00488
14 412 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00412
13 308 jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&) call site: 00308
11 437 jsoncons::basic_bigint >::operator<<=(unsigned long) call site: 00437
6 466 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00466
5 82 jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long) call site: 00082 __cxa_end_catch
5 294 jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&) call site: 00294
5 482 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00482
4 379 jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const call site: 00379 __cxa_allocate_exception
4 570 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::msgpack::try_decode_msgpack > >(std::__1::basic_istream >&, jsoncons::msgpack::msgpack_decode_options const&) call site: 00570
3 276 jsoncons::basic_bigint >::operator-=(jsoncons::basic_bigint > const&) call site: 00276
3 575 std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::msgpack::try_decode_msgpack > >(std::__1::basic_istream >&, jsoncons::msgpack::msgpack_decode_options const&) call site: 00575

Runtime coverage analysis

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

Files reached

filename functions hit
/src/jsoncons/./fuzzers/fuzz_msgpack.cpp 1
/src/jsoncons/./include/jsoncons_ext/msgpack/decode_msgpack.hpp 2
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_options.hpp 6
/src/jsoncons/./include/jsoncons/json_decoder.hpp 4
/src/jsoncons/./include/jsoncons/json_visitor.hpp 6
/src/jsoncons/./include/jsoncons/basic_json.hpp 30
/src/jsoncons/./include/jsoncons/utility/heap_string.hpp 6
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 5
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 3
/src/jsoncons/./include/jsoncons/allocator_holder.hpp 1
/src/jsoncons/./include/jsoncons/json_filter.hpp 5
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_reader.hpp 5
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_parser.hpp 12
/src/jsoncons/./include/jsoncons/ser_common.hpp 7
/src/jsoncons/./include/jsoncons/source.hpp 17
/src/jsoncons/./include/jsoncons/generic_visitor.hpp 17
/src/jsoncons/./include/jsoncons/utility/binary.hpp 20
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 4
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 3
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 76
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 9
/src/jsoncons/./include/jsoncons/json_type.hpp 1
/src/jsoncons/./include/jsoncons/json_exception.hpp 4
/usr/local/bin/../include/c++/v1/__exception/exception.h 1

Fuzzer: fuzz_cbor_noexcept

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 249 12.6%
gold [1:9] 6 0.30%
yellow [10:29] 8 0.40%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 1713 86.6%
All colors 1976 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
26 1275 jsoncons::basic_bigint > jsoncons::cbor::(anonymous namespace)::rounded_decimal_mantissa >(jsoncons::basic_bigint > const&, unsigned long, unsigned long, unsigned long, std::__1::error_code&) call site: 01275
19 1848 jsoncons::basic_staj_event ::send_event(jsoncons::basic_generic_visitor &, jsoncons::ser_context const&, std::__1::error_code&) const call site: 01848 __cxa_allocate_exception
13 266 jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&) call site: 00266
5 1056 void jsoncons::cbor::from_cbor_bigfloat_positive_rounded >(jsoncons::basic_bigint >, unsigned long, unsigned long, jsoncons::basic_bigdec >&, std::__1::error_code&) call site: 01056
5 1076 jsoncons::basic_bigint >::bit_width() const call site: 01076
5 1205 jsoncons::basic_bigdec > jsoncons::cbor::(anonymous namespace)::compact_exact_positive >(jsoncons::basic_bigint >, unsigned long) call site: 01205 __cxa_allocate_exception
5 1215 jsoncons::basic_bigint >::divmod_small(unsigned long) call site: 01215 __cxa_allocate_exception
5 1872 jsoncons::basic_staj_event ::send_event(jsoncons::basic_generic_visitor &, jsoncons::ser_context const&, std::__1::error_code&) const call site: 01872 __cxa_allocate_exception
5 1883 bool jsoncons::basic_generic_visitor ::byte_string_value (jsoncons::byte_string_view const&, jsoncons::semantic_tag, jsoncons::ser_context const&, std::__1::enable_if ::value, int>::type) call site: 01883 __cxa_allocate_exception
5 1890 jsoncons::basic_staj_event ::send_event(jsoncons::basic_generic_visitor &, jsoncons::ser_context const&, std::__1::error_code&) const call site: 01890 __cxa_allocate_exception
5 1897 jsoncons::basic_staj_event ::send_event(jsoncons::basic_generic_visitor &, jsoncons::ser_context const&, std::__1::error_code&) const call site: 01897 __cxa_allocate_exception
5 1904 jsoncons::basic_staj_event ::send_event(jsoncons::basic_generic_visitor &, jsoncons::ser_context const&, std::__1::error_code&) const call site: 01904 __cxa_allocate_exception

Runtime coverage analysis

Covered functions
967
Functions that are reachable but not covered
79
Reachable functions
1154
Percentage of reachable functions covered
93.15%
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/jsoncons/./fuzzers/fuzz_cbor_noexcept.cpp 1
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_options.hpp 8
/src/jsoncons/./include/jsoncons_ext/cbor/decode_cbor.hpp 1
/src/jsoncons/./include/jsoncons/json_decoder.hpp 4
/src/jsoncons/./include/jsoncons/json_visitor.hpp 6
/src/jsoncons/./include/jsoncons/basic_json.hpp 30
/src/jsoncons/./include/jsoncons/utility/heap_string.hpp 6
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp 6
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp 6
/src/jsoncons/./include/jsoncons/allocator_holder.hpp 1
/src/jsoncons/./include/jsoncons/json_filter.hpp 5
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_reader.hpp 6
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_parser.hpp 115
/src/jsoncons/./include/jsoncons/ser_common.hpp 4
/src/jsoncons/./include/jsoncons/source.hpp 35
/src/jsoncons/./include/jsoncons/generic_visitor.hpp 31
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_common.hpp 3
/src/jsoncons/./include/jsoncons/utility/binary.hpp 13
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp 7
/src/jsoncons/./include/jsoncons/utility/bigint.hpp 97
/src/jsoncons/./include/jsoncons/nonstd/span.hpp 54
/src/jsoncons/./include/jsoncons/typed_array.hpp 11
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_typed_array_iterator.hpp 40
/src/jsoncons/./include/jsoncons/utility/function_objects.hpp 11
/src/jsoncons/./include/jsoncons/nonstd/compiler_support.hpp 1
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp 2
/src/jsoncons/./include/jsoncons/utility/bigdec.hpp 9
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp 1
/src/jsoncons/./include/jsoncons/nonstd/bit.hpp 3
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp 14
/src/jsoncons/./include/jsoncons/json_type.hpp 1
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_cursor.hpp 20
/src/jsoncons/./include/jsoncons/staj_cursor.hpp 6
/src/jsoncons/./include/jsoncons/staj_event.hpp 8
/src/jsoncons/./include/jsoncons/json_exception.hpp 6
/usr/local/bin/../include/c++/v1/__exception/exception.h 1

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

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

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
jsoncons::json_decoder >,std::__1::allocator >::visit_end_array(jsoncons::ser_contextconst&,std::__1::error_code&) /src/jsoncons/./include/jsoncons/json_decoder.hpp 3 ['N/A', 'N/A', 'N/A'] 13 0 285 42 3 1013 0 1930 1837
jsoncons::json_decoder >,std::__1::allocator >::visit_end_array(jsoncons::ser_contextconst&,std::__1::error_code&) /src/jsoncons/./include/jsoncons/json_decoder.hpp 3 ['N/A', 'N/A', 'N/A'] 13 0 285 42 3 1013 0 1930 1810
jsoncons::basic_json_encoder ,std::__1::allocator >>,std::__1::allocator >::visit_double(double,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) /src/jsoncons/./include/jsoncons/json_encoder.hpp 5 ['N/A', 'double', 'char', 'N/A', 'N/A'] 18 0 534 63 5 348 0 878 366
jsoncons::cbor::basic_cbor_encoder >,void>,std::__1::allocator >::visit_key(std::__1::basic_string_view >const&,jsoncons::ser_contextconst&,std::__1::error_code&) /src/jsoncons/./include/jsoncons_ext/cbor/cbor_encoder.hpp 4 ['N/A', 'N/A', 'N/A', 'N/A'] 18 0 24 3 2 288 0 825 259
jsoncons::ordered_json_object ,std::__1::allocator >,jsoncons::basic_json >,std::__1::vector>::~ordered_json_object() /src/jsoncons/./include/jsoncons/ordered_json_object.hpp 1 ['N/A'] 8 0 17 3 2 213 0 378 238
jsoncons::sorted_json_object ,std::__1::allocator >,jsoncons::basic_json >,std::__1::vector>::~sorted_json_object() /src/jsoncons/./include/jsoncons/sorted_json_object.hpp 1 ['N/A'] 8 0 17 3 2 213 0 378 213
jsoncons::bson::basic_bson_encoder >,void>,std::__1::allocator >::visit_string(std::__1::basic_string_view >const&,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) /src/jsoncons/./include/jsoncons_ext/bson/bson_encoder.hpp 5 ['N/A', 'N/A', 'char', 'N/A', 'N/A'] 4 0 393 41 10 63 0 230 185

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

Functions statically reachable by fuzzers
71.0%
2346 / 3300
Cyclomatic complexity statically reachable by fuzzers
77.0%
13687 / 17705

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/jsoncons/./fuzzers/fuzz_bigint.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=['jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&)', 'jsoncons::detail::bigint_storage >::reduce()', 'jsoncons::basic_bigint >::get_words() const', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::basic_bigint >::operator>>=(unsigned long)', 'jsoncons::basic_bigint >::operator<<=(unsigned long)', 'jsoncons::detail::bigint_storage >::allocated_storage::reserve(unsigned long, std::__1::allocator const&)', 'jsoncons::detail::bigint_storage >::allocated_storage::allocated_storage(jsoncons::detail::bigint_storage >::allocated_storage const&, std::__1::allocator const&)', 'jsoncons::basic_bigint >::set_negative(bool)', 'jsoncons::to_bignum_result jsoncons::to_bigint >(char const*, unsigned long, jsoncons::basic_bigint >&, std::__1::allocator const&)']

/src/jsoncons/./fuzzers/fuzz_json_parser_max.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=['jsoncons::basic_json_reader >, std::__1::allocator >::check_done(std::__1::error_code&)', 'jsoncons::basic_json_parser >::end_positive_value(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&)', 'jsoncons::stream_source >::fill_buffer(char*, unsigned long)', 'std::__1::enable_if::is_specialized&&ext_traits::integer_limits::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer(char const*, unsigned long, long&)', 'jsoncons::decstr_to_double(char const*, unsigned long, double&)', 'jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::json_source_adaptor > >::json_source_adaptor, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&)']

/src/jsoncons/./fuzzers/fuzz_ubjson_encoder.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=['jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long)', 'LLVMFuzzerTestOneInput', 'jsoncons::ubjson::basic_ubjson_encoder >, void>, std::__1::allocator >::basic_ubjson_encoder(jsoncons::bytes_sink >, void>&&, std::__1::allocator const&)', 'jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::basic_ubjson_parser, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&, jsoncons::ubjson::ubjson_decode_options const&, std::__1::allocator const&)', 'jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&)', 'jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::parse(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::ubjson::basic_ubjson_encoder >, void>, std::__1::allocator >::basic_ubjson_encoder(jsoncons::bytes_sink >, void>&&, std::__1::allocator const&)', 'jsoncons::ubjson::basic_ubjson_encoder >, void>, std::__1::allocator >::basic_ubjson_encoder(jsoncons::bytes_sink >, void>&&, jsoncons::ubjson::ubjson_encode_options const&, std::__1::allocator const&)', 'jsoncons::ubjson::basic_ubjson_reader >, std::__1::allocator >::basic_ubjson_reader, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&, jsoncons::basic_json_visitor&, jsoncons::ubjson::ubjson_decode_options const&, std::__1::allocator const&)']

/src/jsoncons/./fuzzers/fuzz_cbor_view.cpp

Dictionary

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


Fuzzer function priority

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

-focus_function=['jsoncons::cbor::view::parse_item(jsoncons::nonstd::span, int)', 'jsoncons::cbor::view::ondemand_detail::remaining_items(jsoncons::cbor::view::ondemand_detail::item_head const&, unsigned long)', '(anonymous namespace)::exercise_input(jsoncons::nonstd::span, int)', 'jsoncons::cbor::view::item::child_range::begin() const', 'jsoncons::cbor::view::item::child_range::begin() const']

/src/jsoncons/./fuzzers/fuzz_bson_encoder.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=['jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long)', 'LLVMFuzzerTestOneInput', 'jsoncons::bson::basic_bson_encoder >, void>, std::__1::allocator >::basic_bson_encoder(jsoncons::bytes_sink >, void>&&, std::__1::allocator const&)', 'jsoncons::bson::basic_bson_parser >, std::__1::allocator >::basic_bson_parser, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&, jsoncons::bson::bson_decode_options const&, std::__1::allocator const&)', 'jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&)', 'jsoncons::bson::basic_bson_parser >, std::__1::allocator >::end_document(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::bson::basic_bson_encoder >, void>, std::__1::allocator >::basic_bson_encoder(jsoncons::bytes_sink >, void>&&, std::__1::allocator const&)', 'jsoncons::bson::basic_bson_encoder >, void>, std::__1::allocator >::basic_bson_encoder(jsoncons::bytes_sink >, void>&&, jsoncons::bson::bson_encode_options const&, std::__1::allocator const&)', 'jsoncons::bson::basic_bson_reader >, std::__1::allocator >::basic_bson_reader, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&, jsoncons::basic_json_visitor&, jsoncons::bson::bson_decode_options const&, std::__1::allocator const&)']

/src/jsoncons/./fuzzers/fuzz_bson_parser_max.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=['jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long)', 'LLVMFuzzerTestOneInput', 'jsoncons::bson::basic_bson_parser >, std::__1::allocator >::basic_bson_parser, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&, jsoncons::bson::bson_decode_options const&, std::__1::allocator const&)', 'jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&)', 'jsoncons::bson::basic_bson_parser >, std::__1::allocator >::end_document(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::bson::basic_bson_reader >, std::__1::allocator >::basic_bson_reader, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&, jsoncons::basic_json_visitor&, jsoncons::bson::bson_decode_options const&, std::__1::allocator const&)']

/src/jsoncons/./fuzzers/fuzz_msgpack_encoder.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=['jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&)', 'jsoncons::basic_bigint >::operator<<=(unsigned long)', 'jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'LLVMFuzzerTestOneInput', 'jsoncons::basic_bigint >::operator-=(jsoncons::basic_bigint > const&)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const']

/src/jsoncons/./fuzzers/fuzz_msgpack_decode_iterator_source.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=['jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&)', 'jsoncons::basic_bigint >::operator<<=(unsigned long)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::msgpack::try_decode_msgpack >, std::__1::__wrap_iter >(std::__1::__wrap_iter, std::__1::__wrap_iter, jsoncons::msgpack::msgpack_decode_options const&)', 'jsoncons::basic_bigint >::operator-=(jsoncons::basic_bigint > const&)']

/src/jsoncons/./fuzzers/fuzz_csv.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=['jsoncons::decstr_to_double(char const*, unsigned long, double&)', 'jsoncons::csv::basic_csv_parser >::parse_some(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::ser_error::ser_error(std::__1::error_code, unsigned long, unsigned long)', 'jsoncons::csv::basic_csv_parser >::end_unquoted_string_value(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'void jsoncons::csv::detail::parse_column_types > >(std::__1::basic_string, std::__1::allocator > const&, std::__1::vector >&)', 'jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::csv::basic_csv_parser >::end_value(jsoncons::basic_json_visitor&, bool, std::__1::error_code&)', 'jsoncons::heap::heap_string_factory >::destroy(jsoncons::heap::heap_string >*)', 'std::__1::enable_if::is_specialized&&ext_traits::integer_limits::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer(char const*, unsigned long, long&)', 'jsoncons::csv::basic_csv_parser >::end_quoted_string_value(jsoncons::basic_json_visitor&, std::__1::error_code&)']

/src/jsoncons/./fuzzers/fuzz_msgpack_parser_max.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=['jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&)', 'jsoncons::basic_bigint >::operator<<=(unsigned long)', 'jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'LLVMFuzzerTestOneInput']

/src/jsoncons/./fuzzers/fuzz_json_cursor.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=['jsoncons::basic_json_parser >::parse_false(char const*, jsoncons::basic_json_visitor&, std::__1::error_code&)', 'void jsoncons::prettify_string, std::__1::allocator > >(char const*, int, int, int, int, std::__1::basic_string, std::__1::allocator >&)', 'jsoncons::write_double::write_double(jsoncons::float_chars_format, int)', 'jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor&, std::__1::error_code&)', 'std::__1::enable_if, std::__1::allocator > >::value&&std::is_same, std::__1::allocator >::value_type, char>::value, std::__1::basic_string, std::__1::allocator > >::type jsoncons::basic_staj_event::get_, std::__1::allocator >, std::__1::allocator, char>(std::__1::allocator, std::__1::error_code&) const', 'bool jsoncons::dtoa_general, std::__1::allocator > >(double, char, std::__1::basic_string, std::__1::allocator >&, std::__1::integral_constant)', 'jsoncons::basic_json_parser >::end_positive_value(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::stream_source >::fill_buffer(char*, unsigned long)', 'std::__1::enable_if::is_specialized&&ext_traits::integer_limits::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer(char const*, unsigned long, long&)']

/src/jsoncons/./fuzzers/fuzz_json_encoder.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=['jsoncons::basic_json_reader >, std::__1::allocator >::check_done(std::__1::error_code&)', 'jsoncons::basic_json_parser >::end_positive_value(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&)', 'jsoncons::stream_source >::fill_buffer(char*, unsigned long)', 'std::__1::enable_if::is_specialized&&ext_traits::integer_limits::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer(char const*, unsigned long, long&)', 'jsoncons::decstr_to_double(char const*, unsigned long, double&)', 'jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::json_source_adaptor > >::json_source_adaptor, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&)']

/src/jsoncons/./fuzzers/fuzz_cbor_encoder.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=['jsoncons::basic_bigint > jsoncons::powb >(jsoncons::basic_bigint >, unsigned long)', 'void jsoncons::cbor::from_cbor_bigfloat >(jsoncons::basic_bigint >, long, jsoncons::basic_bigdec >&, unsigned long, std::__1::error_code&)', 'jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_extents(std::__1::error_code&)', 'jsoncons::basic_bigint >::operator*=(jsoncons::basic_bigint >)', 'void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor&, std::__1::error_code&)', 'jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_view(std::__1::error_code&)', 'void jsoncons::cbor::from_cbor_bigfloat >(jsoncons::basic_bigint >, long, jsoncons::basic_bigdec >&, unsigned long, std::__1::error_code&)', 'jsoncons::cbor::oned_typed_array_iterator >::next(jsoncons::basic_generic_visitor&, jsoncons::ser_context const&, std::__1::error_code&)', 'jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_bigfloat(unsigned char, std::__1::basic_string, std::__1::allocator >&, std::__1::error_code&)', 'void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer::operator() > >(std::__1::vector >&, std::__1::error_code&)']

/src/jsoncons/./fuzzers/fuzz_cbor_parser_max.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=['jsoncons::basic_bigint > jsoncons::cbor::(anonymous namespace)::rounded_decimal_mantissa >(jsoncons::basic_bigint > const&, unsigned long, unsigned long, unsigned long, std::__1::error_code&)', 'jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&)', 'void jsoncons::cbor::from_cbor_bigfloat_positive_rounded >(jsoncons::basic_bigint >, unsigned long, unsigned long, jsoncons::basic_bigdec >&, std::__1::error_code&)', 'jsoncons::basic_bigint >::bit_width() const', 'jsoncons::basic_bigdec > jsoncons::cbor::(anonymous namespace)::compact_exact_positive >(jsoncons::basic_bigint >, unsigned long)', 'jsoncons::basic_bigint >::divmod_small(unsigned long)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'LLVMFuzzerTestOneInput', 'jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::parse(jsoncons::basic_generic_visitor&, std::__1::error_code&)', 'jsoncons::stream_source >::read(unsigned char*, unsigned long)']

/src/jsoncons/./fuzzers/fuzz_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=['jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long)', 'std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::bson::try_decode_bson > >(std::__1::basic_istream >&, jsoncons::bson::bson_decode_options const&)', 'std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::bson::try_decode_bson > >(std::__1::basic_istream >&, jsoncons::bson::bson_decode_options const&)', 'jsoncons::bson::basic_bson_parser >, std::__1::allocator >::basic_bson_parser >&>(std::__1::basic_istream >&, jsoncons::bson::bson_decode_options const&, std::__1::allocator const&)', 'jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&)', 'jsoncons::bson::basic_bson_parser >, std::__1::allocator >::end_document(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::bson::try_decode_bson > >(std::__1::basic_istream >&, jsoncons::bson::bson_decode_options const&)', 'std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::bson::try_decode_bson > >(std::__1::basic_istream >&, jsoncons::bson::bson_decode_options const&)', 'jsoncons::basic_json > jsoncons::bson::decode_bson >, std::__1::basic_istringstream, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&)', 'jsoncons::basic_json > jsoncons::bson::decode_bson >, std::__1::basic_istringstream, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&)']

/src/jsoncons/./fuzzers/fuzz_ubjson_parser_max.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=['jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::parse(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long)', 'LLVMFuzzerTestOneInput', 'jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::basic_ubjson_parser, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&, jsoncons::ubjson::ubjson_decode_options const&, std::__1::allocator const&)', 'jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&)', 'jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::read_value(jsoncons::basic_json_visitor&, unsigned char, std::__1::error_code&)', 'std::__1::enable_if::type jsoncons::binary::big_to_native(unsigned char const*, unsigned long)', 'jsoncons::ubjson::basic_ubjson_reader >, std::__1::allocator >::basic_ubjson_reader, std::__1::allocator >&>(std::__1::basic_istringstream, std::__1::allocator >&, jsoncons::basic_json_visitor&, jsoncons::ubjson::ubjson_decode_options const&, std::__1::allocator const&)']

/src/jsoncons/./fuzzers/fuzz_parse.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::enable_if, std::__1::allocator >, char>::value, jsoncons::basic_json > >::type jsoncons::basic_json >::parse, std::__1::allocator > >(std::__1::basic_string, std::__1::allocator > const&, jsoncons::basic_json_decode_options const&)', 'jsoncons::heap::heap_string_factory >::destroy(jsoncons::heap::heap_string >*)', 'void jsoncons::basic_json >::construct >::null_storage>()', 'jsoncons::basic_json_parser >::end_positive_value(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'LLVMFuzzerTestOneInput', 'std::__1::enable_if::is_specialized&&ext_traits::integer_limits::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer(char const*, unsigned long, long&)', 'jsoncons::decstr_to_double(char const*, unsigned long, double&)', 'jsoncons::basic_json_parser >::end_string_value(char const*, unsigned long, jsoncons::basic_json_visitor&, std::__1::error_code&)']

/src/jsoncons/./fuzzers/fuzz_csv_encoder.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=['jsoncons::decstr_to_double(char const*, unsigned long, double&)', 'jsoncons::csv::basic_csv_parser >::parse_some(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'jsoncons::basic_json_parser >::parse_some_(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'void jsoncons::csv::detail::parse_column_types > >(std::__1::basic_string, std::__1::allocator > const&, std::__1::vector >&)', 'jsoncons::basic_json_parser >::basic_json_parser(jsoncons::basic_json_decode_options const&, std::__1::allocator const&)', 'jsoncons::basic_json_parser >::basic_json_parser(std::__1::allocator const&)', 'jsoncons::csv::basic_csv_parser >::end_value(jsoncons::basic_json_visitor&, bool, std::__1::error_code&)', 'jsoncons::csv::basic_csv_parser >::end_unquoted_string_value(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'std::__1::enable_if::is_specialized&&ext_traits::integer_limits::is_signed, jsoncons::to_number_result >::type jsoncons::dec_to_integer(char const*, unsigned long, long&)', 'jsoncons::csv::basic_csv_parser >::end_quoted_string_value(jsoncons::basic_json_visitor&, std::__1::error_code&)']

/src/jsoncons/./fuzzers/fuzz_msgpack_decode_bytes_source.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=['jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&)', 'jsoncons::basic_bigint >::operator<<=(unsigned long)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'std::__1::enable_if > >::value&&ext_traits::is_bytes_view_like >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::msgpack::try_decode_msgpack >, jsoncons::nonstd::span >(jsoncons::nonstd::span const&, jsoncons::msgpack::msgpack_decode_options const&)', 'jsoncons::basic_bigint >::operator-=(jsoncons::basic_bigint > const&)']

/src/jsoncons/./fuzzers/fuzz_cbor_cursor.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=['jsoncons::decstr_to_double(char const*, unsigned long, double&)', 'jsoncons::cbor::basic_cbor_cursor >, std::__1::allocator >::read_next(std::__1::error_code&)', 'jsoncons::basic_bigint > jsoncons::cbor::(anonymous namespace)::rounded_decimal_mantissa >(jsoncons::basic_bigint > const&, unsigned long, unsigned long, unsigned long, std::__1::error_code&)', 'jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_mdarray_header(jsoncons::basic_generic_visitor&, std::__1::error_code&)', 'jsoncons::cbor::oned_typed_array_iterator >::next(jsoncons::basic_generic_visitor&, jsoncons::ser_context const&, std::__1::error_code&)', 'jsoncons::cbor::oned_typed_array_iterator >::next(jsoncons::basic_generic_visitor&, jsoncons::ser_context const&, std::__1::error_code&)', 'jsoncons::nonstd::span jsoncons::typed_array_cast(jsoncons::nonstd::span)', 'jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&)', 'std::__1::enable_if, std::__1::allocator > >::value&&std::is_same, std::__1::allocator >::value_type, char>::value, std::__1::basic_string, std::__1::allocator > >::type jsoncons::basic_staj_event::get_, std::__1::allocator >, std::__1::allocator, char>(std::__1::allocator, std::__1::error_code&) const', 'jsoncons::binary::decode_half(unsigned short)']

/src/jsoncons/./fuzzers/fuzz_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=['jsoncons::basic_bigint > jsoncons::cbor::(anonymous namespace)::rounded_decimal_mantissa >(jsoncons::basic_bigint > const&, unsigned long, unsigned long, unsigned long, std::__1::error_code&)', 'jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&)', 'void jsoncons::cbor::from_cbor_bigfloat_positive_rounded >(jsoncons::basic_bigint >, unsigned long, unsigned long, jsoncons::basic_bigdec >&, std::__1::error_code&)', 'jsoncons::basic_bigint >::bit_width() const', 'jsoncons::basic_bigdec > jsoncons::cbor::(anonymous namespace)::compact_exact_positive >(jsoncons::basic_bigint >, unsigned long)', 'jsoncons::basic_bigint >::divmod_small(unsigned long)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::cbor::try_decode_cbor > >(std::__1::basic_istream >&, jsoncons::cbor::cbor_decode_options const&)', 'jsoncons::stream_source >::read(unsigned char*, unsigned long)', 'void jsoncons::cbor::from_cbor_bigfloat_positive_rounded >(jsoncons::basic_bigint >, unsigned long, unsigned long, jsoncons::basic_bigdec >&, std::__1::error_code&)']

/src/jsoncons/./fuzzers/fuzz_cbor_typed_array.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=['jsoncons::basic_bigint > jsoncons::cbor::(anonymous namespace)::rounded_decimal_mantissa >(jsoncons::basic_bigint > const&, unsigned long, unsigned long, unsigned long, std::__1::error_code&)', 'jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&)', 'jsoncons::nonstd::span jsoncons::typed_array_cast(jsoncons::nonstd::span)', 'void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor&, std::__1::error_code&)', 'void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor&, std::__1::error_code&)', 'void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor&, std::__1::error_code&)', 'jsoncons::nonstd::span jsoncons::typed_array_cast(jsoncons::nonstd::span)', 'void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor&, std::__1::error_code&)', 'void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor&, std::__1::error_code&)', 'void jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string >, std::__1::allocator >::read_byte_string_from_buffer>(jsoncons::cbor::basic_cbor_parser >, std::__1::allocator >::read_byte_string_from_buffer, jsoncons::basic_generic_visitor&, std::__1::error_code&)']

/src/jsoncons/./fuzzers/fuzz_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=['jsoncons::heap::heap_string_factory >::destroy(jsoncons::heap::heap_string >*)', 'jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long)', 'void jsoncons::basic_json >::construct >::null_storage>()', 'std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::ubjson::try_decode_ubjson > >(std::__1::basic_istream >&, jsoncons::ubjson::ubjson_decode_options const&)', 'std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::ubjson::try_decode_ubjson > >(std::__1::basic_istream >&, jsoncons::ubjson::ubjson_decode_options const&)', 'jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::basic_ubjson_parser >&>(std::__1::basic_istream >&, jsoncons::ubjson::ubjson_decode_options const&, std::__1::allocator const&)', 'jsoncons::stream_source >::stream_source(std::__1::basic_istream >&, std::__1::allocator const&)', 'jsoncons::ubjson::basic_ubjson_parser >, std::__1::allocator >::parse(jsoncons::basic_json_visitor&, std::__1::error_code&)', 'std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::ubjson::try_decode_ubjson > >(std::__1::basic_istream >&, jsoncons::ubjson::ubjson_decode_options const&)', 'std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::ubjson::try_decode_ubjson > >(std::__1::basic_istream >&, jsoncons::ubjson::ubjson_decode_options const&)']

/src/jsoncons/./fuzzers/fuzz_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=['jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&)', 'jsoncons::basic_bigint >::operator<<=(unsigned long)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::stream_source >::fill_buffer(unsigned char*, unsigned long)', 'jsoncons::operator<(jsoncons::basic_bigint > const&, jsoncons::basic_bigint > const&)', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'jsoncons::basic_bigint >::divide(jsoncons::basic_bigint > const&, jsoncons::basic_bigint >&, jsoncons::basic_bigint >&, bool) const', 'std::__1::enable_if > >::value, jsoncons::nonstd::expected >, jsoncons::read_error> >::type jsoncons::msgpack::try_decode_msgpack > >(std::__1::basic_istream >&, jsoncons::msgpack::msgpack_decode_options const&)']

/src/jsoncons/./fuzzers/fuzz_cbor_noexcept.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=['jsoncons::basic_bigint > jsoncons::cbor::(anonymous namespace)::rounded_decimal_mantissa >(jsoncons::basic_bigint > const&, unsigned long, unsigned long, unsigned long, std::__1::error_code&)', 'jsoncons::basic_staj_event::send_event(jsoncons::basic_generic_visitor&, jsoncons::ser_context const&, std::__1::error_code&) const', 'jsoncons::detail::bigint_storage >::operator=(jsoncons::detail::bigint_storage > const&)', 'void jsoncons::cbor::from_cbor_bigfloat_positive_rounded >(jsoncons::basic_bigint >, unsigned long, unsigned long, jsoncons::basic_bigdec >&, std::__1::error_code&)', 'jsoncons::basic_bigint >::bit_width() const', 'jsoncons::basic_bigdec > jsoncons::cbor::(anonymous namespace)::compact_exact_positive >(jsoncons::basic_bigint >, unsigned long)', 'jsoncons::basic_bigint >::divmod_small(unsigned long)', 'jsoncons::basic_staj_event::send_event(jsoncons::basic_generic_visitor&, jsoncons::ser_context const&, std::__1::error_code&) const', 'bool jsoncons::basic_generic_visitor::byte_string_value(jsoncons::byte_string_view const&, jsoncons::semantic_tag, jsoncons::ser_context const&, std::__1::enable_if::value, int>::type)', 'jsoncons::basic_staj_event::send_event(jsoncons::basic_generic_visitor&, jsoncons::ser_context const&, std::__1::error_code&) const']

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
jsoncons::basic_json_parser >::end_negative_value(jsoncons::basic_json_visitor &,std::__1::error_code&) 40 19 47.5% ['fuzz_parse', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_csv_encoder', 'fuzz_csv', 'fuzz_json_parser_max']
jsoncons::basic_json_parser >::end_positive_value(jsoncons::basic_json_visitor &,std::__1::error_code&) 40 19 47.5% ['fuzz_parse', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_csv_encoder', 'fuzz_csv', 'fuzz_json_parser_max']
jsoncons::ubjson::basic_ubjson_encoder >,void>,std::__1::allocator >::visit_uint64(unsignedlong,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 32 9 28.12% ['fuzz_ubjson_encoder']
std::__1::enable_if ::is_specialized&&(!ext_traits::integer_limits ::is_signed),jsoncons::to_number_result >::typejsoncons::to_integer (charconst*,unsignedlong,unsignedint&) 176 44 25.0% ['fuzz_bson_encoder']
jsoncons::bson::basic_bson_encoder >,void>,std::__1::allocator >::visit_uint64(unsignedlong,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 52 27 51.92% ['fuzz_bson_encoder']
jsoncons::bson::basic_bson_encoder >,void>,std::__1::allocator >::visit_int64(long,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 53 26 49.05% ['fuzz_bson_encoder']
unsignedlongjsoncons::write_double::operator() ,std::__1::allocator >>>(double,jsoncons::string_sink ,std::__1::allocator >>&) 72 19 26.38% ['fuzz_cbor_parser_max', 'fuzz_msgpack', 'fuzz_msgpack_decode_iterator_source', 'fuzz_json_encoder', 'fuzz_msgpack_parser_max', 'fuzz_msgpack_encoder', 'fuzz_cbor', 'fuzz_cbor_noexcept', 'fuzz_msgpack_decode_bytes_source']
booljsoncons::dtoa_general ,std::__1::allocator >>>(double,char,jsoncons::string_sink ,std::__1::allocator >>&,std::__1::integral_constant ) 33 18 54.54% ['fuzz_cbor_parser_max', 'fuzz_msgpack', 'fuzz_msgpack_decode_iterator_source', 'fuzz_json_encoder', 'fuzz_msgpack_parser_max', 'fuzz_msgpack_encoder', 'fuzz_cbor', 'fuzz_cbor_noexcept', 'fuzz_msgpack_decode_bytes_source']
jsoncons::msgpack::basic_msgpack_encoder >,void>,std::__1::allocator >::visit_uint64(unsignedlong,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 76 37 48.68% ['fuzz_msgpack_encoder']
jsoncons::msgpack::basic_msgpack_encoder >,void>,std::__1::allocator >::visit_string(std::__1::basic_string_view >const&,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 80 36 45.0% ['fuzz_msgpack_encoder']
jsoncons::basic_json >::swap(jsoncons::basic_json >&) 36 18 50.0% ['fuzz_ubjson', 'fuzz_parse', 'fuzz_msgpack', 'fuzz_msgpack_decode_iterator_source', 'fuzz_cbor', 'fuzz_cbor_noexcept', 'fuzz_msgpack_decode_bytes_source', 'fuzz_bson']
jsoncons::msgpack::msgpack_error_category_impl::message(int)const 33 13 39.39% ['fuzz_msgpack_decode_bytes_source', 'fuzz_msgpack', 'fuzz_msgpack_decode_iterator_source']
jsoncons::basic_json >::swap(jsoncons::basic_json >&) 36 11 30.55% ['fuzz_csv']
jsoncons::json_array >,std::__1::vector>::flatten_and_destroy() 38 20 52.63% ['fuzz_csv']
voidjsoncons::csv::detail::parse_column_types >>(std::__1::basic_string ,std::__1::allocator >const&,std::__1::vector >&) 139 15 10.79% ['fuzz_csv', 'fuzz_csv_encoder']
voidjsoncons::csv::detail::parse_column_names ,std::__1::allocator >,std::__1::allocator ,std::__1::allocator >>>>(std::__1::basic_string ,std::__1::allocator >const&,std::__1::vector ,std::__1::allocator >,std::__1::allocator ,std::__1::allocator >>>&) 47 7 14.89% ['fuzz_csv', 'fuzz_csv_encoder']
jsoncons::csv::basic_csv_parser >::end_unquoted_string_value(jsoncons::basic_json_visitor &,std::__1::error_code&) 63 20 31.74% ['fuzz_csv', 'fuzz_csv_encoder']
jsoncons::csv::basic_csv_parser >::end_value(jsoncons::basic_json_visitor &,bool,std::__1::error_code&) 200 18 9.0% ['fuzz_csv', 'fuzz_csv_encoder']
jsoncons::csv::basic_csv_parser >::end_quoted_string_value(jsoncons::basic_json_visitor &,std::__1::error_code&) 59 17 28.81% ['fuzz_csv', 'fuzz_csv_encoder']
jsoncons::csv::basic_csv_parser >::end_record(jsoncons::basic_json_visitor &,std::__1::error_code&) 96 40 41.66% ['fuzz_csv', 'fuzz_csv_encoder']
unsignedlongjsoncons::write_double::operator() ,std::__1::allocator >>(double,std::__1::basic_string ,std::__1::allocator >&) 72 19 26.38% ['fuzz_csv_encoder', 'fuzz_cbor_cursor', 'fuzz_json_cursor']
booljsoncons::dtoa_general ,std::__1::allocator >>(double,char,std::__1::basic_string ,std::__1::allocator >&,std::__1::integral_constant ) 33 18 54.54% ['fuzz_csv_encoder', 'fuzz_cbor_cursor', 'fuzz_json_cursor']
jsoncons::basic_json_encoder ,std::__1::allocator >>,std::__1::allocator >::basic_json_encoder(jsoncons::string_sink ,std::__1::allocator >>&&,jsoncons::basic_json_encode_options const&,std::__1::allocator const&) 57 31 54.38% ['fuzz_json_encoder']
jsoncons::basic_json_encoder ,std::__1::allocator >>,std::__1::allocator >::visit_double(double,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 74 18 24.32% ['fuzz_json_encoder']
jsoncons::basic_json_encoder ,std::__1::allocator >>,std::__1::allocator >::write_bignum_value(std::__1::basic_string_view >const&) 63 10 15.87% ['fuzz_json_encoder']
std::__1::enable_if ::value&&ext_traits::is_char32 ::value,jsoncons::unicode_traits::unicode_result >::typejsoncons::unicode_traits::to_codepoint (charconst*,charconst*,unsignedint&,jsoncons::unicode_traits::strict_flag) 68 21 30.88% ['fuzz_json_encoder']
jsoncons::cbor::basic_cbor_encoder >,void>,std::__1::allocator >::visit_string(std::__1::basic_string_view >const&,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 52 21 40.38% ['fuzz_cbor_encoder']
jsoncons::cbor::basic_cbor_encoder >,void>,std::__1::allocator >::write_bignum(jsoncons::basic_bigint >&) 56 28 50.0% ['fuzz_cbor_encoder']
jsoncons::cbor::basic_cbor_encoder >,void>,std::__1::allocator >::visit_byte_string(jsoncons::byte_string_viewconst&,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 53 21 39.62% ['fuzz_cbor_encoder']
jsoncons::basic_bigint >jsoncons::cbor::(anonymousnamespace)::rounded_decimal_mantissa >(jsoncons::basic_bigint >const&,unsignedlong,unsignedlong,unsignedlong,std::__1::error_code&) 50 26 52.0% ['fuzz_cbor_parser_max', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_noexcept', 'fuzz_cbor_encoder', 'fuzz_cbor_typed_array']
jsoncons::bson::bson_error_category_impl::message(int)const 41 21 51.21% ['fuzz_bson']
jsoncons::csv::basic_csv_encoder ,std::__1::allocator >>,std::__1::allocator >::visit_end_array(jsoncons::ser_contextconst&,std::__1::error_code&) 125 20 16.0% ['fuzz_csv_encoder']
jsoncons::csv::basic_csv_encoder ,std::__1::allocator >>,std::__1::allocator >::visit_uint64(unsignedlong,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 68 18 26.47% ['fuzz_csv_encoder']
jsoncons::csv::basic_csv_encoder ,std::__1::allocator >>,std::__1::allocator >::visit_int64(long,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 68 18 26.47% ['fuzz_csv_encoder']
jsoncons::csv::basic_csv_encoder ,std::__1::allocator >>,std::__1::allocator >::visit_double(double,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 72 20 27.77% ['fuzz_csv_encoder']
jsoncons::csv::basic_csv_encoder ,std::__1::allocator >>,std::__1::allocator >::write_double_value(double,jsoncons::ser_contextconst&,std::__1::basic_string ,std::__1::allocator >&,std::__1::error_code&) 54 28 51.85% ['fuzz_csv_encoder']
jsoncons::csv::basic_csv_encoder ,std::__1::allocator >>,std::__1::allocator >::visit_begin_array(jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 125 23 18.4% ['fuzz_csv_encoder']
jsoncons::csv::basic_csv_encoder ,std::__1::allocator >>,std::__1::allocator >::visit_null(jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 68 18 26.47% ['fuzz_csv_encoder']
jsoncons::csv::basic_csv_encoder ,std::__1::allocator >>,std::__1::allocator >::visit_bool(bool,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 68 18 26.47% ['fuzz_csv_encoder']
jsoncons::csv::basic_csv_encoder ,std::__1::allocator >>,std::__1::allocator >::visit_string(std::__1::basic_string_view >const&,jsoncons::semantic_tag,jsoncons::ser_contextconst&,std::__1::error_code&) 68 18 26.47% ['fuzz_csv_encoder']
jsoncons::cbor::cbor_error_category_impl::message(int)const 73 37 50.68% ['fuzz_cbor']
std::__1::enable_if ::value&&ext_traits::is_byte >::value_type>::value,unsignedlong>::typejsoncons::source_reader >::read >>(jsoncons::chars_source &,std::__1::vector >&,unsignedlong) 31 17 54.83% ['fuzz_cbor_noexcept']
std::__1::enable_if ::value&&ext_traits::is_byte ,std::__1::allocator >::value_type>::value,unsignedlong>::typejsoncons::source_reader >::read ,std::__1::allocator >>(jsoncons::chars_source &,std::__1::basic_string ,std::__1::allocator >&,unsignedlong) 31 17 54.83% ['fuzz_cbor_noexcept']

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/jsoncons/./include/jsoncons/sorted_json_object.hpp [] []
/src/jsoncons/./include/jsoncons/conv_error.hpp [] []
/src/jsoncons/./include/jsoncons/source_adaptor.hpp ['fuzz_json_parser_max', 'fuzz_csv', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_csv_encoder'] []
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_error.hpp [] []
/src/jsoncons/./fuzzers/fuzz_cbor_noexcept.cpp ['fuzz_cbor_noexcept'] []
/src/jsoncons/./fuzzers/fuzz_cbor_view.cpp ['fuzz_cbor_view'] []
/src/jsoncons/./include/jsoncons_ext/ubjson/decode_ubjson.hpp ['fuzz_ubjson'] []
/src/jsoncons/./fuzzers/fuzz_msgpack_encoder.cpp ['fuzz_msgpack_encoder'] []
/src/jsoncons/./include/jsoncons/key_value.hpp [] []
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_encoder.hpp ['fuzz_cbor_encoder'] []
/src/jsoncons/./include/jsoncons/utility/detail/grisu3.hpp ['fuzz_json_cursor', 'fuzz_cbor_cursor'] []
/usr/local/bin/../include/c++/v1/string [] []
/src/jsoncons/./include/jsoncons/utility/number_readers.hpp ['fuzz_json_parser_max', 'fuzz_ubjson_encoder', 'fuzz_csv', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_ubjson_parser_max', 'fuzz_parse', 'fuzz_csv_encoder', 'fuzz_cbor_cursor', 'fuzz_ubjson'] []
/src/jsoncons/./include/jsoncons/staj_cursor.hpp ['fuzz_json_cursor', 'fuzz_cbor_cursor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./fuzzers/fuzz_cbor_encoder.cpp ['fuzz_cbor_encoder'] []
/src/jsoncons/./include/jsoncons/utility/unicode_traits.hpp ['fuzz_json_parser_max', 'fuzz_ubjson_encoder', 'fuzz_cbor_view', 'fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_msgpack_parser_max', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_bson', 'fuzz_ubjson_parser_max', 'fuzz_parse', 'fuzz_csv_encoder', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_options.hpp ['fuzz_ubjson_encoder', 'fuzz_ubjson_parser_max', 'fuzz_ubjson'] []
/src/jsoncons/./fuzzers/fuzz_bson_parser_max.cpp ['fuzz_bson_parser_max'] []
/src/jsoncons/./include/jsoncons/source.hpp ['fuzz_json_parser_max', 'fuzz_ubjson_encoder', 'fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_msgpack_parser_max', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_bson', 'fuzz_ubjson_parser_max', 'fuzz_csv_encoder', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/bson/bson_error.hpp [] []
/src/jsoncons/./include/jsoncons/nonstd/span.hpp ['fuzz_json_parser_max', 'fuzz_ubjson_encoder', 'fuzz_cbor_view', 'fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_msgpack_parser_max', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_bson', 'fuzz_ubjson_parser_max', 'fuzz_csv_encoder', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./fuzzers/fuzz_ubjson_parser_max.cpp ['fuzz_ubjson_parser_max'] []
/src/jsoncons/./fuzzers/fuzz_msgpack_decode_iterator_source.cpp ['fuzz_msgpack_decode_iterator_source'] []
/src/jsoncons/./include/jsoncons/utility/bignum_common.hpp ['fuzz_bigint'] []
/src/jsoncons/./include/jsoncons/json_reader.hpp ['fuzz_json_parser_max', 'fuzz_json_encoder'] []
/src/jsoncons/./include/jsoncons/json_visitor.hpp ['fuzz_json_parser_max', 'fuzz_ubjson_encoder', 'fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_msgpack_parser_max', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_bson', 'fuzz_ubjson_parser_max', 'fuzz_parse', 'fuzz_csv_encoder', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_view.hpp ['fuzz_cbor_view'] []
/src/jsoncons/./include/jsoncons/utility/function_objects.hpp ['fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./fuzzers/fuzz_parse.cpp ['fuzz_parse'] []
/src/jsoncons/./fuzzers/fuzz_csv.cpp ['fuzz_csv'] []
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_error.hpp [] []
/src/jsoncons/./include/jsoncons/json_cursor.hpp ['fuzz_json_cursor'] []
/src/jsoncons/./include/jsoncons/json_array.hpp [] []
/src/jsoncons/./include/jsoncons/json_type.hpp ['fuzz_msgpack_decode_iterator_source', 'fuzz_bson', 'fuzz_parse', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/bson/bson_encoder.hpp ['fuzz_bson_encoder'] []
/src/jsoncons/./fuzzers/fuzz_bson.cpp ['fuzz_bson'] []
/src/jsoncons/./include/jsoncons/utility/heap_string.hpp ['fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_bson', 'fuzz_parse', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/json_encoder.hpp ['fuzz_json_encoder'] []
/src/jsoncons/./include/jsoncons_ext/csv/csv_error.hpp [] []
/src/jsoncons/./include/jsoncons_ext/bson/bson_parser.hpp ['fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_bson'] []
/src/jsoncons/./include/jsoncons/sink.hpp ['fuzz_ubjson_encoder', 'fuzz_bson_encoder', 'fuzz_msgpack_encoder', 'fuzz_json_encoder', 'fuzz_cbor_encoder', 'fuzz_csv_encoder'] []
/usr/local/bin/../include/c++/v1/stdlib.h [] []
/src/jsoncons/./include/jsoncons_ext/msgpack/decode_msgpack.hpp ['fuzz_msgpack_decode_iterator_source', 'fuzz_msgpack_decode_bytes_source', 'fuzz_msgpack'] []
/src/jsoncons/./include/jsoncons_ext/csv/csv_parser.hpp ['fuzz_csv', 'fuzz_csv_encoder'] []
/src/jsoncons/./include/jsoncons/utility/bigint.hpp ['fuzz_bigint', 'fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_msgpack_parser_max', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/json_exception.hpp ['fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_json_cursor', 'fuzz_bson', 'fuzz_parse', 'fuzz_csv_encoder', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/nonstd/compiler_support.hpp ['fuzz_cbor_view', 'fuzz_json_cursor', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_error.hpp [] []
/src/jsoncons/./include/jsoncons/nonstd/expected.hpp ['fuzz_cbor_view', 'fuzz_msgpack_decode_iterator_source', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_bson', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/basic_json.hpp ['fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_bson', 'fuzz_parse', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./fuzzers/fuzz_msgpack_parser_max.cpp ['fuzz_msgpack_parser_max'] []
/src/jsoncons/./include/jsoncons/config/jsoncons_config.hpp ['fuzz_bigint', 'fuzz_json_parser_max', 'fuzz_ubjson_encoder', 'fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_msgpack_parser_max', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_bson', 'fuzz_ubjson_parser_max', 'fuzz_parse', 'fuzz_csv_encoder', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./fuzzers/fuzz_bigint.cpp ['fuzz_bigint'] []
/src/jsoncons/./include/jsoncons/allocator_holder.hpp ['fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_bson', 'fuzz_parse', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/utility/binary.hpp ['fuzz_ubjson_encoder', 'fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_msgpack_parser_max', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_bson', 'fuzz_ubjson_parser_max', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_common.hpp ['fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./fuzzers/fuzz_msgpack.cpp ['fuzz_msgpack'] []
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_encoder.hpp ['fuzz_msgpack_encoder'] []
/src/jsoncons/./include/jsoncons/nonstd/make_obj_using_allocator.hpp ['fuzz_json_cursor', 'fuzz_cbor_cursor'] []
/src/jsoncons/./include/jsoncons/json_parser.hpp ['fuzz_json_parser_max', 'fuzz_csv', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_parse', 'fuzz_csv_encoder'] []
/src/jsoncons/./fuzzers/fuzz_json_cursor.cpp ['fuzz_json_cursor'] []
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_typed_array_iterator.hpp ['fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_parser.hpp ['fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_msgpack_parser_max', 'fuzz_msgpack_decode_bytes_source', 'fuzz_msgpack'] []
/src/jsoncons/./include/jsoncons/ordered_json_object.hpp [] []
/src/jsoncons/./include/jsoncons/ser_common.hpp ['fuzz_json_parser_max', 'fuzz_ubjson_encoder', 'fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_msgpack_parser_max', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_bson', 'fuzz_ubjson_parser_max', 'fuzz_parse', 'fuzz_csv_encoder', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/json_filter.hpp ['fuzz_msgpack_decode_iterator_source', 'fuzz_bson', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/bson/decode_bson.hpp ['fuzz_bson'] []
/src/jsoncons/./fuzzers/fuzz_ubjson.cpp ['fuzz_ubjson'] []
/src/jsoncons/./include/jsoncons/nonstd/bit.hpp ['fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/usr/local/bin/../include/c++/v1/stdexcept ['fuzz_csv', 'fuzz_json_cursor', 'fuzz_cbor_cursor'] []
/src/jsoncons/./fuzzers/fuzz_csv_encoder.cpp ['fuzz_csv_encoder'] []
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_parser.hpp ['fuzz_ubjson_encoder', 'fuzz_ubjson_parser_max', 'fuzz_ubjson'] []
/src/jsoncons/./include/jsoncons_ext/bson/bson_reader.hpp ['fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_bson'] []
/src/jsoncons/./include/jsoncons/json_options.hpp ['fuzz_json_parser_max', 'fuzz_csv', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_parse', 'fuzz_csv_encoder'] []
/src/jsoncons/./fuzzers/fuzz_msgpack_decode_bytes_source.cpp ['fuzz_msgpack_decode_bytes_source'] []
/usr/local/bin/../include/c++/v1/__exception/exception.h ['fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_bson', 'fuzz_parse', 'fuzz_csv_encoder', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/json_encoders.hpp [] []
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_encoder.hpp ['fuzz_ubjson_encoder'] []
/src/jsoncons/./include/jsoncons_ext/bson/bson_options.hpp ['fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_bson'] []
/src/jsoncons/./fuzzers/fuzz_json_parser_max.cpp ['fuzz_json_parser_max'] []
/src/jsoncons/./include/jsoncons/utility/conversion.hpp ['fuzz_json_cursor', 'fuzz_cbor_cursor'] []
/src/jsoncons/./include/jsoncons/utility/more_type_traits.hpp ['fuzz_bigint', 'fuzz_json_parser_max', 'fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_msgpack_parser_max', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_bson', 'fuzz_parse', 'fuzz_csv_encoder', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/bson/bson_oid.hpp ['fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_bson'] []
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_parser.hpp ['fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/jsonpointer/jsonpointer.hpp [] []
/src/jsoncons/./include/jsoncons_ext/ubjson/ubjson_reader.hpp ['fuzz_ubjson_encoder', 'fuzz_ubjson_parser_max', 'fuzz_ubjson'] []
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_cursor.hpp ['fuzz_cbor_cursor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./fuzzers/fuzz_cbor_parser_max.cpp ['fuzz_cbor_parser_max'] []
/src/jsoncons/./fuzzers/fuzz_bson_encoder.cpp ['fuzz_bson_encoder'] []
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_reader.hpp ['fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_msgpack_parser_max', 'fuzz_msgpack_decode_bytes_source', 'fuzz_msgpack'] []
/src/jsoncons/./fuzzers/fuzz_json_encoder.cpp ['fuzz_json_encoder'] []
/src/jsoncons/./include/jsoncons_ext/cbor/decode_cbor.hpp ['fuzz_cbor', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./fuzzers/fuzz_ubjson_encoder.cpp ['fuzz_ubjson_encoder'] []
/src/jsoncons/./fuzzers/fuzz_cbor.cpp ['fuzz_cbor'] []
/src/jsoncons/./fuzzers/fuzz_cbor_typed_array.cpp ['fuzz_cbor_typed_array'] []
/src/jsoncons/./include/jsoncons/utility/byte_string.hpp ['fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_msgpack_parser_max', 'fuzz_json_cursor', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_bson', 'fuzz_csv_encoder', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/json_decoder.hpp ['fuzz_msgpack_decode_iterator_source', 'fuzz_csv', 'fuzz_bson', 'fuzz_parse', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor', 'fuzz_ubjson', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_options.hpp ['fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/bson/bson_decimal128.hpp ['fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_bson'] []
/src/jsoncons/./fuzzers/fuzz_cbor_cursor.cpp ['fuzz_cbor_cursor'] []
/src/jsoncons/./include/jsoncons/json_error.hpp [] []
/src/jsoncons/./include/jsoncons_ext/csv/csv_encoder.hpp ['fuzz_csv_encoder'] []
/src/jsoncons/./include/jsoncons_ext/csv/csv_reader.hpp ['fuzz_csv', 'fuzz_csv_encoder'] []
/src/jsoncons/./include/jsoncons_ext/csv/csv_options.hpp ['fuzz_csv', 'fuzz_csv_encoder'] []
/src/jsoncons/./include/jsoncons/utility/bigdec.hpp ['fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/generic_visitor.hpp ['fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_msgpack_parser_max', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_msgpack_decode_bytes_source', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_msgpack', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/staj_event.hpp ['fuzz_json_cursor', 'fuzz_cbor_cursor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/utility/number_writers.hpp ['fuzz_bson_encoder', 'fuzz_bson_parser_max', 'fuzz_json_cursor', 'fuzz_json_encoder', 'fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_bson', 'fuzz_csv_encoder', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons/typed_array.hpp ['fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_cbor_cursor', 'fuzz_cbor', 'fuzz_cbor_typed_array', 'fuzz_cbor_noexcept'] []
/src/jsoncons/./include/jsoncons_ext/msgpack/msgpack_options.hpp ['fuzz_msgpack_encoder', 'fuzz_msgpack_decode_iterator_source', 'fuzz_msgpack_parser_max', 'fuzz_msgpack_decode_bytes_source', 'fuzz_msgpack'] []
/src/jsoncons/./include/jsoncons_ext/cbor/cbor_reader.hpp ['fuzz_cbor_encoder', 'fuzz_cbor_parser_max', 'fuzz_cbor', 'fuzz_cbor_noexcept'] []

Directories in report

Directory
/src/jsoncons/./include/jsoncons/utility/detail/
/src/jsoncons/./include/jsoncons/config/
/src/jsoncons/./include/jsoncons/nonstd/
/src/jsoncons/./include/jsoncons_ext/cbor/
/src/jsoncons/./include/jsoncons_ext/csv/
/src/jsoncons/./include/jsoncons_ext/bson/
/src/jsoncons/./include/jsoncons_ext/msgpack/
/src/jsoncons/./include/jsoncons_ext/jsonpointer/
/usr/local/bin/../include/c++/v1/__exception/
/src/jsoncons/./include/jsoncons_ext/ubjson/
/src/jsoncons/./include/jsoncons/
/src/jsoncons/./include/jsoncons/utility/
/usr/local/bin/../include/c++/v1/
/src/jsoncons/./fuzzers/

Metadata section

This sections shows the raw data that is used to produce this report. This is mainly used for further processing and developer debugging.

Fuzzer Calltree file Program data file Coverage file
fuzz_bigint fuzzerLogFile-0-2roKsPfPj0.data fuzzerLogFile-0-2roKsPfPj0.data.yaml fuzz_bigint.covreport
fuzz_json_parser_max fuzzerLogFile-0-DhfasiZC0y.data fuzzerLogFile-0-DhfasiZC0y.data.yaml fuzz_json_parser_max.covreport
fuzz_ubjson_encoder fuzzerLogFile-0-VSmmpEuFB6.data fuzzerLogFile-0-VSmmpEuFB6.data.yaml fuzz_ubjson_encoder.covreport
fuzz_cbor_view fuzzerLogFile-0-CTKSfjOc12.data fuzzerLogFile-0-CTKSfjOc12.data.yaml fuzz_cbor_view.covreport
fuzz_bson_encoder fuzzerLogFile-0-HluFKUXqXq.data fuzzerLogFile-0-HluFKUXqXq.data.yaml fuzz_bson_encoder.covreport
fuzz_bson_parser_max fuzzerLogFile-0-cJZmFrWu1S.data fuzzerLogFile-0-cJZmFrWu1S.data.yaml fuzz_bson_parser_max.covreport
fuzz_msgpack_encoder fuzzerLogFile-0-C8TIvHYCqW.data fuzzerLogFile-0-C8TIvHYCqW.data.yaml fuzz_msgpack_encoder.covreport
fuzz_msgpack_decode_iterator_source fuzzerLogFile-0-B9XzZbekVx.data fuzzerLogFile-0-B9XzZbekVx.data.yaml fuzz_msgpack_decode_iterator_source.covreport
fuzz_csv fuzzerLogFile-0-yQgNHdV5Ve.data fuzzerLogFile-0-yQgNHdV5Ve.data.yaml fuzz_csv.covreport
fuzz_msgpack_parser_max fuzzerLogFile-0-HmQd6NjXjG.data fuzzerLogFile-0-HmQd6NjXjG.data.yaml fuzz_msgpack_parser_max.covreport
fuzz_json_cursor fuzzerLogFile-0-kLCwKgFOjQ.data fuzzerLogFile-0-kLCwKgFOjQ.data.yaml fuzz_json_cursor.covreport
fuzz_json_encoder fuzzerLogFile-0-TuX6I4k7kk.data fuzzerLogFile-0-TuX6I4k7kk.data.yaml fuzz_json_encoder.covreport
fuzz_cbor_encoder fuzzerLogFile-0-V36PdMyUOF.data fuzzerLogFile-0-V36PdMyUOF.data.yaml fuzz_cbor_encoder.covreport
fuzz_cbor_parser_max fuzzerLogFile-0-ouWixU7L9z.data fuzzerLogFile-0-ouWixU7L9z.data.yaml fuzz_cbor_parser_max.covreport
fuzz_bson fuzzerLogFile-0-IMiVlEjUBy.data fuzzerLogFile-0-IMiVlEjUBy.data.yaml fuzz_bson.covreport
fuzz_ubjson_parser_max fuzzerLogFile-0-Kpqn461U4Q.data fuzzerLogFile-0-Kpqn461U4Q.data.yaml fuzz_ubjson_parser_max.covreport
fuzz_parse fuzzerLogFile-0-o51xukc51j.data fuzzerLogFile-0-o51xukc51j.data.yaml fuzz_parse.covreport
fuzz_csv_encoder fuzzerLogFile-0-avK0cOgUlm.data fuzzerLogFile-0-avK0cOgUlm.data.yaml fuzz_csv_encoder.covreport
fuzz_msgpack_decode_bytes_source fuzzerLogFile-0-BXvq9uH46z.data fuzzerLogFile-0-BXvq9uH46z.data.yaml fuzz_msgpack_decode_bytes_source.covreport
fuzz_cbor_cursor fuzzerLogFile-0-sMtLWo6KNl.data fuzzerLogFile-0-sMtLWo6KNl.data.yaml fuzz_cbor_cursor.covreport
fuzz_cbor fuzzerLogFile-0-hkJuCPs2eu.data fuzzerLogFile-0-hkJuCPs2eu.data.yaml fuzz_cbor.covreport
fuzz_cbor_typed_array fuzzerLogFile-0-ldGTN6jtV7.data fuzzerLogFile-0-ldGTN6jtV7.data.yaml fuzz_cbor_typed_array.covreport
fuzz_ubjson fuzzerLogFile-0-z91TUOH0we.data fuzzerLogFile-0-z91TUOH0we.data.yaml fuzz_ubjson.covreport
fuzz_msgpack fuzzerLogFile-0-p5jysVrBa9.data fuzzerLogFile-0-p5jysVrBa9.data.yaml fuzz_msgpack.covreport
fuzz_cbor_noexcept fuzzerLogFile-0-kRiE8cmW0Z.data fuzzerLogFile-0-kRiE8cmW0Z.data.yaml fuzz_cbor_noexcept.covreport