Project: json

Language c++
OSS-Fuzz project link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage succeeding: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 6
Lines of code 8087
Lines covered 6042
Code coverage 74.71%
Code coverage report Report link
Static reachability 13.12%
Fuzz Introspector report Report link (from 2024-06-21)

Historical 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
boolnlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_input_adapter<unsignedcharconst*>>::sax_parse_internal<nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>>(nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>*) /src/json/tests/../single_include/nlohmann/json.hpp 1101 0.0%
boolnlohmann::json_abi_v3_11_3::detail::parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>,nlohmann::json_abi_v3_11_3::detail::iterator_input_adapter<std::__1::__wrap_iter<charconst*>>>::sax_parse_internal<nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>>(nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>*) /src/json/tests/../single_include/nlohmann/json.hpp 1095 0.0%
nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>::end_object() /src/json/tests/../single_include/nlohmann/json.hpp 371 0.0%
nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>::start_object(unsignedlong) /src/json/tests/../single_include/nlohmann/json.hpp 339 0.0%
nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>::start_array(unsignedlong) /src/json/tests/../single_include/nlohmann/json.hpp 339 0.0%
nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>::null() /src/json/tests/../single_include/nlohmann/json.hpp 268 0.0%
std::__1::pair<bool,nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>*>nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>::handle_value<decltype(nullptr)>(decltype(nullptr)&&,bool) /src/json/tests/../single_include/nlohmann/json.hpp 266 0.0%
nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>::json_sax_dom_callback_parser(nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>&,std::__1::function<bool(int,nlohmann::json_abi_v3_11_3::detail::parse_event_t,nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>&)>,bool) /src/json/tests/../single_include/nlohmann/json.hpp 265 0.0%
std::__1::pair<bool,nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>*>nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>::handle_value<nlohmann::json_abi_v3_11_3::detail::value_t>(nlohmann::json_abi_v3_11_3::detail::value_t&&,bool) /src/json/tests/../single_include/nlohmann/json.hpp 261 0.0%
nlohmann::json_abi_v3_11_3::detail::json_sax_dom_callback_parser<nlohmann::json_abi_v3_11_3::basic_json<std::__1::map,std::__1::vector,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::json_abi_v3_11_3::adl_serializer,std::__1::vector<unsignedchar,std::__1::allocator<unsignedchar>>,void>>::key(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>&) /src/json/tests/../single_include/nlohmann/json.hpp 220 0.0%