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

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 191 100.%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 0 0.0%
All colors 191 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
190 0 EP call site: 00000 zxc_decompress

Runtime coverage analysis

Covered functions
0
Functions that are reachable but not covered
91
Reachable functions
91
Percentage of reachable functions covered
0.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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/zxc/tests/fuzz/fuzz_roundtrip.c 1
/src/zxc/src/lib/zxc_common.c 32
/src/zxc/src/lib/zxc_dispatch.c 23
/src/zxc/src/lib/zxc_dict.c 1
/src/zxc/src/lib/zxc_deps.h 2
/src/zxc/src/lib/zxc_huffman.c 9
/src/zxc/src/lib/zxc_internal.h 3
/src/zxc/src/lib/zxc_decompress.c 15

Fuzzer: zxc_fuzzer_decompress

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 41 26.9%
gold [1:9] 0 0.0%
yellow [10:29] 2 1.31%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 109 71.7%
All colors 152 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
8 119 zxc_decompress_chunk_wrapper_safe_default call site: 00119 zxc_decode_block_spl_entropy_safe
5 57 zxc_dctx_carve call site: 00057 zxc_cctx_attach_dict_huf
5 63 zxc_pivco_tree_build call site: 00063 zxc_cctx_attach_dict_huf
4 33 zxc_check_eof_header call site: 00033 zxc_check_seek_header
4 108 zxc_decode_block_spl_entropy call site: 00108 zxc_decode_lit_pivco
3 93 zxc_decode_block_spl_entropy_safe call site: 00093 zxc_huf_decode_section_dict_default
2 77 zxc_decode_block_spl_entropy_safe call site: 00077 zxc_decode_block_spl_entropy_safe
2 101 zxc_decode_block_spl_entropy call site: 00101 zxc_decode_block_spl_entropy_dict
2 140 zxc_decompress_chunk_wrapper_safe_default call site: 00140 zxc_decode_copy_match_exact
1 21 zxc_probe_without_dst call site: 00021 zxc_decompress_oneshot
1 28 zxc_dctx_decode_frame call site: 00028 zxc_dict_compute_id
1 43 zxc_dctx_decode_frame call site: 00043 zxc_cctx_free

Runtime coverage analysis

Covered functions
99
Functions that are reachable but not covered
16
Reachable functions
73
Percentage of reachable functions covered
78.08%
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
/src/zxc/tests/fuzz/fuzz_decompress.c 2
/src/zxc/src/lib/zxc_dispatch.c 12
/src/zxc/src/lib/zxc_common.c 27
/src/zxc/src/lib/zxc_internal.h 3
/src/zxc/src/lib/zxc_dict.c 1
/src/zxc/src/lib/zxc_deps.h 2
/src/zxc/src/lib/zxc_huffman.c 9
/src/zxc/src/lib/zxc_decompress.c 15

Fuzzer: zxc_fuzzer_pstream

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 37 23.2%
gold [1:9] 0 0.0%
yellow [10:29] 4 2.51%
greenyellow [30:49] 1 0.62%
lawngreen 50+ 117 73.5%
All colors 159 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 134 ds_drain_decoded call site: 00134 zxc_check_seek_header
5 46 zxc_cctx_prepare_block call site: 00046 zxc_cctx_attach_dict_huf
4 52 zxc_pivco_tree_build call site: 00052 zxc_cctx_attach_dict_huf
3 64 push_roundtrip call site: 00064 cs_stage_file_header
2 17 zxc_cstream_create call site: 00017 zxc_free_cctx
2 61 zxc_cstream_compress call site: 00061 zxc_cstream_free
2 127 ds_handle_need_block_header call site: 00127 realloc
2 145 zxc_dstream_decompress call site: 00145 zxc_dstream_free
1 9 push_roundtrip call site: 00009 zxc_free_cctx
1 20 push_roundtrip call site: 00020 zxc_cstream_free
1 28 cs_drain_pending call site: 00028 cs_compress_block_from
1 34 zxc_compress_block_at call site: 00034 zxc_cctx_free

Runtime coverage analysis

