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 50 4.32%
gold [1:9] 108 9.33%
yellow [10:29] 42 3.63%
greenyellow [30:49] 27 2.33%
lawngreen 50+ 930 80.3%
All colors 1157 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
38 38 4 :

['YAML::BadSubscript::BadSubscript (YAML::Mark const&, YAML::detail::node const&)', '__cxa_throw', '__cxa_allocate_exception', '__cxa_free_exception']

38 38 YAML::detail::node_data::insert(YAML::detail::node&,YAML::detail::node&,std::__1::shared_ptr const&) call site: 00000 /src/yaml-cpp/src/node_data.cpp:194
8 8 4 :

['__cxa_throw', 'std::runtime_error::runtime_error(char const*)', '__cxa_allocate_exception', '__cxa_free_exception']

8 8 YAML::Scanner::GetStartTokenFor(YAML::Scanner::IndentMarker::INDENT_TYPE)const call site: 00000 /src/yaml-cpp/src/scanner.cpp:297
6 49 4 :

['__cxa_allocate_exception', '__cxa_throw', 'YAML::InvalidNode::InvalidNode(std::__1::basic_string , std::__1::allocator > const&)', '__cxa_free_exception']

6 49 YAML::Node::Type()const call site: 00000 /src/yaml-cpp/include/yaml-cpp/node/impl.h:83
0 2 1 :

['YAML::detail::node_data::reset_sequence()']

40 42 YAML::detail::node_data::push_back(YAML::detail::node&,std::__1::shared_ptr const&) call site: 00000 /src/yaml-cpp/src/node_data.cpp:181
0 2 1 :

['YAML::Node::Node()']

0 2 YAML::NodeBuilder::Root() call site: 00000 /src/yaml-cpp/src/nodebuilder.cpp:25
0 2 1 :

['YAML::Stream::eof()']

0 2 YAML::Stream::peek()const call site: 00000 /src/yaml-cpp/src/stream.cpp:246
0 0 None 6 35 YAML::SingleDocParser::HandleBlockSequence(YAML::EventHandler&) call site: 00000 /src/yaml-cpp/src/singledocparser.cpp:170
0 0 None 6 35 YAML::SingleDocParser::HandleBlockMap(YAML::EventHandler&) call site: 00000 /src/yaml-cpp/src/singledocparser.cpp:256
0 0 None 0 95 YAML::detail::node_data::insert(YAML::detail::node&,YAML::detail::node&,std::__1::shared_ptr const&) call site: 00000 /src/yaml-cpp/src/node_data.cpp:194
0 0 None 0 95 YAML::detail::node_data::insert(YAML::detail::node&,YAML::detail::node&,std::__1::shared_ptr const&) call site: 00000 /src/yaml-cpp/src/node_data.cpp:194
0 0 None 0 95 YAML::detail::node_data::insert(YAML::detail::node&,YAML::detail::node&,std::__1::shared_ptr const&) call site: 00000 /src/yaml-cpp/src/node_data.cpp:194
0 0 1 :

['std::__1::basic_string , std::__1::allocator >::basic_string(std::__1::basic_string , std::__1::allocator > const&)']

0 0 YAML::Exception::build_what(YAML::Markconst&,std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/yaml-cpp/include/yaml-cpp/exceptions.h:169

Runtime coverage analysis

Covered functions
275
Functions that are reachable but not covered
35
Reachable functions
488
Percentage of reachable functions covered
92.83%
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 19
/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/include/yaml-cpp/node/detail/memory.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/src/token.h 3
/src/yaml-cpp/src/scantoken.cpp 14
/src/yaml-cpp/include/yaml-cpp/exceptions.h 6
/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/exceptions.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 4
/src/yaml-cpp/include/yaml-cpp/node/node.h 1
/src/yaml-cpp/include/yaml-cpp/node/detail/node.h 1
/src/yaml-cpp/include/yaml-cpp/node/detail/node_ref.h 1
/src/yaml-cpp/include/yaml-cpp/node/detail/node_data.h 1

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

Directories in report

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