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

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_gltf_customjson

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 707 35.8%
gold [1:9] 55 2.78%
yellow [10:29] 11 0.55%
greenyellow [30:49] 21 1.06%
lawngreen 50+ 1179 59.7%
All colors 1973 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
97 711 tinygltf::ParseExtrasProperty(tinygltf::Value*, tinygltf_json const&) call site: 00711 __asan_report_store8
52 1866 tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string , std::__1::allocator >*, std::__1::basic_string , std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string , std::__1::allocator > const&, unsigned int) call site: 01866 __asan_set_shadow_00
39 1820 tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string , std::__1::allocator >*, std::__1::basic_string , std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string , std::__1::allocator > const&, unsigned int) call site: 01820 __asan_report_store8
37 1040 tinygltf::ParseNumberArrayProperty(std::__1::vector >*, std::__1::basic_string , std::__1::allocator >*, tinygltf_json const&, std::__1::basic_string , std::__1::allocator > const&, bool, std::__1::basic_string , std::__1::allocator > const&) call site: 01040 __asan_report_store8
32 1756 tinygltf::ParseCamera(tinygltf::Camera*, std::__1::basic_string , std::__1::allocator >*, tinygltf_json const&, bool) call site: 01756 __asan_report_store8
29 1133 tinygltf::detail::ObjectEnd(tinygltf_json const&) call site: 01133 __asan_report_store4
25 1528 tinygltf::ParseImage(tinygltf::Image*, int, std::__1::basic_string , std::__1::allocator >*, std::__1::basic_string , std::__1::allocator >*, tinygltf_json const&, bool, std::__1::basic_string , std::__1::allocator > const&, unsigned long, tinygltf::FsCallbacks*, tinygltf::URICallbacks const*, std::__1::function , std::__1::allocator >*, std::__1::basic_string , std::__1::allocator >*, int, int, unsigned char const*, int, void*)> const&, void*) call site: 01528 __asan_report_load8
22 1615 tinygltf::ParseAnimationChannel(tinygltf::AnimationChannel*, std::__1::basic_string , std::__1::allocator >*, tinygltf_json const&, bool) call site: 01615 __asan_report_store4
21 1921 tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string , std::__1::allocator >*, std::__1::basic_string , std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string , std::__1::allocator > const&, unsigned int) call site: 01921 __asan_report_store4
18 403 cj_parse_number(char const*, char const*, int*, long*, double*, int) call site: 00403 __asan_report_store4
16 1644 tinygltf::ParseAnimation(tinygltf::Animation*, std::__1::basic_string , std::__1::allocator >*, tinygltf_json const&, bool) call site: 01644 __asan_report_store4
14 16 fuzz_binary(unsigned char const*, unsigned long) call site: 00016 __asan_report_store8

Runtime coverage analysis

Covered functions
325
Functions that are reachable but not covered
140
Reachable functions
627
Percentage of reachable functions covered
77.67%
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/tinygltf/tests/fuzzer/build/../fuzz_gltf_customjson.cc 3
/src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 205
/src/tinygltf/tests/fuzzer/build/../../../tinygltf_json.h 86

