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

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 1752 185 14 339 0 3078 3029
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'] 19 0 1525 177 163 540 0 2954 1951
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 944 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 146 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 818 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 825 105 91 4 0 99 91
tinygltf::TinyGLTF::LoadBinaryFromFile(tinygltf::Model*,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >*,std::__1::basic_string ,std::__1::allocator >const&,unsignedint) /src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 6 ['N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'int'] 21 0 506 52 46 987 0 6797 90
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'] 19 0 669 81 79 526 0 2838 79
tinygltf::Material::operator==(tinygltf::Materialconst&)const /src/tinygltf/tests/fuzzer/build/../../../tiny_gltf.h 2 ['N/A', 'N/A'] 6 0 190 38 16 58 0 133 71
stbi__idct_block(unsignedchar*,int,short*) /src/tinygltf/tests/fuzzer/build/../../../stb_image.h 3 ['N/A', 'int', 'N/A'] 1 0 1519 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
83.0%
860 / 1040
Cyclomatic complexity statically reachable by fuzzers
92.0%
12811 / 13865

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