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

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 771 70.8%
gold [1:9] 5 0.45%
yellow [10:29] 14 1.28%
greenyellow [30:49] 8 0.73%
lawngreen 50+ 290 26.6%
All colors 1088 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
130 834 ChunkReader::has_remaining call site: 00834 ChunkReader::read_any_header
101 649 BoxHeader::box_data_size call site: 00649 sanitize
56 438 BitBufReader::buf_read_lz77 call site: 00438 EntropyCodedImage::read
45 356 BitBufReader::fill_buf call site: 00356 PrefixCodeGroup::read_prefix_code
40 788 Config::builder call site: 00788 sanitize_extended
33 496 Transform::transformed_width call site: 00496 sanitize_extended
29 299 CanonicalHuffmanTree::from_symbols call site: 00299 BitBufReader::buf_read_huffman
28 42 ChunkReader::read_any_header call site: 00042 test::parse
22 765 ConfigBuilder::build call site: 00765 TestMp4::sanitize_ok_with_config
20 1025 ChunkReader::skip_data call site: 01025 AlphChunk::sanitize_image_data
16 970 BoxHeader::box_data_size call site: 00970 Result::map_eof
14 191 BitBufReader::buf_read_bit call site: 00191 Transform::read

Runtime coverage analysis

Covered functions
965
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
webpsan/fuzz/fuzz_targets/sanitize.rs 4
mp4san/src/lib.rs 51
mp4san/src/sync.rs 67
mp4san/src/parse/ftyp.rs 18
webpsan/src/parse/bitstream.rs 40
webpsan/src/reader.rs 30
common/src/util.rs 6
common/src/macros.rs 3
mp4san/src/parse.rs 24
mp4san/src/parse/mp4box.rs 16
common/src/error.rs 5
webpsan/src/parse/error.rs 2
mp4san/src/parse/array.rs 8
webpsan/src/parse/vp8x.rs 1
webpsan/src/parse/alph.rs 5
webpsan/src/parse/lossless.rs 33
mp4san/src/parse/stbl.rs 1
webpsan/src/lib.rs 22
mp4san/src/parse/header.rs 16
mp4san/src/util/test.rs 10
common-test/src/lib.rs 5
mp4san/src/parse/mdia.rs 1
mp4san/src/util/test/mp4.rs 9
mp4san-test/src/lib.rs 4
mp4san-test/src/ffmpeg.rs 21
mp4san/tests/test-data.rs 5
mp4san-test/src/gpac.rs 26
mp4san-test/src/gpac/blob.rs 2
mp4san-test/src/gpac/iso_file.rs 12
mp4san-test/src/gpac/error.rs 3
webpsan-test/src/libwebp.rs 4

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/mp4san/mp4san/src/parse/integers.rs [] []
/src/mp4san/mp4san/src/parse/value.rs [] []
/src/mp4san/mp4san/src/parse/header.rs ['sanitize'] ['sanitize']
/src/mp4san/common/src/error.rs ['sanitize'] ['sanitize']
/src/mp4san/webpsan/tests/test-data.rs [] []
/src/mp4san/common/src/util.rs ['sanitize'] ['sanitize']
/src/mp4san/webpsan/benches/bitstream.rs [] []
/src/mp4san/webpsan-test/src/lib.rs [] []
/src/mp4san/mp4san-test/src/gpac/iso_file.rs ['sanitize'] ['sanitize']
/src/mp4san/common/src/parse/fourcc.rs [] []
/src/mp4san/webpsan/src/parse/vp8l.rs [] []
/src/mp4san/mp4san/src/util/test/mp4.rs ['sanitize'] ['sanitize']
/src/mp4san/mp4san-test/src/lib.rs ['sanitize'] []
/src/mp4san/webpsan/src/parse/vp8x.rs ['sanitize'] ['sanitize']
/src/mp4san/mp4san-derive/src/lib.rs [] []
/src/mp4san/common-test/src/lib.rs ['sanitize'] []
/src/mp4san/mp4san/src/parse/error.rs [] []
/src/mp4san/mp4san-test/src/gpac.rs ['sanitize'] ['sanitize']
/src/mp4san/mp4san/src/util/test/ftyp.rs [] []
/src/mp4san/common/src/sync.rs [] []
/src/mp4san/mp4san-test/src/gpac/blob.rs ['sanitize'] ['sanitize']
/src/mp4san/webpsan/src/parse/header.rs [] []
/src/mp4san/mp4san/src/parse/stbl.rs ['sanitize'] ['sanitize']
/src/mp4san/webpsan/src/parse/alph.rs ['sanitize'] ['sanitize']
/src/mp4san/webpsan/src/parse/bitstream.rs ['sanitize'] ['sanitize']
/src/mp4san/webpsan/src/util/test.rs [] []
/src/mp4san/mp4san-test/src/gpac/error.rs ['sanitize'] []
/src/mp4san/webpsan/src/parse/lossless.rs ['sanitize'] ['sanitize']
/src/mp4san/webpsan/src/parse/error.rs ['sanitize'] ['sanitize']
/src/mp4san/mp4san/src/parse/trak.rs [] []
/src/mp4san/mp4san/src/parse/stco.rs [] []
/src/mp4san/webpsan/src/lib.rs ['sanitize'] ['sanitize']
/src/mp4san/mp4san/src/parse.rs ['sanitize'] ['sanitize']
/src/mp4san/mp4san/src/parse/array.rs ['sanitize'] ['sanitize']
/src/mp4san/mp4san/src/parse/minf.rs [] []
/src/mp4san/mp4san/src/util/test.rs ['sanitize'] []
/src/mp4san/mp4san/src/parse/mp4box.rs ['sanitize'] ['sanitize']
/src/mp4san/webpsan/fuzz/fuzz_targets/sanitize.rs ['sanitize'] []
/src/mp4san/common/src/skip.rs [] []
/src/mp4san/webpsan/src/parse/anmf.rs [] []
/src/mp4san/mp4san-test-gen/src/main.rs [] []
/src/mp4san/webpsan/src/util/test/webp.rs [] []
/src/mp4san/mp4san/src/parse/co64.rs [] []
/src/mp4san/mp4san-test/src/ffmpeg.rs ['sanitize'] []
/src/mp4san/webpsan/src/reader.rs ['sanitize'] ['sanitize']
/src/mp4san/common/src/async_skip.rs [] []
/src/mp4san/mp4san/src/parse/moov.rs [] []
/src/mp4san/mp4san/src/parse/mdia.rs ['sanitize'] ['sanitize']
/src/mp4san/mp4san/src/lib.rs ['sanitize'] ['sanitize']
/src/mp4san/common/src/macros.rs ['sanitize'] []
/src/mp4san/mp4san/src/util/test/moov.rs [] []
/src/mp4san/webpsan/src/parse/anim.rs [] []
/src/mp4san/mp4san/src/parse/ftyp.rs ['sanitize'] ['sanitize']
/src/mp4san/webpsan/src/parse/integers.rs [] []
/src/mp4san/webpsan-test/src/libwebp.rs ['sanitize'] ['sanitize']

Directories in report

Directory
/src/mp4san/webpsan/src/util/
/src/mp4san/mp4san-test/src/
/src/mp4san/webpsan/src/parse/
/src/mp4san/webpsan/benches/
/src/mp4san/common/src/
/src/mp4san/common/src/parse/
/src/mp4san/common-test/src/
/src/mp4san/mp4san-derive/src/
/src/mp4san/mp4san/src/
/src/mp4san/mp4san-test/src/gpac/
/src/mp4san/mp4san/src/util/
/src/mp4san/webpsan/fuzz/fuzz_targets/
/src/mp4san/webpsan/src/util/test/
/src/mp4san/webpsan-test/src/
/src/mp4san/mp4san/src/util/test/
/src/mp4san/mp4san/src/parse/
/src/mp4san/mp4san-test-gen/src/
/src/mp4san/webpsan/src/
/src/mp4san/webpsan/tests/