Covered functions
154
Functions that are reachable but not covered
13
Reachable functions
80
Percentage of reachable functions covered
83.75%
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
/src/zxc/tests/fuzz/fuzz_pstream.c 4
/src/zxc/src/lib/zxc_common.c 21
/src/zxc/src/lib/zxc_dispatch.c 19
/src/zxc/src/lib/zxc_deps.h 2
/src/zxc/src/lib/zxc_pstream.c 23
/src/zxc/src/lib/zxc_huffman.c 5
/src/zxc/src/lib/zxc_internal.h 1

Fuzzer: zxc_fuzzer_seekable

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 26 14.8%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 1 0.57%
lawngreen 50+ 148 84.5%
All colors 175 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
8 37 zxc_compress_cctx_resolved call site: 00037 zxc_cctx_attach_dict_huf
4 14 zxc_compress_cctx_resolved call site: 00014 zxc_write_empty_frame
3 171 LLVMFuzzerTestOneInput call site: 00171 zxc_seekable_decompress_range
2 117 zxc_seekable_decompress_range call site: 00117 zxc_seek_source_read
1 19 zxc_seek_table_header call site: 00019 zxc_write_file_footer
1 23 zxc_encode_footer call site: 00023 zxc_cctx_free
1 28 zxc_cctx_init call site: 00028 zxc_dctx_entropy_sizes
1 33 zxc_cctx_init_in_workspace call site: 00033 zxc_aligned_free
1 48 zxc_compress_cctx_resolved call site: 00048 zxc_compress_chunk_wrapper
1 91 zxc_seek_load_spans call site: 00091 zxc_seek_source_read
1 113 zxc_seekable_decompress_range call site: 00113 realloc
1 115 zxc_seekable_decompress_range call site: 00115 zxc_cctx_attach_dict_huf

Runtime coverage analysis

Covered functions
169
Functions that are reachable but not covered
20
Reachable functions
86
Percentage of reachable functions covered
76.74%
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
/src/zxc/tests/fuzz/fuzz_seekable.c 2
/src/zxc/src/lib/zxc_common.c 25
/src/zxc/src/lib/zxc_dispatch.c 15
/src/zxc/src/lib/zxc_dict.c 1
/src/zxc/src/lib/zxc_deps.h 2
/src/zxc/src/lib/zxc_huffman.c 5
/src/zxc/src/lib/zxc_seekable.c 22
/src/zxc/src/lib/zxc_internal.h 2

Fuzzer: zxc_fuzzer_roundtrip_scalar

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 69 36.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 122 63.8%
All colors 191 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
19 63 LLVMFuzzerTestOneInput call site: 00063 zxc_probe_without_dst
8 157 zxc_decompress_chunk_wrapper_safe_default call site: 00157 zxc_decode_block_spl_entropy_safe
6 13 zxc_compress_cctx_resolved call site: 00013 zxc_write_empty_frame
5 36 zxc_compress_cctx_resolved call site: 00036 zxc_cctx_attach_dict_huf
4 146 zxc_decode_block_spl_entropy call site: 00146 zxc_decode_lit_pivco
3 50 zxc_compress_cctx_resolved call site: 00050 zxc_write_seek_table_from_blocks
3 93 zxc_check_eof_header call site: 00093 zxc_check_seek_header
3 103 zxc_dctx_carve call site: 00103 zxc_dict_copy_gen
3 131 zxc_decode_block_spl_entropy_safe call site: 00131 zxc_huf_decode_section_dict_default
2 42 zxc_pivco_tree_build call site: 00042 zxc_cctx_attach_dict_huf
2 115 zxc_decode_block_spl_entropy_safe call site: 00115 zxc_decode_block_spl_entropy_safe
2 139 zxc_decode_block_spl_entropy call site: 00139 zxc_decode_block_spl_entropy_dict

Runtime coverage analysis

Covered functions
177
Functions that are reachable but not covered
27
Reachable functions
91
Percentage of reachable functions covered
70.33%
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
/src/zxc/tests/fuzz/fuzz_roundtrip.c 1
/src/zxc/src/lib/zxc_common.c 32
/src/zxc/src/lib/zxc_dispatch.c 23
/src/zxc/src/lib/zxc_dict.c 1
/src/zxc/src/lib/zxc_deps.h 2
/src/zxc/src/lib/zxc_huffman.c 9
/src/zxc/src/lib/zxc_internal.h 3
/src/zxc/src/lib/zxc_decompress.c 15

