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
6 118 zxc_async_writer call site: 00118 pthread_mutex_lock
4 30 zxc_stream_read_exact call site: 00030 zxc_stream_read_at
4 88 zxc_cctx_free call site: 00088 pthread_mutex_lock
3 13 zxc_scan_container call site: 00013 zxc_short_input_verdict
3 80 zxc_stream_worker call site: 00080 zxc_huf_dict_tree_build
3 125 zxc_async_writer call site: 00125 pthread_mutex_lock
3 148 zxc_stream_read_blocks call site: 00148 zxc_stream_reader_fail
2 61 zxc_stream_regular_fd call site: 00061 zxc_stream_open_positioned
2 84 zxc_pivco_tree_build call site: 00084 zxc_cctx_free
2 106 zxc_stream_worker call site: 00106 pthread_cond_broadcast
2 171 zxc_check_file_footer call site: 00171 pthread_mutex_lock
1 8 zxc_file_span call site: 00008 fseeko64

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 zxc_file_span [function] [call site] 00005
4 ftello64 [call site] 00006
4 fseeko64 [call site] 00007
4 ftello64 [call site] 00008
4 fseeko64 [call site] 00009
3 zxc_scan_container [function] [call site] 00010
4 zxc_scan_read [function] [call site] 00011
4 zxc_read_file_header [function] [call site] 00012
4 zxc_scan_frame [function] [call site] 00013
5 zxc_scan_read [function] [call site] 00014
5 zxc_short_input_verdict [function] [call site] 00015
6 zxc_read_file_header [function] [call site] 00016
5 zxc_scan_read [function] [call site] 00017
5 zxc_parse_file_footer [function] [call site] 00018
6 zxc_load_le_n [function] [call site] 00019
6 zxc_load_le_n [function] [call site] 00020
5 zxc_scan_read [function] [call site] 00021
5 zxc_frame_tail_len [function] [call site] 00022
5 zxc_read_frame_info [function] [call site] 00023
6 zxc_read_file_header [function] [call site] 00024
6 zxc_parse_file_footer [function] [call site] 00025
3 fseeko64 [call site] 00026
2 zxc_stream_decompress [function] [call site] 00027
3 zxc_dict_id [function] [call site] 00028
3 zxc_stream_read_exact [function] [call site] 00029
4 zxc_stream_in_read [function] [call site] 00030
5 zxc_stream_read_at [function] [call site] 00031
6 zxc_pread_full [function] [call site] 00032
7 pread64 [call site] 00033
7 __errno_location [call site] 00034
5 fread [call site] 00035
5 feof [call site] 00036
3 zxc_stream_read_frame_header [function] [call site] 00037
4 zxc_stream_read_exact [function] [call site] 00038
4 zxc_read_file_header [function] [call site] 00039
3 zxc_stream_engine_close [function] [call site] 00040
4 zxc_stream_engine_stop [function] [call site] 00041
5 pthread_mutex_lock [call site] 00042
5 pthread_cond_wait [call site] 00043
5 pthread_cond_broadcast [call site] 00044
5 pthread_mutex_unlock [call site] 00045
5 pthread_join [call site] 00046
5 pthread_mutex_lock [call site] 00047
5 pthread_cond_broadcast [call site] 00048
5 pthread_mutex_unlock [call site] 00049
5 pthread_join [call site] 00050
5 pthread_cond_destroy [call site] 00051
5 pthread_cond_destroy [call site] 00052
5 pthread_cond_destroy [call site] 00053
5 pthread_mutex_destroy [call site] 00054
5 zxc_aligned_free [function] [call site] 00055
4 fseeko64 [call site] 00056
3 zxc_stream_engine_start [function] [call site] 00057
4 sysconf [call site] 00058
4 zxc_stream_regular_fd [function] [call site] 00059
5 fileno [call site] 00060
5 fstat64 [call site] 00061
4 zxc_stream_open_positioned [function] [call site] 00062
5 ftello64 [call site] 00063
4 zxc_compress_bound [function] [call site] 00064
4 zxc_aligned_malloc [function] [call site] 00065
5 posix_memalign [call site] 00066
4 pthread_mutex_init [call site] 00067
4 pthread_cond_init [call site] 00068
4 pthread_cond_init [call site] 00069
4 pthread_cond_init [call site] 00070
4 pthread_create [call site] 00071
4 zxc_stream_worker [function] [call site] 00072
5 zxc_cctx_init [function] [call site] 00073
6 compute_cctx_layout [function] [call site] 00074
7 zxc_dctx_entropy_sizes [function] [call site] 00075
6 zxc_aligned_malloc [function] [call site] 00076
6 zxc_cctx_init_in_workspace [function] [call site] 00077
7 compute_cctx_layout [function] [call site] 00078
6 zxc_aligned_free [function] [call site] 00079
5 zxc_cctx_attach_dict_huf [function] [call site] 00080
6 zxc_huf_dict_tree_build [function] [call site] 00081
7 zxc_huf_unpack_lengths_default [function] [call site] 00082
7 zxc_pivco_tree_build [function] [call site] 00083
8 zxc_pivco_bitrev_permute [function] [call site] 00084
7 zxc_pivco_codes [function] [call site] 00085
5 zxc_cctx_free [function] [call site] 00086
6 zxc_aligned_free [function] [call site] 00087
6 zxc_aligned_free [function] [call site] 00088
5 pthread_mutex_lock [call site] 00089
5 pthread_cond_broadcast [call site] 00090
5 pthread_cond_broadcast [call site] 00091
5 pthread_mutex_unlock [call site] 00092
5 pthread_mutex_lock [call site] 00093
5 pthread_cond_wait [call site] 00094
5 pthread_mutex_unlock [call site] 00095
5 pthread_mutex_unlock [call site] 00096
5 zxc_stream_read_at [function] [call site] 00097
5 zxc_stream_decode_job [function] [call site] 00098
6 zxc_read_block_header [function] [call site] 00099
6 zxc_compress_chunk_wrapper [function] [call site] 00100
6 zxc_decompress_chunk_wrapper [function] [call site] 00101
5 zxc_compress_chunk_wrapper [function] [call site] 00102
5 zxc_decompress_chunk_wrapper [function] [call site] 00103
5 zxc_compress_chunk_wrapper [function] [call site] 00104
5 zxc_decompress_chunk_wrapper [function] [call site] 00105
5 pthread_mutex_lock [call site] 00106
5 pthread_cond_broadcast [call site] 00107
5 pthread_cond_broadcast [call site] 00108
5 pthread_cond_signal [call site] 00109
5 pthread_mutex_unlock [call site] 00110
5 zxc_cctx_free [function] [call site] 00111
4 pthread_create [call site] 00112
4 zxc_async_writer [function] [call site] 00113
5 pthread_mutex_lock [call site] 00114
5 pthread_cond_wait [call site] 00115
5 pthread_mutex_unlock [call site] 00116
5 pthread_mutex_unlock [call site] 00117
5 fwrite [call site] 00118
5 pthread_mutex_lock [call site] 00119
5 pthread_cond_signal [call site] 00120
5 pthread_mutex_unlock [call site] 00121
5 pthread_mutex_lock [call site] 00122
5 pthread_cond_signal [call site] 00123
5 pthread_mutex_unlock [call site] 00124
5 realloc [call site] 00125
5 pthread_mutex_lock [call site] 00126
5 pthread_cond_signal [call site] 00127
5 pthread_mutex_unlock [call site] 00128
5 pthread_mutex_lock [call site] 00129
5 pthread_cond_signal [call site] 00130
5 pthread_mutex_unlock [call site] 00131
4 zxc_stream_engine_stop [function] [call site] 00132
3 zxc_stream_decode_frame [function] [call site] 00133
4 zxc_stream_read_loop [function] [call site] 00134
5 pthread_mutex_lock [call site] 00135
5 pthread_cond_wait [call site] 00136
5 pthread_mutex_unlock [call site] 00137
5 zxc_stream_read_chunk [function] [call site] 00138
6 fread [call site] 00139
5 zxc_stream_read_blocks [function] [call site] 00140
6 zxc_stream_read_at [function] [call site] 00141
6 zxc_stream_in_read [function] [call site] 00142
6 zxc_read_block_header [function] [call site] 00143
6 zxc_check_eof_header [function] [call site] 00144
7 zxc_write_block_header [function] [call site] 00145
7 memcmp [call site] 00146
6 zxc_stream_read_at [function] [call site] 00147
6 fread [call site] 00148
6 zxc_stream_reader_fail [function] [call site] 00149
7 pthread_mutex_lock [call site] 00150
7 pthread_mutex_unlock [call site] 00151
5 pthread_mutex_lock [call site] 00152
5 pthread_cond_signal [call site] 00153
5 pthread_mutex_unlock [call site] 00154
4 zxc_stream_engine_drain [function] [call site] 00155
5 pthread_mutex_lock [call site] 00156
5 pthread_cond_wait [call site] 00157
5 pthread_mutex_unlock [call site] 00158
4 zxc_stream_finish_decompress [function] [call site] 00159
5 zxc_stream_in_read [function] [call site] 00160
5 zxc_check_seek_header [function] [call site] 00161
6 zxc_seek_table_header [function] [call site] 00162
7 zxc_write_block_header [function] [call site] 00163
6 memcmp [call site] 00164
5 fread [call site] 00165
5 zxc_stream_in_read [function] [call site] 00166
5 zxc_check_file_footer [function] [call site] 00167
6 zxc_encode_footer [function] [call site] 00168
7 zxc_store_le_n [function] [call site] 00169
7 zxc_store_le_n [function] [call site] 00170
6 memcmp [call site] 00171
4 pthread_mutex_lock [call site] 00172
4 pthread_mutex_unlock [call site] 00173
3 zxc_stream_read_exact [function] [call site] 00174
3 zxc_stream_engine_close [function] [call site] 00175
3 fflush [call site] 00176
2 fclose [call site] 00177
1 roundtrip [function] [call site] 00178
2 fmemopen [call site] 00179
2 open_memstream [call site] 00180
2 zxc_stream_compress [function] [call site] 00181
3 zxc_level_clamp [function] [call site] 00182
3 zxc_file_span [function] [call site] 00183
3 fseeko64 [call site] 00184
3 zxc_stream_engine_start [function] [call site] 00185
3 zxc_dict_id [function] [call site] 00186
3 zxc_write_file_header [function] [call site] 00187
3 fwrite [call site] 00188
3 zxc_stream_read_loop [function] [call site] 00189
3 zxc_stream_engine_stop [function] [call site] 00190
3 zxc_stream_finish_compress [function] [call site] 00191
4 zxc_write_block_header [function] [call site] 00192
4 fwrite [call site] 00193
4 zxc_seek_table_header [function] [call site] 00194
4 fwrite [call site] 00195
4 zxc_seek_write_group [function] [call site] 00196
4 fwrite [call site] 00197
4 zxc_write_file_footer [function] [call site] 00198
5 zxc_encode_footer [function] [call site] 00199
4 fwrite [call site] 00200
3 fflush [call site] 00201
2 fclose [call site] 00202
2 fclose [call site] 00203
2 __assert_fail [call site] 00204
2 fmemopen [call site] 00205
2 open_memstream [call site] 00206
2 zxc_stream_get_decompressed_size [function] [call site] 00207
2 zxc_stream_decompress [function] [call site] 00208
2 fclose [call site] 00209
2 __assert_fail [call site] 00210
2 __assert_fail [call site] 00211
2 memcmp [call site] 00212
2 __assert_fail [call site] 00213
2 fclose [call site] 00214
2 fclose [call site] 00215