Project: jsoncons

Language c++
OSS-Fuzz project link
Project repository link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage succeeding: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 18
Lines of code 21677
Lines covered 14430
Code coverage 66.57%
Code coverage report Report link
Static reachability 35.43%
Fuzz Introspector report Report link (from 2025-03-27)
Fuzzer Code coverage (lines) Latest Report Comments
fuzz_bson 26.28% (avg: 26.04%, max: 26.28%) 2025-03-27
fuzz_bson_encoder 23.43% (avg: 23.22%, max: 23.43%) 2025-03-27
fuzz_bson_parser_max 15.39% (avg: 15.18%, max: 15.39%) 2025-03-27
fuzz_cbor 53.13% (avg: 52.96%, max: 53.12%) 2025-03-27
fuzz_cbor_encoder 6.57% (avg: 5.29%, max: 6.05%) 2025-03-27
fuzz_cbor_parser_max 44.73% (avg: 44.79%, max: 44.83%) 2025-03-27
fuzz_csv 22.12% (avg: 22.08%, max: 22.31%) 2025-03-27
fuzz_csv_encoder 21.08% (avg: 21.18%, max: 21.32%) 2025-03-27
fuzz_json_cursor 40.2% (avg: 40.52%, max: 40.72%) 2025-03-27
fuzz_json_encoder 49.12% (avg: 48.63%, max: 49.13%) 2025-03-27
fuzz_json_parser_max 50.41% (avg: 49.86%, max: 50.41%) 2025-03-27
fuzz_msgpack 39.16% (avg: 38.69%, max: 39.32%) 2025-03-27
fuzz_msgpack_encoder 31.86% (avg: 31.59%, max: 32.0%) 2025-03-27
fuzz_msgpack_parser_max 29.79% (avg: 29.6%, max: 29.95%) 2025-03-27
fuzz_parse 60.01% (avg: 59.97%, max: 60.03%) 2025-03-27
fuzz_ubjson 27.94% (avg: 27.68%, max: 28.01%) 2025-03-27
fuzz_ubjson_encoder 19.13% (avg: 18.88%, max: 19.23%) 2025-03-27
fuzz_ubjson_parser_max 15.39% (avg: 14.76%, max: 15.4%) 2025-03-27

Historical Progression

Per Fuzzer Progression

Functions of interest to fuzz

This section outlines functions that may be of interest to fuzz. They are based on ranking functions that have a lot of complexity but currently exhibit low code coverage. The complexity is calculated based on the function itself as well as the functions called by the given function, i.e. the tree of code that the function triggers.


This is only a minor amount of introspection information available for this project. Please consult the Fuzz Introspector report for more information, e.g. the introspection table of all functions in the target project available here.

Function name Function source file Accumulated cyclomatic complexity Code coverage
voidjsoncons::basic_json<char,jsoncons::sorted_policy,std::__1::allocator<char>>::create_object_implicitly<std::__1::allocator<char>>() /src/jsoncons/./include/jsoncons/basic_json.hpp 1863 0.0%
voidjsoncons::basic_json<char,jsoncons::order_preserving_policy,std::__1::allocator<char>>::create_object_implicitly<std::__1::allocator<char>>() /src/jsoncons/./include/jsoncons/basic_json.hpp 1863 0.0%
jsoncons::csv::basic_csv_parser<char,std::__1::allocator<char>>::end_value(jsoncons::basic_json_visitor<char>&,bool,std::__1::error_code&) /src/jsoncons/./include/jsoncons_ext/csv/csv_parser.hpp 800 8.9%
jsoncons::basic_json_encoder<char,jsoncons::string_sink<std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>>,std::__1::allocator<char>>::write_bigint_value(std::__1::basic_string_view<char,std::__1::char_traits<char>>const&) /src/jsoncons/./include/jsoncons/json_encoder.hpp 502 15.87%
jsoncons::order_preserving_json_object<std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,jsoncons::basic_json<char,jsoncons::order_preserving_policy,std::__1::allocator<char>>,std::__1::vector>::~order_preserving_json_object() /src/jsoncons/./include/jsoncons/json_object.hpp 377 0.0%
voidjsoncons::basic_bigint<std::__1::allocator<unsignedchar>>::write_bytes_be<std::__1::allocator<unsignedchar>>(int&,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>&)const /src/jsoncons/./include/jsoncons/utility/bigint.hpp 354 0.0%
jsoncons::basic_bigint<std::__1::allocator<unsignedchar>>jsoncons::basic_bigint<std::__1::allocator<unsignedchar>>::from_string_radix<char>(charconst*,unsignedlong,unsignedchar) /src/jsoncons/./include/jsoncons/utility/bigint.hpp 329 0.0%
jsoncons::basic_bigint<std::__1::allocator<unsignedchar>>::operator-=(jsoncons::basic_bigint<std::__1::allocator<unsignedchar>>const&) /src/jsoncons/./include/jsoncons/utility/bigint.hpp 201 15.38%
jsoncons::csv::detail::m_columns_filter<char,std::__1::allocator<char>>::replay_parse_events(jsoncons::basic_json_visitor<char>&,bool,int) /src/jsoncons/./include/jsoncons_ext/csv/csv_parser.hpp 185 0.0%
voidjsoncons::csv::detail::parse_column_types<char,std::__1::vector<jsoncons::csv::csv_type_info,std::__1::allocator<jsoncons::csv::csv_type_info>>>(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&,std::__1::vector<jsoncons::csv::csv_type_info,std::__1::allocator<jsoncons::csv::csv_type_info>>&) /src/jsoncons/./include/jsoncons_ext/csv/csv_options.hpp 134 10.79%