Fuzzer: zxc_fuzzer_variants

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 3 7.31%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 38 92.6%
All colors 41 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
1 4 zxc_cctx_init call site: 00004 zxc_dctx_entropy_sizes
1 9 zxc_cctx_init_in_workspace call site: 00009 zxc_aligned_free
1 25 roundtrip call site: 00025 zxc_cctx_free

Runtime coverage analysis

Covered functions
161
Functions that are reachable but not covered
3
Reachable functions
18
Percentage of reachable functions covered
83.33%
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
/src/zxc/tests/fuzz/fuzz_variants.c 4
/src/zxc/src/lib/zxc_common.c 9
/src/zxc/src/lib/zxc_deps.h 2

Fuzzer: zxc_fuzzer_block

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 41 23.0%
gold [1:9] 3 1.68%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 134 75.2%
All colors 178 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
10 107 zxc_decompress_block call site: 00107 zxc_cctx_attach_dict_huf
8 64 zxc_decompress_chunk_wrapper_safe_default call site: 00064 zxc_decode_block_spl_entropy_safe
4 53 zxc_decode_block_spl_entropy call site: 00053 zxc_decode_lit_pivco
3 38 zxc_decode_block_spl_entropy_safe call site: 00038 zxc_huf_decode_section_dict_default
2 20 zxc_decode_block_spl_entropy_safe call site: 00020 zxc_decode_block_spl_entropy_safe
2 46 zxc_decode_block_spl_entropy call site: 00046 zxc_decode_block_spl_entropy_dict
2 85 zxc_decompress_chunk_wrapper_safe_default call site: 00085 zxc_decode_copy_match_exact
2 90 zxc_decode_block_pak call site: 00090 zxc_decode_bounce
2 93 zxc_decode_bounce call site: 00093 zxc_decompress_block
2 155 zxc_cctx_prepare_block call site: 00155 zxc_dict_copy_gen
1 5 zxc_dctx_set_param call site: 00005 zxc_free_dctx
1 103 zxc_cctx_init_in_workspace call site: 00103 zxc_aligned_free

Runtime coverage analysis

Covered functions
179
Functions that are reachable but not covered
13
Reachable functions
76
Percentage of reachable functions covered
82.89%
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
/src/zxc/tests/fuzz/fuzz_block.c 4
/src/zxc/src/lib/zxc_common.c 15
/src/zxc/src/lib/zxc_dispatch.c 26
/src/zxc/src/lib/zxc_deps.h 2
/src/zxc/src/lib/zxc_decompress.c 15
/src/zxc/src/lib/zxc_huffman.c 9

Fuzzer: zxc_fuzzer_inplace

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 75 31.9%
gold [1:9] 3 1.27%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 157 66.8%
All colors 235 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
20 123 zxc_decode_block_spl_entropy call site: 00123 zxc_decode_block_spl_dict
11 84 zxc_dctx_decode_frame call site: 00084 zxc_decompress_chunk_wrapper_safe_public
7 151 zxc_decode_block_spl call site: 00151 zxc_decode_block_pak_safe
5 72 zxc_dctx_carve call site: 00072 zxc_cctx_attach_dict_huf
5 78 zxc_pivco_tree_build call site: 00078 zxc_cctx_attach_dict_huf
5 107 zxc_pivco_decode_core call site: 00107 zxc_decode_tok_pivco
5 187 zxc_compress_cctx_resolved call site: 00187 zxc_write_empty_frame
2 30 zxc_scan_whole_frame call site: 00030 zxc_short_input_verdict
2 116 zxc_decode_block_spl_entropy call site: 00116 zxc_decode_block_spl_entropy_dict
2 219 zxc_cctx_prepare_block call site: 00219 zxc_dict_copy_gen
1 6 zxc_dctx_set_param call site: 00006 zxc_free_dctx
1 47 zxc_dctx_decode_frame call site: 00047 zxc_dict_compute_id

Runtime coverage analysis

