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: toml_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 34 4.16%
gold [1:9] 28 3.42%
yellow [10:29] 47 5.75%
greenyellow [30:49] 9 1.10%
lawngreen 50+ 699 85.5%
All colors 817 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
6 247 _ZN4toml2v35table12emplace_hintIS1_NS0_3keyEJETnNSt3__19enable_ifIXoo21is_key_or_convertibleIOT0_Esr4implE14is_wide_stringIS6_EEiE4typeELi0EEENS0_4impl14table_iteratorILb0EEENSB_ILb1EEES7_DpOT1_ call site: 00247 __clang_call_terminate
6 550 toml::v3::impl::impl_ex::parser::parse_value() call site: 00550 _ZN4toml2v35valueIlEC2IJlETnNSt3__19enable_ifIXsr4impl27value_variadic_ctor_allowedIS2_Dpu11__remove_cvIu20__remove_reference_tIT_EEEE5valueEiE4typeELi0EEEDpOS6_
3 5 toml::v3::impl::utf8_byte_stream > >::utf8_byte_stream(std::__1::basic_string_view >) call site: 00005 __clang_call_terminate
3 11 toml::v3::impl::impl_ex::parser::parser(toml::v3::impl::utf8_reader_interface&&) call site: 00011
3 569 toml::v3::impl::impl_ex::parser::parse_value() call site: 00569 _ZN4toml2v35valueIlEC2IJlETnNSt3__19enable_ifIXsr4impl27value_variadic_ctor_allowedIS2_Dpu11__remove_cvIu20__remove_reference_tIT_EEEE5valueEiE4typeELi0EEEDpOS6_
2 49 toml::v3::impl::error_builder::finish(toml::v3::source_position const&, std::__1::shared_ptr , std::__1::allocator > const> const&) const call site: 00049
2 574 toml::v3::impl::impl_ex::parser::parse_value() call site: 00574 _ZN4toml2v35valueIdEC2IJdETnNSt3__19enable_ifIXsr4impl27value_variadic_ctor_allowedIS2_Dpu11__remove_cvIu20__remove_reference_tIT_EEEE5valueEiE4typeELi0EEEDpOS6_
2 802 toml::v3::impl::do_parse(toml::v3::impl::utf8_reader_interface&&) call site: 00802
1 2 toml::v3::ex::parse(std::__1::basic_string_view >, std::__1::basic_string_view >) call site: 00002
1 74 toml::v3::impl::impl_ex::parser::consume_comment() call site: 00074
1 241 _ZN4toml2v35table12emplace_hintIS1_NS0_3keyEJETnNSt3__19enable_ifIXoo21is_key_or_convertibleIOT0_Esr4implE14is_wide_stringIS6_EEiE4typeELi0EEENS0_4impl14table_iteratorILb0EEENSB_ILb1EEES7_DpOT1_ call site: 00241
1 244 _ZN4toml2v35table12emplace_hintIS1_NS0_3keyEJETnNSt3__19enable_ifIXoo21is_key_or_convertibleIOT0_Esr4implE14is_wide_stringIS6_EEiE4typeELi0EEENS0_4impl14table_iteratorILb0EEENSB_ILb1EEES7_DpOT1_ call site: 00244

Runtime coverage analysis

Covered functions
287
Functions that are reachable but not covered
35
Reachable functions
403
Percentage of reachable functions covered
91.32%
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/tomlplusplus/fuzzing/toml_fuzzer.cpp 1
/src/tomlplusplus/include/toml++/impl/parser.inl 114
/src/tomlplusplus/include/toml++/impl/unicode.hpp 18
/src/tomlplusplus/include/toml++/impl/table.inl 6
/src/tomlplusplus/include/toml++/impl/node.inl 3
/src/tomlplusplus/include/toml++/impl/source_region.hpp 7
/src/tomlplusplus/include/toml++/impl/unicode_autogenerated.hpp 5
/src/tomlplusplus/include/toml++/impl/parse_error.hpp 3
/src/tomlplusplus/include/toml++/impl/table.hpp 11
/src/tomlplusplus/include/toml++/impl/forward_declarations.hpp 2
/src/tomlplusplus/include/toml++/impl/array.hpp 8
/src/tomlplusplus/include/toml++/impl/key.hpp 3
/src/tomlplusplus/include/toml++/impl/array.inl 3
/src/tomlplusplus/include/toml++/impl/value.hpp 12
/src/tomlplusplus/include/toml++/impl/date_time.hpp 4
/src/tomlplusplus/include/toml++/impl/json_formatter.hpp 1
/src/tomlplusplus/include/toml++/impl/formatter.inl 1
/src/tomlplusplus/include/toml++/impl/yaml_formatter.hpp 1
/src/tomlplusplus/include/toml++/impl/toml_formatter.hpp 2

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/tomlplusplus/include/toml++/impl/unicode.hpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/node.inl ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/yaml_formatter.hpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/toml_formatter.hpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/unicode_autogenerated.hpp ['toml_fuzzer'] ['toml_fuzzer']
/usr/local/bin/../include/c++/v1/stdexcept [] []
/usr/local/bin/../include/c++/v1/string [] []
/src/tomlplusplus/include/toml++/impl/unicode.inl [] []
/src/tomlplusplus/include/toml++/impl/table.inl ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/array.hpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/forward_declarations.hpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/key.hpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/parse_error.hpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/value.hpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/fuzzing/toml_fuzzer.cpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/date_time.hpp ['toml_fuzzer'] ['toml_fuzzer']
/usr/local/bin/../include/c++/v1/sstream [] []
/src/tomlplusplus/include/toml++/impl/parser.inl ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/table.hpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/json_formatter.hpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/formatter.inl ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/source_region.hpp ['toml_fuzzer'] ['toml_fuzzer']
/src/tomlplusplus/include/toml++/impl/array.inl ['toml_fuzzer'] ['toml_fuzzer']

Directories in report

Directory
/usr/local/bin/../include/c++/v1/
/src/tomlplusplus/include/toml++/impl/
/src/tomlplusplus/fuzzing/