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

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 420 68.4%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 194 31.5%
All colors 614 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
116 294 copy_into call site: 00294 Builder::append_writer
42 536 append_fs call site: 00536 nul_bytes_in_path
34 0 EP call site: 00000 nul_bytes_in_path
27 586 Archive::entries call site: 00586 Header::set_size
21 146 prepare_header_path call site: 00146 Header::set_mtime
21 512 Header::set_metadata_in_mode call site: 00512 Header::set_link_name
19 116 other call site: 00116 Header::set_device_minor
17 234 Builder::finish call site: 00234 Builder::append_writer
15 428 copy_path_into_inner call site: 00428
13 210 Header::calculate_cksum call site: 00210 Builder::append_writer
9 40 num_field_wrapper_into call site: 00040 numeric_extended_into
9 50 num_field_wrapper_into call site: 00050

Runtime coverage analysis

Covered functions
330
Functions that are reachable but not covered
34
Reachable functions
88
Percentage of reachable functions covered
61.36%
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/archive.rs 28
fuzz/fuzz_targets/tar.rs 5
tests/all.rs 38
src/builder.rs 49
src/header.rs 83
src/lib.rs 1
tests/header/mod.rs 5
src/archive.rs 4

Fuzzer: tar

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 1096 79.7%
gold [1:9] 0 0.0%
yellow [10:29] 3 0.21%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 275 20.0%
All colors 1374 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
221 1069 Header::entry_type call site: 01069 Header::fill_from
66 1307 Header::path_bytes call site: 01307 nul_bytes_in_path
65 586 E::n::t::r::y::F::i::e::l::d::s::::::::u::n::p::a::c::k::open call site: 00586 append_file
54 1013 Header::as_old_mut call site: 01013 Header::set_metadata
47 796 prepare_header_sparse call site: 00796 Header::set_metadata
45 261 Vec::truncate call site: 00261 Builder::append_writer
45 388 prepare_header_path call site: 00388 Builder::append_writer
39 912 Header::fill_from call site: 00912 Header::fill_from
32 980 Builder::_append_link call site: 00980 append_dir
30 0 EP call site: 00000 FuzzInput::arbitrary
26 659 Archive::entries call site: 00659 Header::set_size
23 307 Vec::truncate call site: 00307

Runtime coverage analysis

Covered functions
297
Functions that are reachable but not covered
61
Reachable functions
138
Percentage of reachable functions covered
55.8%
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/tar.rs 49
tests/all.rs 73
src/header.rs 87
src/builder.rs 86
tests/header/mod.rs 11
src/lib.rs 1
src/archive.rs 34
src/entry.rs 6
src/pax.rs 13
tests/entry.rs 23

Files and Directories in report