Fuzz introspector: zxc_fuzzer_stream
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

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 35 zxc_stream_engine_run call site: 00035 zxc_stream_engine_fail
6 94 zxc_async_writer call site: 00094 pthread_mutex_lock
4 63 zxc_cctx_free call site: 00063 pthread_mutex_lock
3 55 zxc_stream_worker call site: 00055 zxc_huf_dict_tree_build
3 101 zxc_async_writer call site: 00101 pthread_mutex_lock
2 59 zxc_pivco_tree_build call site: 00059 zxc_cctx_free
2 78 zxc_stream_worker call site: 00078 pthread_cond_broadcast
2 83 zxc_stream_worker call site: 00083 zxc_stream_engine_fail
1 10 zxc_stream_get_decompressed_size call site: 00010 fseeko64
1 13 zxc_stream_get_decompressed_size call site: 00013 fseeko64
1 16 zxc_stream_get_decompressed_size call site: 00016 fseeko64
1 18 zxc_stream_get_decompressed_size call site: 00018 zxc_stream_decompress

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 zxc_max_level [function] [call site] 00001
1 fuzz_raw [function] [call site] 00002
2 fmemopen [call site] 00003
2 zxc_stream_get_decompressed_size [function] [call site] 00004
3 ftello64 [call site] 00005
3 fseeko64 [call site] 00006
3 ftello64 [call site] 00007
3 fseeko64 [call site] 00008
3 fseeko64 [call site] 00009
3 fread [call site] 00010
3 fseeko64 [call site] 00011
3 zxc_read_file_header [function] [call site] 00012
3 fseeko64 [call site] 00013
3 fseeko64 [call site] 00014
3 fseeko64 [call site] 00015
3 fread [call site] 00016
3 fseeko64 [call site] 00017
3 fseeko64 [call site] 00018
2 zxc_stream_decompress [function] [call site] 00019
3 zxc_stream_engine_run [function] [call site] 00020
4 ftello64 [call site] 00021
4 fseeko64 [call site] 00022
4 ftello64 [call site] 00023
4 fseeko64 [call site] 00024
4 fread [call site] 00025
4 zxc_read_file_header [function] [call site] 00026
4 zxc_dict_id [function] [call site] 00027
4 sysconf [call site] 00028
4 zxc_compress_bound [function] [call site] 00029
4 zxc_aligned_malloc [function] [call site] 00030
5 posix_memalign [call site] 00031
4 pthread_mutex_init [call site] 00032
4 pthread_cond_init [call site] 00033
4 pthread_cond_init [call site] 00034
4 pthread_cond_init [call site] 00035
4 zxc_stream_engine_fail [function] [call site] 00036
5 pthread_mutex_lock [call site] 00037
5 pthread_cond_broadcast [call site] 00038
5 pthread_mutex_unlock [call site] 00039
5 pthread_join [call site] 00040
5 pthread_cond_destroy [call site] 00041
5 pthread_cond_destroy [call site] 00042
5 pthread_cond_destroy [call site] 00043
5 pthread_mutex_destroy [call site] 00044
5 zxc_aligned_free [function] [call site] 00045
4 pthread_create [call site] 00046
4 zxc_stream_worker [function] [call site] 00047
5 zxc_cctx_init [function] [call site] 00048
6 compute_cctx_layout [function] [call site] 00049
7 zxc_dctx_entropy_sizes [function] [call site] 00050
6 zxc_aligned_malloc [function] [call site] 00051
6 zxc_cctx_init_in_workspace [function] [call site] 00052
7 compute_cctx_layout [function] [call site] 00053
6 zxc_aligned_free [function] [call site] 00054
5 zxc_cctx_attach_dict_huf [function] [call site] 00055
6 zxc_huf_dict_tree_build [function] [call site] 00056
7 zxc_huf_unpack_lengths_default [function] [call site] 00057
7 zxc_pivco_tree_build [function] [call site] 00058
8 zxc_pivco_bitrev_permute [function] [call site] 00059
7 zxc_pivco_codes [function] [call site] 00060
5 zxc_cctx_free [function] [call site] 00061
6 zxc_aligned_free [function] [call site] 00062
6 zxc_aligned_free [function] [call site] 00063
5 pthread_mutex_lock [call site] 00064
5 pthread_cond_broadcast [call site] 00065
5 pthread_cond_broadcast [call site] 00066
5 pthread_mutex_unlock [call site] 00067
5 pthread_mutex_lock [call site] 00068
5 pthread_cond_wait [call site] 00069
5 pthread_mutex_unlock [call site] 00070
5 pthread_mutex_unlock [call site] 00071
5 zxc_compress_chunk_wrapper [function] [call site] 00072
5 zxc_decompress_chunk_wrapper [function] [call site] 00073
5 zxc_compress_chunk_wrapper [function] [call site] 00074
5 zxc_decompress_chunk_wrapper [function] [call site] 00075
5 zxc_compress_chunk_wrapper [function] [call site] 00076
5 zxc_decompress_chunk_wrapper [function] [call site] 00077
5 pthread_mutex_lock [call site] 00078
5 pthread_cond_broadcast [call site] 00079
5 pthread_cond_broadcast [call site] 00080
5 pthread_cond_signal [call site] 00081
5 pthread_mutex_unlock [call site] 00082
5 zxc_cctx_free [function] [call site] 00083
4 zxc_stream_engine_fail [function] [call site] 00084
4 zxc_stream_engine_fail [function] [call site] 00085
4 zxc_dict_id [function] [call site] 00086
4 zxc_write_file_header [function] [call site] 00087
4 fwrite [call site] 00088
4 pthread_create [call site] 00089
4 zxc_async_writer [function] [call site] 00090
5 pthread_mutex_lock [call site] 00091
5 pthread_cond_wait [call site] 00092
5 pthread_mutex_unlock [call site] 00093
5 fwrite [call site] 00094
5 pthread_mutex_lock [call site] 00095
5 pthread_cond_signal [call site] 00096
5 pthread_mutex_unlock [call site] 00097
5 pthread_mutex_lock [call site] 00098
5 pthread_cond_signal [call site] 00099
5 pthread_mutex_unlock [call site] 00100
5 realloc [call site] 00101
5 pthread_mutex_lock [call site] 00102
5 pthread_cond_signal [call site] 00103
5 pthread_mutex_unlock [call site] 00104
5 pthread_mutex_lock [call site] 00105
5 pthread_cond_signal [call site] 00106
5 pthread_mutex_unlock [call site] 00107
4 zxc_stream_engine_fail [function] [call site] 00108
4 zxc_stream_read_loop [function] [call site] 00109
5 pthread_mutex_lock [call site] 00110
5 pthread_cond_wait [call site] 00111
5 pthread_mutex_unlock [call site] 00112
5 fread [call site] 00113
5 fread [call site] 00114
5 zxc_read_block_header [function] [call site] 00115
5 fread [call site] 00116
5 pthread_mutex_lock [call site] 00117
5 pthread_cond_signal [call site] 00118
5 pthread_mutex_unlock [call site] 00119
4 pthread_mutex_lock [call site] 00120
4 pthread_cond_wait [call site] 00121
4 pthread_cond_broadcast [call site] 00122
4 pthread_mutex_unlock [call site] 00123
4 pthread_join [call site] 00124
4 pthread_mutex_lock [call site] 00125
4 pthread_cond_broadcast [call site] 00126
4 pthread_mutex_unlock [call site] 00127
4 pthread_join [call site] 00128
4 pthread_cond_destroy [call site] 00129
4 pthread_cond_destroy [call site] 00130
4 pthread_cond_destroy [call site] 00131
4 pthread_mutex_destroy [call site] 00132
4 zxc_stream_finish_compress [function] [call site] 00133
5 zxc_write_block_header [function] [call site] 00134
5 fwrite [call site] 00135
5 zxc_seek_table_header [function] [call site] 00136
6 zxc_write_block_header [function] [call site] 00137
5 fwrite [call site] 00138
5 zxc_seek_write_group [function] [call site] 00139
5 fwrite [call site] 00140
5 zxc_write_file_footer [function] [call site] 00141
5 fwrite [call site] 00142
4 zxc_stream_finish_decompress [function] [call site] 00143
5 fread [call site] 00144
5 zxc_read_block_header [function] [call site] 00145
5 fread [call site] 00146
5 fread [call site] 00147
5 fgetc [call site] 00148
5 feof [call site] 00149
4 fflush [call site] 00150
4 zxc_aligned_free [function] [call site] 00151
2 fclose [call site] 00152
1 roundtrip [function] [call site] 00153
2 fmemopen [call site] 00154
2 open_memstream [call site] 00155
2 zxc_stream_compress [function] [call site] 00156
3 zxc_level_clamp [function] [call site] 00157
3 zxc_stream_engine_run [function] [call site] 00158
2 fclose [call site] 00159
2 fclose [call site] 00160
2 __assert_fail [call site] 00161
2 fmemopen [call site] 00162
2 open_memstream [call site] 00163
2 zxc_stream_get_decompressed_size [function] [call site] 00164
2 zxc_stream_decompress [function] [call site] 00165
2 fclose [call site] 00166
2 __assert_fail [call site] 00167
2 __assert_fail [call site] 00168
2 memcmp [call site] 00169
2 __assert_fail [call site] 00170
2 fclose [call site] 00171
2 fclose [call site] 00172