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_parse

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 132 94.9%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 7 5.03%
All colors 139 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
124 13 ParsedDocument::from_str_with_nesting_limit call site: 00013 SubpathOptions::get_or_create_subpath_options
6 4 ParsedDocument::from_str_with_nesting_limit call site: 00004
2 0 EP call site: 00000

Runtime coverage analysis

Covered functions
1418
Functions that are reachable but not covered
2
Reachable functions
4
Percentage of reachable functions covered
50.0%
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.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
fuzz/fuzz_targets/fuzz_parse.rs 3
src/content.rs 5
src/formatter.rs 19
src/options.rs 1
src/error.rs 6
src/lib.rs 19
tests/lib.rs 9

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
regex_automata::hybrid::regex::Regex::try_search 37 17 45.94%
regex_automata::meta::strategy::ReverseInner::new 51 8 15.68%
regex_automata::meta::strategy::new 34 15 44.11%
regex_automata::nfa::thompson::compiler::Compiler::c_at_least 53 23 43.39%
regex_automata::util::determinize::set_lookbehind_from_start 63 17 26.98%
regex_automata::util::look::LookMatcher::matches_set_inline 98 45 45.91%
regex_automata::util::pool::inner::Poolregex_automata::meta::regex::Cache, alloc::boxed::Boxdyn core::ops::function::Fn(), Output = regex_automata::meta::regex::Cache + core::panic::unwind_safe::RefUnwindSafe + core::marker::Sync + core::marker::Send + core::panic::unwind_safe::UnwindSafe::get_slow 31 17 54.83%
regex_syntax::ast::parse::ParserI&mut regex_syntax::ast::parse::Parser::parse_flags 41 18 43.90%
regex_syntax::ast::parse::ParserI&mut regex_syntax::ast::parse::Parser::parse_escape 95 34 35.78%
regex_syntax::ast::parse::ParserI&mut regex_syntax::ast::parse::Parser::maybe_parse_ascii_class 40 8 20.0%
regex_syntax::hir::Hir::dot 37 8 21.62%
regex_syntax::hir::lift_common_prefix 39 20 51.28%
regex_syntax::hir::translate::TranslatorI::hir_assertion 36 12 33.33%
regex_syntax::hir::translate::TranslatorI::case_fold_char 31 4 12.90%
regex_syntax::hir::translate::TranslatorI as regex_syntax::ast::visitor::Visitor::visit_class_set_item_post 75 36 48.0%
regex_syntax::hir::translate::TranslatorI as regex_syntax::ast::visitor::Visitor::visit_class_set_binary_op_post 35 16 45.71%