Covered functions
213
Functions that are reachable but not covered
21
Reachable functions
107
Percentage of reachable functions covered
80.37%
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
/src/zxc/tests/fuzz/fuzz_inplace.c 6
/src/zxc/src/lib/zxc_dispatch.c 34
/src/zxc/src/lib/zxc_common.c 32
/src/zxc/src/lib/zxc_deps.h 2
/src/zxc/src/lib/zxc_internal.h 2
/src/zxc/src/lib/zxc_dict.c 1
/src/zxc/src/lib/zxc_huffman.c 9
/src/zxc/src/lib/zxc_decompress.c 15

Fuzzer: zxc_fuzzer_dict

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 105 35.0%
gold [1:9] 5 1.66%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 190 63.3%
All colors 300 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
19 71 zxc_decompress_dctx call site: 00071 zxc_probe_without_dst
13 172 zxc_decode_block_spl_dict call site: 00172 zxc_decode_block_spl
9 2 zxc_dict_load call site: 00002 dict_huf_roundtrip
9 113 zxc_dctx_decode_frame call site: 00113 zxc_decompress_chunk_wrapper_safe_public
7 157 zxc_decode_block_spl_entropy_dict call site: 00157 zxc_decode_block_spl_dict
6 25 zxc_compress_cctx_resolved call site: 00025 zxc_write_empty_frame
5 148 zxc_decode_block_spl_entropy_dict call site: 00148 zxc_decode_block_spl_entropy
5 187 zxc_decode_block_pak_dict call site: 00187 zxc_decode_block_pak
4 66 zxc_compress_cctx_resolved call site: 00066 zxc_decompress_dctx
4 124 zxc_decode_block_spl_entropy_dict call site: 00124 zxc_decode_block_spl_entropy
3 62 zxc_compress_cctx_resolved call site: 00062 zxc_write_seek_table_from_blocks
3 100 zxc_check_eof_header call site: 00100 zxc_check_seek_header

Runtime coverage analysis

Covered functions
213
Functions that are reachable but not covered
28
Reachable functions
126
Percentage of reachable functions covered
77.78%
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
/src/zxc/tests/fuzz/fuzz_dict.c 5
/src/zxc/src/lib/zxc_dict.c 11
/src/zxc/src/lib/zxc_common.c 32
/src/zxc/src/lib/zxc_dispatch.c 32
/src/zxc/src/lib/zxc_deps.h 2
/src/zxc/src/lib/zxc_huffman.c 22
/src/zxc/src/lib/zxc_internal.h 3
/src/zxc/src/lib/zxc_decompress.c 15

Fuzzer: zxc_fuzzer_stream

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 43 17.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 208 82.8%
All colors 251 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
4 36 zxc_stream_read_exact call site: 00036 zxc_stream_read_at
4 96 zxc_cctx_free call site: 00096 pthread_mutex_lock
3 13 zxc_scan_container call site: 00013 zxc_short_input_verdict
3 88 zxc_stream_worker call site: 00088 zxc_huf_dict_tree_build
3 123 zxc_async_writer call site: 00123 pthread_mutex_unlock
3 128 zxc_async_writer call site: 00128 pthread_mutex_lock
3 132 zxc_async_writer call site: 00132 pthread_mutex_lock
3 147 zxc_stream_read_chunk call site: 00147 zxc_stream_reader_fail
2 67 zxc_stream_regular_fd call site: 00067 zxc_stream_open_positioned
2 92 zxc_pivco_tree_build call site: 00092 zxc_cctx_free
2 114 zxc_stream_worker call site: 00114 pthread_cond_broadcast
1 8 zxc_file_span call site: 00008 fseeko64

Runtime coverage analysis

Covered functions
232
Functions that are reachable but not covered
36
Reachable functions
114
Percentage of reachable functions covered
68.42%
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
/src/zxc/tests/fuzz/fuzz_stream.c 3
/src/zxc/src/lib/zxc_common.c 28
/src/zxc/src/lib/zxc_driver.c 25
/src/zxc/src/lib/zxc_internal.h 2
/src/zxc/src/lib/zxc_dispatch.c 18
/src/zxc/src/lib/zxc_dict.c 1
/src/zxc/src/lib/zxc_deps.h 2
/src/zxc/src/lib/zxc_huffman.c 5

Fuzz engine guidance

