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 21483
Lines covered 14079
Code coverage 65.54%
Code coverage report Report link
Static reachability 34.61%
Fuzz Introspector report Report link (from 2025-05-30)
Fuzzer Code coverage (lines) Latest Report Comments
fuzz_bson 26.55% (avg: 26.5%, max: 26.58%) 2025-05-30
fuzz_bson_encoder 23.69% (avg: 23.64%, max: 23.71%) 2025-05-30
fuzz_bson_parser_max 15.61% (avg: 15.58%, max: 15.62%) 2025-05-30
fuzz_cbor 53.43% (avg: 53.38%, max: 53.46%) 2025-05-30
fuzz_cbor_parser_max 45.0% (avg: 44.96%, max: 45.04%) 2025-05-30
fuzz_csv 22.97% (avg: 22.84%, max: 22.99%) 2025-05-30
fuzz_csv_encoder 21.71% (avg: 21.61%, max: 21.73%) 2025-05-30
fuzz_json_cursor 37.79% (avg: 38.48%, max: 40.63%) 2025-05-30
fuzz_json_encoder 46.35% (avg: 46.47%, max: 48.66%) 2025-05-30
fuzz_json_parser_max 47.19% (avg: 47.8%, max: 49.78%) 2025-05-30
fuzz_msgpack 39.39% (avg: 39.35%, max: 39.42%) 2025-05-30
fuzz_msgpack_encoder 32.05% (avg: 32.01%, max: 32.07%) 2025-05-30
fuzz_msgpack_parser_max 30.0% (avg: 29.96%, max: 30.02%) 2025-05-30
fuzz_parse 56.86% (avg: 57.47%, max: 59.5%) 2025-05-30
fuzz_ubjson 28.45% (avg: 28.05%, max: 28.26%) 2025-05-30
fuzz_ubjson_encoder 19.34% (avg: 19.42%, max: 19.58%) 2025-05-30
fuzz_ubjson_parser_max 13.29% (avg: 12.73%, max: 13.42%) 2025-05-30

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 739 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 468 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 320 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 295 0.0%
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%
jsoncons::basic_bigint<std::__1::allocator<unsignedchar>>::operator-=(jsoncons::basic_bigint<std::__1::allocator<unsignedchar>>const&) /src/jsoncons/./include/jsoncons/utility/bigint.hpp 167 15.38%
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%