Fuzz introspector: zstd_fuzzer
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
300 0 EP call site: 00000 CCtx::set_parameter

Fuzzer calltree

0 fuzz_target [function] [call site] 00000
1 std::cmp::min [function] [call site] 00001
1 zstd_safe::compress [function] [call site] 00003
2 zstd_sys::ZSTD_compressBound [function] [call site] 00004
2 zstd_sys::ZSTD_compress [function] [call site] 00006
2 std::io::Cursor::as_mut_ptr [function] [call site] 00007
3 std::io::Cursor::position [function] [call site] 00008
3 std::io::Cursor::get_mut [function] [call site] 00009
4 test_cycle_unwrap [function] [call site] 00011
5 test_cycle [function] [call site] 00012
6 Encoder::new [function] [call site] 00013
7 zstd_safe::CCtx::in_size [function] [call site] 00014
8 zstd_sys::ZSTD_CStreamInSize [function] [call site] 00015
7 Writer::with_buffer [function] [call site] 00016
8 OutBuffer::around [function] [call site] 00018
8 CCtx::sizeof [function] [call site] 00019
9 zstd_sys::ZSTD_sizeof_CCtx [function] [call site] 00020
7 Writer::new_with_capacity [function] [call site] 00022
8 Writer::with_output_buffer [function] [call site] 00023
8 Writer::new_with_capacity [function] [call site] 00024
9 Writer::with_output_buffer [function] [call site] 00025
9 Writer::new_with_capacity [function] [call site] 00026
6 io::Result::unwrap [function] [call site] 00027
7 test_cycle [function] [call site] 00028
7 CCtx::sizeof [function] [call site] 00029
7 usize::unwrap [function] [call site] 00030
8 test_cycle [function] [call site] 00031
8 CCtx::sizeof [function] [call site] 00032
8 usize::unwrap [function] [call site] 00033
8 pkg_config [function] [call site] 00034
9 pkg_config::Config::new [function] [call site] 00035
10 ThreadPool::try_new [function] [call site] 00036
11 ThreadPool::new [function] [call site] 00039
12 ThreadPool::try_new [function] [call site] 00040
12 Option::expect [function] [call site] 00041
11 zstd_sys::ZSTD_createThreadPool [function] [call site] 00042
10 Option::expect [function] [call site] 00043
9 Self::statik [function] [call site] 00044
9 cargo_metadata [function] [call site] 00045
8 (Vec::unwrap [function] [call site] 00048
9 test_cycle [function] [call site] 00049
9 CCtx::sizeof [function] [call site] 00050
9 usize::unwrap [function] [call site] 00051
9 pkg_config [function] [call site] 00052
9 (Vec::unwrap [function] [call site] 00053
7 pkg_config [function] [call site] 00054
7 (Vec::unwrap [function] [call site] 00055
6 ThreadPool::new [function] [call site] 00056
7 ThreadPool::try_new [function] [call site] 00057
7 Option::expect [function] [call site] 00058
6 read_to_end [function] [call site] 00059
6 test_cycle_unwrap [function] [call site] 00060
6 Decoder::new [function] [call site] 00061
7 zstd_safe::DCtx::in_size [function] [call site] 00062
8 zstd_sys::ZSTD_DStreamInSize [function] [call site] 00063
7 Writer::with_buffer [function] [call site] 00064
7 Writer::new_with_capacity [function] [call site] 00065
6 io::Result::unwrap [function] [call site] 00066
6 ThreadPool::new [function] [call site] 00067
6 Self::read_to_end [function] [call site] 00068
6 test_cycle_unwrap [function] [call site] 00069
5 CCtx::sizeof [function] [call site] 00070
5 usize::unwrap [function] [call site] 00071
5 pkg_config [function] [call site] 00072
5 (Vec::unwrap [function] [call site] 00073
4 AutoFlushDecoder::get_mut [function] [call site] 00074
5 test_cycle_unwrap [function] [call site] 00076
5 AutoFlushDecoder::get_mut [function] [call site] 00077
3 std::io::Cursor::as_mut_ptr [function] [call site] 00078
4 std::io::Cursor::position [function] [call site] 00079
4 std::io::Cursor::get_mut [function] [call site] 00080
4 std::io::Cursor::as_mut_ptr [function] [call site] 00081
4 *mut [call site] 00082
3 *mut [call site] 00083
2 zstd_check [function] [call site] 00089
3 zstd_sys::ZSTD_isError [function] [call site] 00090
2 zstd_sys::ZSTD_getFrameContentSize [function] [call site] 00091
2 test_cycle_unwrap [function] [call site] 00096
2 zstd_sys::ZSTD_decompress [function] [call site] 00097
2 std::io::Cursor::as_mut_ptr [function] [call site] 00098
2 zstd_check [function] [call site] 00104
1 zstd_safe::decompress [function] [call site] 00105
2 fs::File::open [function] [call site] 00106
2 zstd::Decoder::new [function] [call site] 00107
3 zstd_safe::DCtx::in_size [function] [call site] 00108
3 Writer::with_buffer [function] [call site] 00109
3 Writer::new_with_capacity [function] [call site] 00110
2 fs::File::create [function] [call site] 00111
3 ThreadPool::new [function] [call site] 00114
3 zstd_sys::ZSTD_createCCtx [function] [call site] 00115
2 trim_end_matches [function] [call site] 00116
2 EncoderDictionary::copy [function] [call site] 00117
3 zstd_safe::create_cdict [function] [call site] 00118
4 CDict::create [function] [call site] 00119
5 CCtx::try_create [function] [call site] 00120
6 ThreadPool::new [function] [call site] 00123
6 zstd_sys::ZSTD_createCCtx [function] [call site] 00124
5 Option::expect [function] [call site] 00125
1 io::Result::unwrap_or_else [function] [call site] 00127
1 zstd_safe::CCtx::default [function] [call site] 00128
2 CCtx::create [function] [call site] 00129
3 CCtx::try_create [function] [call site] 00130
3 Option::expect [function] [call site] 00131
1 Self::compress [function] [call site] 00132
2 zstd_sys::ZSTD_compressBound [function] [call site] 00133
2 zstd_sys::ZSTD_compress [function] [call site] 00135
2 std::io::Cursor::as_mut_ptr [function] [call site] 00136
2 zstd_check [function] [call site] 00142
2 zstd_sys::ZSTD_getFrameContentSize [function] [call site] 00143
2 test_cycle_unwrap [function] [call site] 00148
2 zstd_sys::ZSTD_decompress [function] [call site] 00149
2 std::io::Cursor::as_mut_ptr [function] [call site] 00150
2 zstd_check [function] [call site] 00156
1 zstd_safe::DCtx::default [function] [call site] 00157
2 DCtx::create [function] [call site] 00158
3 CCtx::try_create [function] [call site] 00159
3 Option::expect [function] [call site] 00160
1 Self::decompress [function] [call site] 00161
2 fs::File::open [function] [call site] 00162
2 zstd::Decoder::new [function] [call site] 00163
2 fs::File::create [function] [call site] 00164
2 trim_end_matches [function] [call site] 00165
2 EncoderDictionary::copy [function] [call site] 00166
1 io::Result::unwrap_or_else [function] [call site] 00168
1 zstd_safe::CCtx::default [function] [call site] 00169
1 CCtx::compress_using_dict [function] [call site] 00170
2 WriteBuf::write_from [function] [call site] 00171
3 CCtx::sizeof [function] [call site] 00172
3 ptr_mut_void [function] [call site] 00173
4 std::io::Cursor::as_mut_ptr [function] [call site] 00174
5 std::io::Cursor::position [function] [call site] 00175
5 std::io::Cursor::get_mut [function] [call site] 00176
5 std::io::Cursor::as_mut_ptr [function] [call site] 00177
5 *mut [call site] 00178
3 std::io::Cursor::capacity [function] [call site] 00179
4 std::io::Cursor::get_ref [function] [call site] 00180
5 test_cycle_unwrap [function] [call site] 00182
5 AutoFlushDecoder::get_ref [function] [call site] 00183
6 test_cycle_unwrap [function] [call site] 00185
6 AutoFlushDecoder::get_ref [function] [call site] 00186
4 std::io::Cursor::capacity [function] [call site] 00187
5 std::io::Cursor::get_ref [function] [call site] 00188
5 std::io::Cursor::capacity [function] [call site] 00189
5 usize::saturating_sub [function] [call site] 00190
5 std::io::Cursor::position [function] [call site] 00191
4 usize::saturating_sub [function] [call site] 00192
4 std::io::Cursor::position [function] [call site] 00193
3 std::io::Cursor::filled_until [function] [call site] 00194
4 std::io::Cursor::position [function] [call site] 00195
4 std::io::Cursor::get_ref [function] [call site] 00196
4 std::io::Cursor::as_slice [function] [call site] 00197
5 std::io::Cursor::get_ref [function] [call site] 00198
5 std::io::Cursor::as_slice [function] [call site] 00199
5 std::io::Cursor::position [function] [call site] 00200
4 &[u8]::len [function] [call site] 00201
4 usize::checked_sub [function] [call site] 00202
4 std::io::Cursor::get_mut [function] [call site] 00203
4 std::io::Cursor::as_mut_ptr [function] [call site] 00204
4 *mut [call site] 00205
4 write_bytes [function] [call site] 00206
4 std::io::Cursor::position [function] [call site] 00207
4 std::io::Cursor::get_mut [function] [call site] 00208
4 std::io::Cursor::filled_until [function] [call site] 00209
5 std::io::Cursor::position [function] [call site] 00210
5 std::io::Cursor::get_ref [function] [call site] 00211
5 std::io::Cursor::as_slice [function] [call site] 00212
5 &[u8]::len [function] [call site] 00213
5 usize::checked_sub [function] [call site] 00214
5 std::io::Cursor::get_mut [function] [call site] 00215
5 std::io::Cursor::as_mut_ptr [function] [call site] 00216
5 *mut [call site] 00217
5 write_bytes [function] [call site] 00218
5 std::io::Cursor::position [function] [call site] 00219
5 std::io::Cursor::get_mut [function] [call site] 00220
5 std::io::Cursor::filled_until [function] [call site] 00221
2 zstd_sys::ZSTD_compress_usingDict [function] [call site] 00227
2 ptr_void [function] [call site] 00229
3 &[u8]::as_ptr [function] [call site] 00230
2 &[u8]::len [function] [call site] 00231
2 SafeResult::len [function] [call site] 00233
1 zstd_safe::DCtx::default [function] [call site] 00234
1 DCtx::decompress_using_dict [function] [call site] 00235
2 WriteBuf::write_from [function] [call site] 00236
2 parse_code [function] [call site] 00237
2 zstd_sys::ZSTD_decompress_usingDict [function] [call site] 00238
2 &[u8]::len [function] [call site] 00241
2 SafeResult::len [function] [call site] 00243
1 SafeResult::unwrap_or_else [function] [call site] 00244
1 zstd_safe::CCtx::default [function] [call site] 00245
1 zstd_safe::DCtx::default [function] [call site] 00246
1 zstd_safe::InBuffer::around [function] [call site] 00247
1 zstd_safe::OutBuffer::around [function] [call site] 00248
1 CCtx::compress_stream [function] [call site] 00249
2 OutBuffer::wrap [function] [call site] 00250
3 ptr_mut_void [function] [call site] 00251
3 std::io::Cursor::capacity [function] [call site] 00252
4 std::io::Cursor::get_ref [function] [call site] 00253
4 std::io::Cursor::capacity [function] [call site] 00254
4 usize::saturating_sub [function] [call site] 00255
4 std::io::Cursor::position [function] [call site] 00256
2 OutBuffer::wrap [function] [call site] 00257
2 zstd_sys::ZSTD_compressStream [function] [call site] 00258
2 parse_code [function] [call site] 00262
1 zstd_safe::OutBuffer::around [function] [call site] 00263
1 zstd_safe::InBuffer::around [function] [call site] 00264
1 std::io::Cursor::as_slice [function] [call site] 00265
2 std::io::Cursor::get_ref [function] [call site] 00266
2 std::io::Cursor::as_slice [function] [call site] 00267
2 std::io::Cursor::position [function] [call site] 00268
1 DCtx::decompress_stream [function] [call site] 00269
2 OutBuffer::wrap [function] [call site] 00270
2 OutBuffer::wrap [function] [call site] 00271
2 zstd_sys::ZSTD_decompressStream [function] [call site] 00272
2 parse_code [function] [call site] 00276
1 SafeResult::unwrap_or_else [function] [call site] 00277
1 zstd_safe::CCtx::default [function] [call site] 00278
1 CCtx::set_parameter [function] [call site] 00279
2 parse_code [function] [call site] 00280
2 zstd_sys::ZSTD_CCtx_setParameter [function] [call site] 00281
1 zstd_safe::CParameter::ChecksumFlag [function] [call site] 00283
1 CCtx::compress2 [function] [call site] 00284
2 WriteBuf::write_from [function] [call site] 00285
2 parse_code [function] [call site] 00286
2 zstd_sys::ZSTD_compress2 [function] [call site] 00287
2 &[u8]::len [function] [call site] 00290
1 zstd_safe::DCtx::default [function] [call site] 00291
1 Self::decompress [function] [call site] 00292
1 io::Result::unwrap_or_else [function] [call site] 00293
1 zstd_safe::compress [function] [call site] 00294
1 wrapping_add [function] [call site] 00297
1 zstd_safe::DCtx::default [function] [call site] 00298
1 Self::decompress [function] [call site] 00299
1 io::Result::unwrap_or_else [function] [call site] 00300