Fuzzer: fuzz_gltf

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 1560 51.3%
gold [1:9] 98 3.22%
yellow [10:29] 51 1.67%
greenyellow [30:49] 19 0.62%
lawngreen 50+ 1309 43.1%
All colors 3037 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
466 1432 tinygltf::ParseExtrasProperty(tinygltf::Value*, nlohmann::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > > const&) call site: 01432 _ZN8nlohmann6detail10serializerINS_10basic_jsonINSt3__13mapENS3_6vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS9_NS_14adl_serializerENS5_IhNS9_IhEEEEEEE12dump_integerIlTnNS3_9enable_ifIXoooooosr3std11is_integralIT_EE5valuesr3std7is_sameISJ_mEE5valuesr3std7is_sameISJ_lEE5valuesr3std7is_sameISJ_hEE5valueEiE4typeELi0EEEvSJ_
81 587 nlohmann::detail::primitive_iterator_t::set_end() call site: 00587 _ZN8nlohmann10basic_jsonINSt3__13mapENS1_6vectorENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEblmdS7_NS_14adl_serializerENS3_IhNS7_IhEEEEE5eraseINS_6detail9iter_implISD_EETnNS1_9enable_ifIXoosr3std7is_sameIT_SH_EE5valuesr3std7is_sameISJ_NSG_IKSD_EEEE5valueEiE4typeELi0EEESJ_SJ_
55 2944 tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string , std::__1::allocator >*, std::__1::basic_string , std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string , std::__1::allocator > const&, unsigned int) call site: 02944 _ZNK8nlohmann6detail9iter_implIKNS_10basic_jsonINSt3__13mapENS3_6vectorENS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEblmdS9_NS_14adl_serializerENS5_IhNS9_IhEEEEEEEneISH_TnNS3_9enable_ifIXoosr3std7is_sameIT_SH_EE5valuesr3std7is_sameISK_NS1_ISF_EEEE5valueEDnE4typeELDn0EEEbRKSK_
49 2121 tinygltf::ParseNumberArrayProperty(std::__1::vector >*, std::__1::basic_string , std::__1::allocator >*, nlohmann::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > > const&, std::__1::basic_string , std::__1::allocator > const&, bool, std::__1::basic_string , std::__1::allocator > const&) call site: 02121 __asan_report_store8
42 534 nlohmann::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > >::json_value::json_value(double) call site: 00534 __asan_memcpy
35 2901 tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string , std::__1::allocator >*, std::__1::basic_string , std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string , std::__1::allocator > const&, unsigned int) call site: 02901 __asan_report_store8
34 2832 tinygltf::ParseCamera(tinygltf::Camera*, std::__1::basic_string , std::__1::allocator >*, nlohmann::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > > const&, bool) call site: 02832 __asan_report_store8
33 282 nlohmann::detail::lexer , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > >, nlohmann::detail::iterator_input_adapter >::scan_string() call site: 00282 __asan_report_store8
33 446 nlohmann::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > >::operator=(nlohmann::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > >) call site: 00446 __asan_report_load8
32 1927 tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string , std::__1::allocator >*, std::__1::basic_string , std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string , std::__1::allocator > const&, unsigned int) call site: 01927 _ZNK8nlohmann10basic_jsonINSt3__13mapENS1_6vectorENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEblmdS7_NS_14adl_serializerENS3_IhNS7_IhEEEEE3getImmEEDTcldtclL_ZNS1_7declvalB8ne220000IRKSD_EEDTclsr3stdE9__declvalIT_ELi0EEEvEE8get_implIT0_EtlNS_6detail12priority_tagILj4EEEEEEv
31 2052 tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string , std::__1::allocator >*, std::__1::basic_string , std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string , std::__1::allocator > const&, unsigned int) call site: 02052 __asan_report_load8
30 669 nlohmann::basic_json , std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > >::is_string() const call site: 00669 __asan_report_load8

Runtime coverage analysis

Covered functions
453
Functions that are reachable but not covered
337
Reachable functions
992
Percentage of reachable functions covered
66.03%
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/tinygltf/tests/fuzzer/build/../fuzz_gltf.cc 2
/src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 217
/src/tinygltf/tests/fuzzer/build/../../../json.hpp 281
/usr/local/bin/../include/c++/v1/__exception/exception.h 2

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
tinygltf::LoadImageData(tinygltf::Image*,int,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >*,int,int,unsignedcharconst*,int,void*) /src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 9 ['N/A', 'int', 'N/A', 'N/A', 'int', 'int', 'N/A', 'int', 'N/A'] 15 0 1647 185 14 339 0 3078 3027
tinygltf::TinyGLTF::WriteGltfSceneToFile(tinygltf::Modelconst*,std::__1::basic_string ,std::__1::allocator >const&,bool,bool,bool,bool) /src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 7 ['N/A', 'N/A', 'N/A', 'bool', 'bool', 'bool', 'bool'] 14 0 1532 191 171 368 0 2306 2019
tinygltf::SerializeGltfModel(tinygltf::Modelconst*,nlohmann::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>&) /src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 2 ['N/A', 'N/A'] 18 0 2481 336 310 426 0 2279 1549
tinygltf::WriteImageData(std::__1::basic_string ,std::__1::allocator >const*,std::__1::basic_string ,std::__1::allocator >const*,tinygltf::Imageconst*,bool,tinygltf::FsCallbacksconst*,tinygltf::URICallbacksconst*,std::__1::basic_string ,std::__1::allocator >*,void*) /src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 8 ['N/A', 'N/A', 'N/A', 'bool', 'N/A', 'N/A', 'N/A', 'N/A'] 8 0 907 148 26 83 0 642 568
stbi_write_hdr /src/tinygltf/tests/fuzzer/build/../../../stb_image_write.h 5 ['N/A', 'int', 'int', 'int', 'N/A'] 4 0 137 13 6 38 0 145 109
tinygltf::GetFileSizeInBytes(unsignedlong*,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >const&,void*) /src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 4 ['N/A', 'N/A', 'N/A', 'N/A'] 1 0 776 103 93 5 0 103 93
tinygltf::ReadWholeFile(std::__1::vector >*,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >const&,void*) /src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 4 ['N/A', 'N/A', 'N/A', 'N/A'] 1 0 783 105 91 4 0 99 91
tinygltf::TinyGLTF::WriteGltfSceneToStream(tinygltf::Modelconst*,std::__1::basic_ostream >&,bool,bool) /src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 5 ['N/A', 'N/A', 'N/A', 'bool', 'bool'] 14 0 736 95 87 354 0 2190 87
tinygltf::Material::operator==(tinygltf::Materialconst&)const /src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 2 ['N/A', 'N/A'] 6 0 188 38 16 58 0 132 70
stbi__idct_block(unsignedchar*,int,short*) /src/tinygltf/tests/fuzzer/build/../../../stb_image.h 3 ['N/A', 'int', 'N/A'] 1 0 1482 178 62 8 0 78 66

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

