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_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 37 53.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 1 1.44%
lawngreen 50+ 31 44.9%
All colors 69 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
7 53 zxc_cctx_init_in_workspace call site: 00053 zxc_ctx_sync_dict_huf
6 18 LLVMFuzzerTestOneInput call site: 00018 zxc_probe_without_dst
6 31 zxc_dctx_decode_frame call site: 00031 zxc_check_seek_header
5 38 zxc_dctx_decode_frame call site: 00038 zxc_dctx_carve
4 64 zxc_dctx_decode_frame call site: 00064 zxc_decompress_oneshot
3 25 zxc_container_next call site: 00025 zxc_dctx_decode_frame
2 61 zxc_pivco_tree_build call site: 00061 zxc_cctx_attach_dict_huf
1 7 zxc_scan_frame call site: 00007 zxc_read_file_header
1 29 zxc_dctx_decode_frame call site: 00029 zxc_read_block_header
1 46 zxc_cctx_free call site: 00046 zxc_cctx_init
1 48 zxc_cctx_init call site: 00048 zxc_dctx_entropy_sizes

Runtime coverage analysis

Covered functions
89
Functions that are reachable but not covered
9
Reachable functions
45
Percentage of reachable functions covered
80.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
tests/fuzz/fuzz_decompress.c 1
src/lib/zxc_dispatch.c 9
src/lib/zxc_common.c 22
src/lib/zxc_internal.h 3
src/lib/zxc_dict.c 1
src/lib/zxc_deps.h 2
src/lib/zxc_huffman.c 5

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 55 34.5%
gold [1:9] 0 0.0%
yellow [10:29] 4 2.51%
greenyellow [30:49] 1 0.62%
lawngreen 50+ 99 62.2%
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_compress_block_resolved call site: 00046 zxc_cctx_attach_dict_huf
5 52 zxc_pivco_tree_build call site: 00052 zxc_cctx_attach_dict_huf
4 34 cs_compress_block_from call site: 00034 zxc_compress_block_resolved
3 63 LLVMFuzzerTestOneInput call site: 00063 cs_stage_file_header
3 78 cs_stage_footer call site: 00078 zxc_encode_footer
3 90 drip_decompress call site: 00090 zxc_free_dctx
2 2 LLVMFuzzerTestOneInput call site: 00002 calloc
2 7 LLVMFuzzerTestOneInput call site: 00007 zxc_free_cctx
2 15 zxc_cstream_create call site: 00015 zxc_free_cctx
2 22 LLVMFuzzerTestOneInput call site: 00022 zxc_cstream_free
2 60 zxc_cstream_compress call site: 00060 zxc_cstream_free

Runtime coverage analysis

Covered functions
144
Functions that are reachable but not covered
11
Reachable functions
75
Percentage of reachable functions covered
85.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
tests/fuzz/fuzz_pstream.c 3
src/lib/zxc_dispatch.c 17
src/lib/zxc_common.c 19
src/lib/zxc_deps.h 2
src/lib/zxc_pstream.c 23
src/lib/zxc_huffman.c 5
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 62 35.8%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 111 64.1%
All colors 173 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
13 11 LLVMFuzzerTestOneInput call site: 00011 zxc_compress_cctx_resolved
9 35 zxc_compress_cctx_resolved call site: 00035 zxc_cctx_attach_dict_huf
4 103 LLVMFuzzerTestOneInput call site: 00103 zxc_seekable_decompress_range
4 114 zxc_seekable_decompress_range call site: 00114 zxc_cctx_attach_dict_huf
3 169 LLVMFuzzerTestOneInput call site: 00169 zxc_seekable_decompress_range
2 3 LLVMFuzzerTestOneInput call site: 00003 calloc
2 72 zxc_seekable_parse call site: 00072 zxc_write_block_header
2 75 zxc_seekable_parse call site: 00075 zxc_seek_table_header
2 88 zxc_seek_load_spans call site: 00088 zxc_check_seek_header
2 91 LLVMFuzzerTestOneInput call site: 00091 zxc_seek_frame_of_block
2 111 zxc_seekable_decompress_range call site: 00111 zxc_seek_load_spans
2 123 zxc_seekable_decompress_range_mt call site: 00123 calloc

