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 8038
Lines covered 6005
Code coverage 74.71%
Code coverage report Report link
Static reachability 10.07%
Fuzz Introspector report Report link

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 787 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 781 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 228 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 209 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 209 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 163 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 161 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 158 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 156 0.0%
nlohmann::json_abi_v3_11_3::detail::iter_impl<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::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>::erase<nlohmann::json_abi_v3_11_3::detail::iter_impl<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>>,0>(nlohmann::json_abi_v3_11_3::detail::iter_impl<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 152 0.0%