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

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 1905 98.0%
gold [1:9] 21 1.08%
yellow [10:29] 4 0.20%
greenyellow [30:49] 1 0.05%
lawngreen 50+ 12 0.61%
All colors 1943 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
334 1106 Track::new call site: 01106 read_trak
316 1441 BMFFBox::bytes_left call site: 01441 read_udta
230 747 UnsupportedFeatures::insert call site: 00747 read_iprp
175 512 BMFFBox::bytes_left call site: 00512 read_avif_meta
171 340 BMFFBox::box_iter call site: 00340 read_sinf
89 93 fail_with_status_if call site: 00093 fuzz_target
69 1758 UnsupportedFeatures::insert call site: 01758 fuzz_target
66 24 mp4parse_avif_new call site: 00024 fuzz_target
62 1880 UnsupportedFeatures::insert call site: 01880 fuzz_target
58 688 UnsupportedFeatures::insert call site: 00688 read_iloc
54 285 BMFFBox::bytes_left call site: 00285 BoxIter::next_box
50 998 calculate_ipma_total_associations call site: 00998 fuzz_target

Runtime coverage analysis

Covered functions
517
Functions that are reachable but not covered
69
Reachable functions
78
Percentage of reachable functions covered
11.54%
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
mp4parse_capi/fuzz/fuzz_targets/avif.rs 11
mp4parse_capi/src/lib.rs 64
mp4parse_capi/tests/test_xhe_aac.rs 7
mp4parse/src/lib.rs 306
mp4parse_capi/fuzz/fuzz_targets/mp4.rs 15
mp4parse/src/unstable.rs 18
mp4parse/tests/public.rs 12
mp4parse/src/tests.rs 24
mp4parse/src/macros.rs 2

Fuzzer: mp4

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 256 53.4%
gold [1:9] 1 0.20%
yellow [10:29] 1 0.20%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 221 46.1%
All colors 479 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
23 0 EP call site: 00000 mp4parse_new_common
20 257 get_indice_table call site: 00257 mp4parse_get_track_audio_info
18 201 get_track_audio_info call site: 00201 mp4parse_new_common
17 70 sample_to_chunk_iter call site: 00070 fuzz_target
17 435 mp4parse_is_fragmented call site: 00435 mp4parse_get_track_audio_info
14 342 SampleToChunkIterator::locate call site: 00342 TimeOffsetIterator::next
11 49 get_pssh_info call site: 00049 fuzz_target
11 467 mp4parse_get_pssh_info call site: 00467 mp4parse_get_track_audio_info
10 418 mp4parse_get_indice_table call site: 00418 fuzz_target
9 383 TimeOffsetIterator::next_offset_time call site: 00383 TimeOffsetIterator::next
8 96 mp4parse_get_track_info call site: 00096
7 289 get_indice_table call site: 00289 parse_minimal_mp4

Runtime coverage analysis

Covered functions
601
Functions that are reachable but not covered
46
Reachable functions
89
Percentage of reachable functions covered
48.31%
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
mp4parse_capi/fuzz/fuzz_targets/mp4.rs 16
mp4parse_capi/src/lib.rs 66
mp4parse_capi/tests/test_xhe_aac.rs 2
mp4parse/src/lib.rs 15
mp4parse/src/unstable.rs 45

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/mp4parse-rust/mp4parse/src/macros.rs ['avif'] []
/src/mp4parse-rust/mp4parse/src/lib.rs ['avif', 'mp4'] ['avif', 'mp4']
/src/mp4parse-rust/mp4parse_capi/tests/test_afconvert.rs [] []
/src/mp4parse-rust/mp4parse_capi/tests/test_sample_table.rs [] []
/src/mp4parse-rust/mp4parse_capi/tests/test_encryption.rs [] []
/src/mp4parse-rust/mp4parse_capi/fuzz/fuzz_targets/mp4.rs ['avif', 'mp4'] []
/src/mp4parse-rust/mp4parse_capi/tests/test_avis.rs [] []
/src/mp4parse-rust/mp4parse/tests/overflow.rs [] []
/src/mp4parse-rust/mp4parse/src/tests.rs ['avif'] []
/src/mp4parse-rust/mp4parse_capi/tests/test_fragment.rs [] []
/src/mp4parse-rust/mp4parse_capi/src/lib.rs ['avif', 'mp4'] ['avif', 'mp4']
/src/mp4parse-rust/mp4parse_capi/tests/test_xhe_aac.rs ['avif', 'mp4'] []
/src/mp4parse-rust/mp4parse_capi/examples/dump.rs [] []
/src/mp4parse-rust/mp4parse_capi/tests/test_workaround_stsc.rs [] []
/src/mp4parse-rust/mp4parse/src/boxes.rs [] []
/src/mp4parse-rust/mp4parse/benches/avif_benchmark.rs [] []
/src/mp4parse-rust/mp4parse/tests/public.rs ['avif'] []
/src/mp4parse-rust/mp4parse_capi/tests/test_rotation.rs [] []
/src/mp4parse-rust/mp4parse/src/unstable.rs ['avif', 'mp4'] ['avif', 'mp4']
/src/mp4parse-rust/mp4parse_capi/tests/test_colour_info.rs [] []
/src/mp4parse-rust/mp4parse_capi/tests/test_chunk_out_of_range.rs [] []
/src/mp4parse-rust/mp4parse_capi/fuzz/fuzz_targets/avif.rs ['avif'] ['avif']

Directories in report

Directory
/src/mp4parse-rust/mp4parse_capi/examples/
/src/mp4parse-rust/mp4parse_capi/src/
/src/mp4parse-rust/mp4parse_capi/tests/
/src/mp4parse-rust/mp4parse/benches/
/src/mp4parse-rust/mp4parse/tests/
/src/mp4parse-rust/mp4parse/src/
/src/mp4parse-rust/mp4parse_capi/fuzz/fuzz_targets/