This sections provides heuristics that can be used as input to a fuzz engine when running a given fuzz target. The current focus is on providing input that is usable by libFuzzer.

/src/zxc/tests/fuzz/fuzz_roundtrip.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


/src/zxc/tests/fuzz/fuzz_decompress.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['zxc_decompress_chunk_wrapper_safe_default', 'zxc_dctx_carve', 'zxc_pivco_tree_build', 'zxc_check_eof_header', 'zxc_decode_block_spl_entropy', 'zxc_decode_block_spl_entropy_safe', 'zxc_probe_without_dst']

/src/zxc/tests/fuzz/fuzz_pstream.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['ds_drain_decoded', 'zxc_cctx_prepare_block', 'zxc_pivco_tree_build', 'push_roundtrip', 'zxc_cstream_create', 'zxc_cstream_compress', 'ds_handle_need_block_header', 'zxc_dstream_decompress']

/src/zxc/tests/fuzz/fuzz_seekable.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['zxc_compress_cctx_resolved', 'LLVMFuzzerTestOneInput', 'zxc_seekable_decompress_range', 'zxc_seek_table_header', 'zxc_encode_footer', 'zxc_cctx_init', 'zxc_cctx_init_in_workspace', 'zxc_seek_load_spans']

/src/zxc/tests/fuzz/fuzz_roundtrip.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['LLVMFuzzerTestOneInput', 'zxc_decompress_chunk_wrapper_safe_default', 'zxc_compress_cctx_resolved', 'zxc_decode_block_spl_entropy', 'zxc_check_eof_header', 'zxc_dctx_carve', 'zxc_decode_block_spl_entropy_safe', 'zxc_pivco_tree_build']

/src/zxc/tests/fuzz/fuzz_variants.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['zxc_cctx_init', 'zxc_cctx_init_in_workspace', 'roundtrip']

/src/zxc/tests/fuzz/fuzz_block.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['zxc_decompress_block', 'zxc_decompress_chunk_wrapper_safe_default', 'zxc_decode_block_spl_entropy', 'zxc_decode_block_spl_entropy_safe', 'zxc_decode_block_pak', 'zxc_decode_bounce', 'zxc_cctx_prepare_block']

/src/zxc/tests/fuzz/fuzz_inplace.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['zxc_decode_block_spl_entropy', 'zxc_dctx_decode_frame', 'zxc_decode_block_spl', 'zxc_dctx_carve', 'zxc_pivco_tree_build', 'zxc_pivco_decode_core', 'zxc_compress_cctx_resolved', 'zxc_scan_whole_frame', 'zxc_cctx_prepare_block']

/src/zxc/tests/fuzz/fuzz_dict.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['zxc_decompress_dctx', 'zxc_decode_block_spl_dict', 'zxc_dict_load', 'zxc_dctx_decode_frame', 'zxc_decode_block_spl_entropy_dict', 'zxc_compress_cctx_resolved', 'zxc_decode_block_pak_dict']