Functions statically reachable by fuzzers
85.0%
1148 / 1343
Cyclomatic complexity statically reachable by fuzzers
94.0%
17708 / 18876

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/tinygltf/tests/fuzzer/build/../fuzz_gltf_customjson.cc

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=['tinygltf::ParseExtrasProperty(tinygltf::Value*, tinygltf_json const&)', 'tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string, std::__1::allocator >*, std::__1::basic_string, std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string, std::__1::allocator > const&, unsigned int)', 'tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string, std::__1::allocator >*, std::__1::basic_string, std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string, std::__1::allocator > const&, unsigned int)', 'tinygltf::ParseNumberArrayProperty(std::__1::vector >*, std::__1::basic_string, std::__1::allocator >*, tinygltf_json const&, std::__1::basic_string, std::__1::allocator > const&, bool, std::__1::basic_string, std::__1::allocator > const&)', 'tinygltf::ParseCamera(tinygltf::Camera*, std::__1::basic_string, std::__1::allocator >*, tinygltf_json const&, bool)', 'tinygltf::detail::ObjectEnd(tinygltf_json const&)', 'tinygltf::ParseImage(tinygltf::Image*, int, std::__1::basic_string, std::__1::allocator >*, std::__1::basic_string, std::__1::allocator >*, tinygltf_json const&, bool, std::__1::basic_string, std::__1::allocator > const&, unsigned long, tinygltf::FsCallbacks*, tinygltf::URICallbacks const*, std::__1::function, std::__1::allocator >*, std::__1::basic_string, std::__1::allocator >*, int, int, unsigned char const*, int, void*)> const&, void*)', 'tinygltf::ParseAnimationChannel(tinygltf::AnimationChannel*, std::__1::basic_string, std::__1::allocator >*, tinygltf_json const&, bool)', 'tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string, std::__1::allocator >*, std::__1::basic_string, std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string, std::__1::allocator > const&, unsigned int)', 'cj_parse_number(char const*, char const*, int*, long*, double*, int)']

