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: load_fuzzer

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 48 4.11%
gold [1:9] 117 10.0%
yellow [10:29] 42 3.59%
greenyellow [30:49] 22 1.88%
lawngreen 50+ 938 80.3%
All colors 1167 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
9 657 int YAML::RegEx::MatchOpRange (YAML::StringCharSource const&) const call site: 00657
5 290 YAML::Scanner::PushIndentTo(int, YAML::Scanner::IndentMarker::INDENT_TYPE) call site: 00290 __cxa_allocate_exception
5 650 int YAML::RegEx::Match (YAML::StringCharSource const&) const call site: 00650
5 981 YAML::SingleDocParser::HandleBlockMap(YAML::EventHandler&) call site: 00981 __cxa_allocate_exception
5 1017 YAML::Tag::Translate(YAML::Directives const&) const call site: 01017 __cxa_allocate_exception
5 1046 YAML::SingleDocParser::HandleBlockSequence(YAML::EventHandler&) call site: 01046 __cxa_allocate_exception
4 188 YAML::Exception::Exception(YAML::Mark const&, std::__1::basic_string , std::__1::allocator > const&) call site: 00188 __cxa_throw
2 178 YAML::Scanner::PopIndentToHere() call site: 00178
2 181 YAML::Mark::null_mark() call site: 00181 __cxa_allocate_exception
2 1039 YAML::IsNullString(char const*, unsigned long) call site: 01039
1 48 YAML::LoadAll(std::__1::basic_istream >&) call site: 00048
1 63 YAML::Scanner::ScanToNextToken() call site: 00063

Runtime coverage analysis

Covered functions
278
Functions that are reachable but not covered
33
Reachable functions
470
Percentage of reachable functions covered
92.98%
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/yaml-cpp-fuzzer/load_fuzzer.cpp 1
/src/yaml-cpp/src/parse.cpp 2
/src/yaml-cpp/src/parser.cpp 9
/src/yaml-cpp/src/scanner.cpp 20
/src/yaml-cpp/src/stream.cpp 16
/src/yaml-cpp/include/yaml-cpp/mark.h 4
/src/yaml-cpp/src/stream.h 9
/src/yaml-cpp/src/ptr_vector.h 3
/src/yaml-cpp/src/directives.cpp 2
/src/yaml-cpp/src/nodebuilder.cpp 3
/src/yaml-cpp/include/yaml-cpp/eventhandler.h 2
/src/yaml-cpp/src/scanner.h 4
/src/yaml-cpp/src/exp.h 35
/src/yaml-cpp/src/regex_yaml.cpp 9
/src/yaml-cpp/src/regex_yaml.h 2
/src/yaml-cpp/src/regeximpl.h 25
/src/yaml-cpp/src/streamcharsource.h 4
/src/yaml-cpp/src/simplekey.cpp 9
/src/yaml-cpp/include/yaml-cpp/exceptions.h 3
/src/yaml-cpp/src/exceptions.cpp 1
/src/yaml-cpp/src/token.h 3
/src/yaml-cpp/src/scantoken.cpp 14
/src/yaml-cpp/src/scantag.cpp 3
/src/yaml-cpp/src/scanscalar.h 1
/src/yaml-cpp/src/stringsource.h 5
/src/yaml-cpp/src/scanscalar.cpp 1
/src/yaml-cpp/src/exp.cpp 4
/src/yaml-cpp/src/singledocparser.cpp 17
/src/yaml-cpp/src/collectionstack.h 4
/src/yaml-cpp/include/yaml-cpp/depthguard.h 2
/src/yaml-cpp/src/depthguard.cpp 1
/src/yaml-cpp/src/tag.cpp 2
/src/yaml-cpp/src/tag.h 1
/src/yaml-cpp/src/null.cpp 3
/src/yaml-cpp/include/yaml-cpp/node/impl.h 3

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
[] []
/src/yaml-cpp/src/scanscalar.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/scantag.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/simplekey.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/directives.h [] []
/src/yaml-cpp/src/streamcharsource.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/depthguard.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/include/yaml-cpp/node/detail/node_data.h [] []
/src/yaml-cpp/include/yaml-cpp/eventhandler.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/include/yaml-cpp/node/impl.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/null.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/ptr_vector.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/regeximpl.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/include/yaml-cpp/depthguard.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/regex_yaml.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/include/yaml-cpp/exceptions.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h [] []
/src/yaml-cpp/include/yaml-cpp/node/detail/memory.h [] []
/src/yaml-cpp/include/yaml-cpp/node/detail/node.h [] []
/src/yaml-cpp/include/yaml-cpp/mark.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/directives.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp-fuzzer/load_fuzzer.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/tag.cpp ['load_fuzzer'] ['load_fuzzer']
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/yaml-cpp/src/exp.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/scanner.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/token.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/scanner.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/regex_yaml.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/stream.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/singledocparser.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/exceptions.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/exp.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/nodebuilder.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/parser.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/memory.cpp [] []
/src/yaml-cpp/src/node_data.cpp [] []
/src/yaml-cpp/src/collectionstack.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/include/yaml-cpp/node/detail/node_iterator.h [] []
/src/yaml-cpp/src/stream.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/tag.h ['load_fuzzer'] []
/usr/local/bin/../include/c++/v1/string [] []
/src/yaml-cpp/src/scanscalar.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/stringsource.h ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/parse.cpp ['load_fuzzer'] ['load_fuzzer']
/src/yaml-cpp/src/scantoken.cpp ['load_fuzzer'] ['load_fuzzer']

Directories in report

Directory
/src/yaml-cpp/src/
/src/yaml-cpp/include/yaml-cpp/node/
/src/yaml-cpp/include/yaml-cpp/node/detail/
/src/yaml-cpp/include/yaml-cpp/
/usr/local/bin/../include/c++/v1/
/src/yaml-cpp-fuzzer/