/src/zxc/tests/fuzz/fuzz_stream.c

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['zxc_stream_read_exact', 'zxc_cctx_free', 'zxc_scan_container', 'zxc_stream_worker', 'zxc_async_writer', 'zxc_stream_read_chunk', 'zxc_stream_regular_fd', 'zxc_pivco_tree_build']

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/zxc/src/lib/zxc_common.c ['zxc_fuzzer_roundtrip', 'zxc_fuzzer_decompress', 'zxc_fuzzer_pstream', 'zxc_fuzzer_seekable', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_variants', 'zxc_fuzzer_block', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict', 'zxc_fuzzer_stream'] ['zxc_fuzzer_decompress', 'zxc_fuzzer_pstream', 'zxc_fuzzer_seekable', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_variants', 'zxc_fuzzer_block', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict', 'zxc_fuzzer_stream']
/src/zxc/src/lib/zxc_compress.c [] []
/src/zxc/tests/fuzz/fuzz_dict.c ['zxc_fuzzer_dict'] ['zxc_fuzzer_dict']
/src/zxc/tests/fuzz/fuzz_variants.c ['zxc_fuzzer_variants'] ['zxc_fuzzer_variants']
/src/zxc/tests/fuzz/fuzz_block.c ['zxc_fuzzer_block'] ['zxc_fuzzer_block']
/src/zxc/tests/fuzz/fuzz_pstream.c ['zxc_fuzzer_pstream'] ['zxc_fuzzer_pstream']
/src/zxc/tests/fuzz/fuzz_roundtrip.c ['zxc_fuzzer_roundtrip', 'zxc_fuzzer_roundtrip_scalar'] ['zxc_fuzzer_roundtrip_scalar']
/src/zxc/src/lib/zxc_deps.h ['zxc_fuzzer_roundtrip', 'zxc_fuzzer_decompress', 'zxc_fuzzer_pstream', 'zxc_fuzzer_seekable', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_variants', 'zxc_fuzzer_block', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict', 'zxc_fuzzer_stream'] ['zxc_fuzzer_decompress', 'zxc_fuzzer_pstream', 'zxc_fuzzer_seekable', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_variants', 'zxc_fuzzer_block', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict', 'zxc_fuzzer_stream']
/src/zxc/src/lib/zxc_seekable.c ['zxc_fuzzer_seekable'] ['zxc_fuzzer_seekable']
/src/zxc/tests/fuzz/fuzz_inplace.c ['zxc_fuzzer_inplace'] ['zxc_fuzzer_inplace']
/src/zxc/src/lib/zxc_pstream.c ['zxc_fuzzer_pstream'] ['zxc_fuzzer_pstream']
/src/zxc/tests/fuzz/fuzz_seekable.c ['zxc_fuzzer_seekable'] ['zxc_fuzzer_seekable']
/src/zxc/src/lib/zxc_dispatch.c ['zxc_fuzzer_roundtrip', 'zxc_fuzzer_decompress', 'zxc_fuzzer_pstream', 'zxc_fuzzer_seekable', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_block', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict', 'zxc_fuzzer_stream'] ['zxc_fuzzer_decompress', 'zxc_fuzzer_pstream', 'zxc_fuzzer_seekable', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_block', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict', 'zxc_fuzzer_stream']
/src/zxc/tests/fuzz/fuzz_stream.c ['zxc_fuzzer_stream'] ['zxc_fuzzer_stream']
/src/zxc/src/lib/zxc_huffman.c ['zxc_fuzzer_roundtrip', 'zxc_fuzzer_decompress', 'zxc_fuzzer_pstream', 'zxc_fuzzer_seekable', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_block', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict', 'zxc_fuzzer_stream'] ['zxc_fuzzer_decompress', 'zxc_fuzzer_pstream', 'zxc_fuzzer_seekable', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_block', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict', 'zxc_fuzzer_stream']
/src/zxc/src/lib/zxc_dict.c ['zxc_fuzzer_roundtrip', 'zxc_fuzzer_decompress', 'zxc_fuzzer_seekable', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict', 'zxc_fuzzer_stream'] ['zxc_fuzzer_dict', 'zxc_fuzzer_stream']
/src/zxc/tests/fuzz/fuzz_decompress.c ['zxc_fuzzer_decompress'] ['zxc_fuzzer_decompress']
/src/zxc/src/lib/zxc_decompress.c ['zxc_fuzzer_roundtrip', 'zxc_fuzzer_decompress', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_block', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict'] ['zxc_fuzzer_decompress', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_block', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict']
/src/zxc/src/lib/zxc_internal.h ['zxc_fuzzer_roundtrip', 'zxc_fuzzer_decompress', 'zxc_fuzzer_pstream', 'zxc_fuzzer_seekable', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict', 'zxc_fuzzer_stream'] ['zxc_fuzzer_decompress', 'zxc_fuzzer_pstream', 'zxc_fuzzer_seekable', 'zxc_fuzzer_roundtrip_scalar', 'zxc_fuzzer_inplace', 'zxc_fuzzer_dict', 'zxc_fuzzer_stream']
/src/zxc/src/lib/zxc_driver.c ['zxc_fuzzer_stream'] ['zxc_fuzzer_stream']
/usr/local/lib/clang/22/include/cpuid.h [] []

Directories in report

Directory
/src/zxc/src/lib/
/usr/local/lib/clang/22/include/
/src/zxc/tests/fuzz/