Runtime coverage analysis

Covered functions
144
Functions that are reachable but not covered
21
Reachable functions
81
Percentage of reachable functions covered
74.07%
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
tests/fuzz/fuzz_seekable.c 1
src/lib/zxc_common.c 23
src/lib/zxc_dispatch.c 13
src/lib/zxc_dict.c 1
src/lib/zxc_deps.h 2
src/lib/zxc_huffman.c 5
src/lib/zxc_seekable.c 22
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 68 70.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 29 29.8%
All colors 97 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
21 48 LLVMFuzzerTestOneInput call site: 00048 zxc_probe_without_dst
14 4 LLVMFuzzerTestOneInput call site: 00004 zxc_compress_cctx_resolved
5 29 zxc_compress_cctx_resolved call site: 00029 zxc_cctx_attach_dict_huf
5 41 zxc_compress_cctx_resolved call site: 00041 zxc_write_seek_table_from_blocks
5 76 zxc_dctx_decode_frame call site: 00076 zxc_check_seek_header
4 89 zxc_dctx_decode_frame call site: 00089 zxc_decompress_oneshot
3 35 zxc_pivco_tree_build call site: 00035 zxc_cctx_attach_dict_huf
3 70 zxc_container_next call site: 00070 zxc_dctx_decode_frame
3 82 zxc_dctx_decode_frame call site: 00082 zxc_dctx_carve
2 86 zxc_dctx_carve call site: 00086 zxc_ctx_sync_dict_huf
1 22 zxc_cctx_init call site: 00022 zxc_dctx_entropy_sizes
1 27 zxc_cctx_init_in_workspace call site: 00027 zxc_aligned_free

Runtime coverage analysis

Covered functions
146
Functions that are reachable but not covered
20
Reachable functions
58
Percentage of reachable functions covered
65.52%
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
tests/fuzz/fuzz_roundtrip.c 1
src/lib/zxc_common.c 27
src/lib/zxc_dispatch.c 15
src/lib/zxc_dict.c 1
src/lib/zxc_deps.h 2
src/lib/zxc_huffman.c 5
src/lib/zxc_internal.h 3

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 59 34.1%
gold [1:9] 2 1.15%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 112 64.7%
All colors 173 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
9 103 zxc_cctx_init_in_workspace call site: 00103 zxc_ctx_sync_dict_huf
8 64 zxc_decompress_chunk_wrapper_safe_default call site: 00064 zxc_decode_block_spl_entropy_safe
5 113 zxc_decompress_block call site: 00113 zxc_decompress_block
5 145 LLVMFuzzerTestOneInput call site: 00145 zxc_compress_block_at
4 53 zxc_decode_block_spl_entropy call site: 00053 zxc_decode_lit_pivco
4 94 zxc_decompress_block_safe call site: 00094 zxc_static_decompress_block
3 4 LLVMFuzzerTestOneInput call site: 00004 zxc_free_dctx
3 38 zxc_decode_block_spl_entropy_safe call site: 00038 zxc_huf_decode_section_dict_default
3 90 zxc_decode_block_pak call site: 00090 zxc_decode_bounce
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