/src/tinygltf/tests/fuzzer/build/../fuzz_gltf.cc

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=['tinygltf::ParseExtrasProperty(tinygltf::Value*, nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > > const&)', 'nlohmann::detail::primitive_iterator_t::set_end()', 'tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string, std::__1::allocator >*, std::__1::basic_string, std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string, std::__1::allocator > const&, unsigned int)', 'tinygltf::ParseNumberArrayProperty(std::__1::vector >*, std::__1::basic_string, std::__1::allocator >*, nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > > const&, std::__1::basic_string, std::__1::allocator > const&, bool, std::__1::basic_string, std::__1::allocator > const&)', 'nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > >::json_value::json_value(double)', 'tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string, std::__1::allocator >*, std::__1::basic_string, std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string, std::__1::allocator > const&, unsigned int)', 'tinygltf::ParseCamera(tinygltf::Camera*, std::__1::basic_string, std::__1::allocator >*, nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > > const&, bool)', 'nlohmann::detail::lexer, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > >, nlohmann::detail::iterator_input_adapter >::scan_string()', 'nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > >::operator=(nlohmann::basic_json, std::__1::allocator >, bool, long, unsigned long, double, std::__1::allocator, nlohmann::adl_serializer, std::__1::vector > >)', 'tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*, std::__1::basic_string, std::__1::allocator >*, std::__1::basic_string, std::__1::allocator >*, char const*, unsigned int, std::__1::basic_string, std::__1::allocator > const&, unsigned int)']

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
stbi__parse_png_file(stbi__png*,int,int) 160 11 6.875% ['fuzz_gltf_customjson', 'fuzz_gltf']
stbi__psd_info(stbi__context*,int*,int*,int*) 33 9 27.27% ['fuzz_gltf_customjson', 'fuzz_gltf']
stbi__pic_info(stbi__context*,int*,int*,int*) 44 10 22.72% ['fuzz_gltf_customjson', 'fuzz_gltf']
stbi__hdr_info(stbi__context*,int*,int*,int*) 37 12 32.43% ['fuzz_gltf_customjson', 'fuzz_gltf']
tinygltf::TinyGLTF::LoadBinaryFromMemory(tinygltf::Model*,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >*,unsignedcharconst*,unsignedint,std::__1::basic_string ,std::__1::allocator >const&,unsignedint) 123 49 39.83% ['fuzz_gltf_customjson']
tinygltf::ParseNumberArrayProperty(std::__1::vector >*,std::__1::basic_string ,std::__1::allocator >*,tinygltf_jsonconst&,std::__1::basic_string ,std::__1::allocator >const&,bool,std::__1::basic_string ,std::__1::allocator >const&) 47 23 48.93% ['fuzz_gltf_customjson']
tinygltf::ParseBuffer(tinygltf::Buffer*,std::__1::basic_string ,std::__1::allocator >*,tinygltf_jsonconst&,bool,tinygltf::FsCallbacks*,tinygltf::URICallbacksconst*,std::__1::basic_string ,std::__1::allocator >const&,unsignedlong,bool,unsignedcharconst*,unsignedlong) 94 47 50.0% ['fuzz_gltf_customjson']
tinygltf::LoadExternalFile(std::__1::vector >*,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >const&,std::__1::basic_string ,std::__1::allocator >const&,bool,unsignedlong,bool,unsignedlong,tinygltf::FsCallbacks*) 78 15 19.23% ['fuzz_gltf_customjson', 'fuzz_gltf']
tinygltf::ParseBufferView(tinygltf::BufferView*,std::__1::basic_string ,std::__1::allocator >*,tinygltf_jsonconst&,bool) 43 12 27.90% ['fuzz_gltf_customjson']
tinygltf::ParseAccessor(tinygltf::Accessor*,std::__1::basic_string ,std::__1::allocator >*,tinygltf_jsonconst&,bool) 77 16 20.77% ['fuzz_gltf_customjson']
tinygltf::ParsePrimitive(tinygltf::Primitive*,tinygltf::Model*,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >*,tinygltf_jsonconst&,bool,tinygltf::ParseStrictness) 43 15 34.88% ['fuzz_gltf_customjson']
tinygltf::ParseStringIntegerProperty(std::__1::map ,std::__1::allocator >,int,std::__1::less ,std::__1::allocator >>,std::__1::allocator ,std::__1::allocator >const,int>>>*,std::__1::basic_string ,std::__1::allocator >*,tinygltf_jsonconst&,std::__1::basic_string ,std::__1::allocator >const&,bool,std::__1::basic_string ,std::__1::allocator >const&) 41 13 31.70% ['fuzz_gltf_customjson']
tinygltf::ParseIntegerArrayProperty(std::__1::vector >*,std::__1::basic_string ,std::__1::allocator >*,tinygltf_jsonconst&,std::__1::basic_string ,std::__1::allocator >const&,bool,std::__1::basic_string ,std::__1::allocator >const&) 47 10 21.27% ['fuzz_gltf_customjson']
tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >*,charconst*,unsignedint,std::__1::basic_string ,std::__1::allocator >const&,unsignedint)::$_10::operator()(tinygltf_jsonconst&)const 63 14 22.22% ['fuzz_gltf_customjson']
tinygltf::ParseAnimation(tinygltf::Animation*,std::__1::basic_string ,std::__1::allocator >*,tinygltf_jsonconst&,bool) 58 27 46.55% ['fuzz_gltf_customjson']
tinygltf::ParseAnimationChannel(tinygltf::AnimationChannel*,std::__1::basic_string ,std::__1::allocator >*,tinygltf_jsonconst&,bool) 47 10 21.27% ['fuzz_gltf_customjson']
tinygltf::ParseCamera(tinygltf::Camera*,std::__1::basic_string ,std::__1::allocator >*,tinygltf_jsonconst&,bool) 66 23 34.84% ['fuzz_gltf_customjson']
nlohmann::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>::json_value::json_value(nlohmann::detail::value_t) 60 17 28.33% ['fuzz_gltf']
nlohmann::detail::parser ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>,nlohmann::detail::iterator_input_adapter >::parse(bool,nlohmann::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>&) 40 16 40.0% ['fuzz_gltf']
nlohmann::detail::iter_impl ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>const>::set_begin() 33 14 42.42% ['fuzz_gltf']
nlohmann::detail::iter_impl ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>const>::operator*()const 33 16 48.48% ['fuzz_gltf']
stbi__gif_load_next(stbi__context*,stbi__gif*,int*,int,unsignedchar*) 131 67 51.14% ['fuzz_gltf']
load_jpeg_image(stbi__jpeg*,int*,int*,int*,int) 137 70 51.09% ['fuzz_gltf']
tinygltf::ParseNumberArrayProperty(std::__1::vector >*,std::__1::basic_string ,std::__1::allocator >*,nlohmann::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>const&,std::__1::basic_string ,std::__1::allocator >const&,bool,std::__1::basic_string ,std::__1::allocator >const&) 47 23 48.93% ['fuzz_gltf']
tinygltf::ParseBooleanProperty(bool*,std::__1::basic_string ,std::__1::allocator >*,nlohmann::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>const&,std::__1::basic_string ,std::__1::allocator >const&,bool,std::__1::basic_string ,std::__1::allocator >const&) 35 17 48.57% ['fuzz_gltf']
tinygltf::ParseIntegerArrayProperty(std::__1::vector >*,std::__1::basic_string ,std::__1::allocator >*,nlohmann::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>const&,std::__1::basic_string ,std::__1::allocator >const&,bool,std::__1::basic_string ,std::__1::allocator >const&) 47 20 42.55% ['fuzz_gltf']
tinygltf::TinyGLTF::LoadFromString(tinygltf::Model*,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >*,charconst*,unsignedint,std::__1::basic_string ,std::__1::allocator >const&,unsignedint)::$_10::operator()(nlohmann::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>const&)const 63 19 30.15% ['fuzz_gltf']
tinygltf::ParseImage(tinygltf::Image*,int,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >*,nlohmann::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>const&,bool,std::__1::basic_string ,std::__1::allocator >const&,unsignedlong,tinygltf::FsCallbacks*,tinygltf::URICallbacksconst*,std::__1::function ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >*,int,int,unsignedcharconst*,int,void*)>const&,void*) 106 55 51.88% ['fuzz_gltf']
tinygltf::ParseAnimation(tinygltf::Animation*,std::__1::basic_string ,std::__1::allocator >*,nlohmann::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>const&,bool) 58 28 48.27% ['fuzz_gltf']
tinygltf::ParseCamera(tinygltf::Camera*,std::__1::basic_string ,std::__1::allocator >*,nlohmann::basic_json ,std::__1::allocator >,bool,long,unsignedlong,double,std::__1::allocator,nlohmann::adl_serializer,std::__1::vector >>const&,bool) 66 14 21.21% ['fuzz_gltf']

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
[] []
/usr/local/bin/../include/c++/v1/sstream [] []
/src/tinygltf/tests/fuzzer/build/../../../stb_image.h [] []
/src/tinygltf/tests/fuzzer/build/../fuzz_gltf_customjson.cc ['fuzz_gltf_customjson'] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h ['fuzz_gltf_customjson', 'fuzz_gltf'] []
/src/tinygltf/tests/fuzzer/build/../../../json.hpp ['fuzz_gltf'] []
/src/tinygltf/tests/fuzzer/build/../fuzz_gltf.cc ['fuzz_gltf'] []
/src/tinygltf/tests/fuzzer/build/../../../stb_image_write.h [] []
/usr/local/bin/../include/c++/v1/__exception/exception.h ['fuzz_gltf'] []
/usr/local/bin/../include/c++/v1/string [] []
/src/tinygltf/tests/fuzzer/build/../../../tinygltf_json.h ['fuzz_gltf_customjson'] []
/usr/local/bin/../include/c++/v1/initializer_list [] []

Directories in report

Directory
/src/tinygltf/tests/fuzzer/build/../../../
/usr/local/bin/../include/c++/v1/__exception/
/src/tinygltf/tests/fuzzer/build/../
/usr/local/bin/../include/c++/v1/