Runtime coverage analysis

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

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 68 70.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 29 29.8%
All colors 97 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
21 48 LLVMFuzzerTestOneInput call site: 00048 zxc_probe_without_dst
14 4 LLVMFuzzerTestOneInput call site: 00004 zxc_compress_cctx_resolved
5 29 zxc_compress_cctx_resolved call site: 00029 zxc_cctx_attach_dict_huf
5 41 zxc_compress_cctx_resolved call site: 00041 zxc_write_seek_table_from_blocks
5 76 zxc_dctx_decode_frame call site: 00076 zxc_check_seek_header
4 89 zxc_dctx_decode_frame call site: 00089 zxc_decompress_oneshot
3 35 zxc_pivco_tree_build call site: 00035 zxc_cctx_attach_dict_huf
3 70 zxc_container_next call site: 00070 zxc_dctx_decode_frame
3 82 zxc_dctx_decode_frame call site: 00082 zxc_dctx_carve
2 86 zxc_dctx_carve call site: 00086 zxc_ctx_sync_dict_huf
1 22 zxc_cctx_init call site: 00022 zxc_dctx_entropy_sizes
1 27 zxc_cctx_init_in_workspace call site: 00027 zxc_aligned_free

Runtime coverage analysis

Covered functions
150
Functions that are reachable but not covered
20
Reachable functions
58
Percentage of reachable functions covered
65.52%
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
tests/fuzz/fuzz_roundtrip.c 1
src/lib/zxc_common.c 27
src/lib/zxc_dispatch.c 15
src/lib/zxc_dict.c 1
src/lib/zxc_deps.h 2
src/lib/zxc_huffman.c 5
src/lib/zxc_internal.h 3

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 59 38.8%
gold [1:9] 2 1.31%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 91 59.8%
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
10 104 fuzz_one call site: 00104 zxc_compress_cctx_resolved
7 68 zxc_cctx_init call site: 00068 zxc_ctx_sync_dict_huf
6 50 zxc_dctx_decode_frame call site: 00050 zxc_check_seek_header
5 131 fuzz_one call site: 00131 zxc_compress_block_at
4 57 zxc_dctx_decode_frame call site: 00057 zxc_encode_footer
3 5 with_checksum call site: 00005 zxc_free_dctx
3 82 decode_inplace call site: 00082 zxc_dctx_decode_frame
2 28 zxc_scan_whole_frame call site: 00028 zxc_scan_frame
2 45 zxc_inplace_prepare call site: 00045 zxc_dctx_decode_frame
2 76 zxc_pivco_tree_build call site: 00076 zxc_cctx_attach_dict_huf
2 95 fuzz_one call site: 00095 calloc
2 137 zxc_compress_block_resolved call site: 00137 zxc_compress_chunk_wrapper

Runtime coverage analysis

Covered functions
196
Functions that are reachable but not covered
10
Reachable functions
80
Percentage of reachable functions covered
87.5%
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
tests/fuzz/fuzz_inplace.c 6
src/lib/zxc_dispatch.c 31
src/lib/zxc_common.c 27
src/lib/zxc_deps.h 2
src/lib/zxc_internal.h 2
src/lib/zxc_dict.c 1
src/lib/zxc_huffman.c 5

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 90 40.9%
gold [1:9] 5 2.27%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 125 56.8%
All colors 220 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
29 58 zxc_compress_cctx_resolved call site: 00058 zxc_decompress_dctx
17 17 zxc_cctx_set_param call site: 00017 zxc_compress_cctx
14 2 zxc_dict_load call site: 00002 dict_huf_roundtrip
5 94 zxc_dctx_decode_frame call site: 00094 zxc_check_seek_header
5 108 zxc_dctx_decode_frame call site: 00108 zxc_dctx_decode_container
3 88 zxc_container_next call site: 00088 zxc_dctx_decode_frame
3 100 zxc_dctx_decode_frame call site: 00100 zxc_dctx_carve
2 46 zxc_compress_cctx_resolved call site: 00046 zxc_cctx_attach_dict_huf
2 104 zxc_dctx_carve call site: 00104 zxc_ctx_sync_dict_huf
2 189 configure_cctx call site: 00189 zxc_free_cctx
2 206 configure_dctx call site: 00206 zxc_free_dctx
1 39 zxc_cctx_init call site: 00039 zxc_dctx_entropy_sizes

Runtime coverage analysis

Covered functions
191
Functions that are reachable but not covered
21
Reachable functions
99
Percentage of reachable functions covered
78.79%
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
tests/fuzz/fuzz_dict.c 4
src/lib/zxc_dict.c 11
src/lib/zxc_common.c 27
src/lib/zxc_dispatch.c 29
src/lib/zxc_deps.h 2
src/lib/zxc_huffman.c 18
src/lib/zxc_internal.h 3

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 70 28.4%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 176 71.5%
All colors 246 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 174 zxc_stream_finish_decompress call site: 00174 zxc_encode_footer
4 36 zxc_stream_read_exact call site: 00036 zxc_stream_read_at
4 94 zxc_cctx_free call site: 00094 pthread_mutex_lock
3 86 zxc_stream_worker call site: 00086 zxc_huf_dict_tree_build
3 121 zxc_async_writer call site: 00121 pthread_mutex_unlock
3 126 zxc_async_writer call site: 00126 pthread_mutex_lock
3 130 zxc_async_writer call site: 00130 pthread_mutex_lock
3 145 zxc_stream_read_chunk call site: 00145 zxc_stream_reader_fail
3 153 zxc_stream_read_blocks call site: 00153 zxc_stream_read_at
3 168 zxc_stream_finish_decompress call site: 00168 zxc_seek_table_header
3 210 zxc_stream_compress call site: 00210 zxc_stream_engine_start
2 7 zxc_file_span call site: 00007 ftello64

Runtime coverage analysis

Covered functions
211
Functions that are reachable but not covered
36
Reachable functions
112
Percentage of reachable functions covered
67.86%
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
tests/fuzz/fuzz_stream.c 3
src/lib/zxc_common.c 26
src/lib/zxc_driver.c 25
src/lib/zxc_internal.h 2
src/lib/zxc_dispatch.c 18
src/lib/zxc_dict.c 1
src/lib/zxc_deps.h 2
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.

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_cctx_init_in_workspace', 'LLVMFuzzerTestOneInput', 'zxc_dctx_decode_frame', 'zxc_container_next', 'zxc_pivco_tree_build', 'zxc_scan_frame', 'zxc_cctx_free']

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_compress_block_resolved', 'zxc_pivco_tree_build', 'cs_compress_block_from', 'LLVMFuzzerTestOneInput', 'cs_stage_footer', 'drip_decompress', 'zxc_cstream_create']

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=['LLVMFuzzerTestOneInput', 'zxc_compress_cctx_resolved', 'zxc_seekable_decompress_range', 'zxc_seekable_parse', 'zxc_seek_load_spans']

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_compress_cctx_resolved', 'zxc_dctx_decode_frame', 'zxc_pivco_tree_build', 'zxc_container_next', 'zxc_dctx_carve']

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_cctx_init_in_workspace', 'zxc_decompress_chunk_wrapper_safe_default', 'zxc_decompress_block', 'LLVMFuzzerTestOneInput', 'zxc_decode_block_spl_entropy', 'zxc_decompress_block_safe', 'zxc_decode_block_spl_entropy_safe', 'zxc_decode_block_pak']

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_compress_cctx_resolved', 'zxc_dctx_decode_frame', 'zxc_pivco_tree_build', 'zxc_container_next', 'zxc_dctx_carve']

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=['fuzz_one', 'zxc_cctx_init', 'zxc_dctx_decode_frame', 'with_checksum', 'decode_inplace', 'zxc_scan_whole_frame', 'zxc_inplace_prepare', 'zxc_pivco_tree_build']

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_compress_cctx_resolved', 'zxc_cctx_set_param', 'zxc_dict_load', 'zxc_dctx_decode_frame', 'zxc_container_next', 'zxc_dctx_carve', 'configure_cctx']

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_finish_decompress', 'zxc_stream_read_exact', 'zxc_cctx_free', 'zxc_stream_worker', 'zxc_async_writer', 'zxc_stream_read_chunk', 'zxc_stream_read_blocks']

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

Directories in report

Directory
/src/zxc/tests/fuzz/
/src/zxc/src/lib/