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

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
0 0 None 0 9 FUZZ_dataProducer_int32Range call site: 00007 /src/zstd/tests/fuzz/fuzz_data_producer.c:60
0 0 None 0 0 HUF_DEltX1_set4 call site: 00125 /src/zstd/lib/decompress/huf_decompress.c:337
0 0 None 0 0 HUF_buildDEltX2U32 call site: 00147 /src/zstd/lib/decompress/huf_decompress.c:968
0 0 None 0 0 HUF_decompress4X2_usingDTable_internal_fast call site: 00275 /src/zstd/lib/decompress/huf_decompress.c:1710
0 0 None 0 0 HUF_DecompressFastArgs_init call site: 00247 /src/zstd/lib/decompress/huf_decompress.c:203
0 0 None 0 0 HUF_initRemainingDStream call site: 00270 /src/zstd/lib/decompress/huf_decompress.c:284
0 0 None 0 0 FUZZ_dataProducer_uint32Range call site: 00010 /src/zstd/tests/fuzz/fuzz_data_producer.c:44

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 FUZZ_dataProducer_create [function] [call site] 00001
2 FUZZ_malloc [function] [call site] 00002
3 fprintf [call site] 00003
3 abort [call site] 00004
1 FUZZ_dataProducer_int32Range [function] [call site] 00005
2 fprintf [call site] 00006
2 abort [call site] 00007
2 FUZZ_dataProducer_uint32Range [function] [call site] 00008
3 fprintf [call site] 00009
3 abort [call site] 00010
2 FUZZ_dataProducer_uint32Range [function] [call site] 00011
1 FUZZ_dataProducer_int32Range [function] [call site] 00012
1 ZSTD_cpuid [function] [call site] 00013
1 ZSTD_cpuid_bmi2 [function] [call site] 00014
1 FUZZ_dataProducer_int32Range [function] [call site] 00015
1 FUZZ_dataProducer_int32Range [function] [call site] 00016
1 FUZZ_dataProducer_int32Range [function] [call site] 00017
1 FUZZ_dataProducer_int32Range [function] [call site] 00018
1 FUZZ_dataProducer_int32Range [function] [call site] 00019
1 FUZZ_dataProducer_int32Range [function] [call site] 00020
1 FUZZ_dataProducer_uint32Range [function] [call site] 00021
1 FUZZ_dataProducer_uint32Range [function] [call site] 00022
1 FUZZ_malloc [function] [call site] 00023
1 FUZZ_malloc [function] [call site] 00024
1 FUZZ_malloc [function] [call site] 00025
1 FUZZ_dataProducer_remainingBytes [function] [call site] 00026
1 HUF_readDTableX1_wksp [function] [call site] 00027
2 HUF_readStats_wksp [function] [call site] 00028
3 HUF_readStats_body_bmi2 [function] [call site] 00029
4 FSE_decompress_wksp_bmi2 [function] [call site] 00030
5 FSE_decompress_wksp_body_bmi2 [function] [call site] 00031
6 FSE_readNCount_bmi2 [function] [call site] 00032
7 FSE_readNCount_body_bmi2 [function] [call site] 00033
8 FSE_readNCount [function] [call site] 00034
9 FSE_readNCount_bmi2 [function] [call site] 00035
10 FSE_readNCount_body_default [function] [call site] 00036
11 FSE_readNCount [function] [call site] 00037
11 FSE_isError [function] [call site] 00038
12 ERR_isError [function] [call site] 00039
11 MEM_readLE32 [function] [call site] 00040
12 MEM_isLittleEndian [function] [call site] 00041
12 MEM_read32 [function] [call site] 00042
12 MEM_read32 [function] [call site] 00043
12 MEM_swap32 [function] [call site] 00044
11 __assert_fail [call site] 00045
11 ZSTD_countTrailingZeros32 [function] [call site] 00046
12 __assert_fail [call site] 00047
11 ZSTD_highbit32 [function] [call site] 00048
12 __assert_fail [call site] 00049
12 ZSTD_countLeadingZeros32 [function] [call site] 00050
13 __assert_fail [call site] 00051
8 FSE_isError [function] [call site] 00052
8 MEM_readLE32 [function] [call site] 00053
8 __assert_fail [call site] 00054
8 ZSTD_countTrailingZeros32 [function] [call site] 00055
8 ZSTD_highbit32 [function] [call site] 00056
6 ERR_isError [function] [call site] 00057
6 __assert_fail [call site] 00058
6 FSE_buildDTable_internal [function] [call site] 00059
7 MEM_write64 [function] [call site] 00060
7 MEM_write64 [function] [call site] 00061
7 __assert_fail [call site] 00062
7 __assert_fail [call site] 00063
7 ZSTD_highbit32 [function] [call site] 00064
6 BIT_initDStream [function] [call site] 00065
7 MEM_readLEST [function] [call site] 00066
8 MEM_32bits [function] [call site] 00067
8 MEM_readLE32 [function] [call site] 00068
8 MEM_readLE64 [function] [call site] 00069
9 MEM_isLittleEndian [function] [call site] 00070
9 MEM_read64 [function] [call site] 00071
9 MEM_read64 [function] [call site] 00072
9 MEM_swap64 [function] [call site] 00073
7 ZSTD_highbit32 [function] [call site] 00074
7 ZSTD_highbit32 [function] [call site] 00075
6 ERR_isError [function] [call site] 00076
6 FSE_initDState [function] [call site] 00077
7 __assert_fail [call site] 00078
7 __assert_fail [call site] 00079
7 BIT_reloadDStream_internal [function] [call site] 00080
8 __assert_fail [call site] 00081
8 __assert_fail [call site] 00082
8 MEM_readLEST [function] [call site] 00083
7 MEM_readLEST [function] [call site] 00084
6 __assert_fail [call site] 00085
6 BIT_reloadDStream_internal [function] [call site] 00086
6 MEM_readLEST [function] [call site] 00087
6 __assert_fail [call site] 00088
6 BIT_reloadDStream_internal [function] [call site] 00089
6 MEM_readLEST [function] [call site] 00090
6 FSE_decodeSymbolFast [function] [call site] 00091
7 BIT_readBitsFast [function] [call site] 00092
8 BIT_lookBitsFast [function] [call site] 00093
9 __assert_fail [call site] 00094
8 __assert_fail [call site] 00095
6 FSE_decodeSymbol [function] [call site] 00096
6 __assert_fail [call site] 00097
6 BIT_reloadDStream_internal [function] [call site] 00098
6 MEM_readLEST [function] [call site] 00099
6 __assert_fail [call site] 00100
6 BIT_reloadDStream_internal [function] [call site] 00101
6 MEM_readLEST [function] [call site] 00102
6 __assert_fail [call site] 00103
6 BIT_initDStream [function] [call site] 00104
6 ERR_isError [function] [call site] 00105
6 FSE_initDState [function] [call site] 00106
6 FSE_decodeSymbolFast [function] [call site] 00107
6 FSE_decodeSymbol [function] [call site] 00108
6 __assert_fail [call site] 00109
5 FSE_decompress_wksp_body_default [function] [call site] 00110
6 FSE_readNCount_bmi2 [function] [call site] 00111
6 ERR_isError [function] [call site] 00112
6 __assert_fail [call site] 00113
6 FSE_buildDTable_internal [function] [call site] 00114
4 FSE_isError [function] [call site] 00115
4 ZSTD_highbit32 [function] [call site] 00116
3 HUF_readStats_body_default [function] [call site] 00117
4 FSE_decompress_wksp_bmi2 [function] [call site] 00118
4 FSE_isError [function] [call site] 00119
4 ZSTD_highbit32 [function] [call site] 00120
2 ERR_isError [function] [call site] 00121
2 HUF_getDTableDesc [function] [call site] 00122
2 HUF_rescaleStats [function] [call site] 00123
2 HUF_DEltX1_set4 [function] [call site] 00124
3 MEM_isLittleEndian [function] [call site] 00125
3 __assert_fail [call site] 00126
2 MEM_write64 [function] [call site] 00127
2 HUF_DEltX1_set4 [function] [call site] 00128
2 MEM_write64 [function] [call site] 00129
2 MEM_write64 [function] [call site] 00130
2 HUF_DEltX1_set4 [function] [call site] 00131
2 MEM_write64 [function] [call site] 00132
2 MEM_write64 [function] [call site] 00133
2 MEM_write64 [function] [call site] 00134
2 MEM_write64 [function] [call site] 00135
2 __assert_fail [call site] 00136
1 ZSTD_isError [function] [call site] 00137
2 ERR_isError [function] [call site] 00138
1 HUF_readDTableX2_wksp [function] [call site] 00139
2 HUF_getDTableDesc [function] [call site] 00140
2 HUF_readStats_wksp [function] [call site] 00141
2 ERR_isError [function] [call site] 00142
2 HUF_fillDTableX2 [function] [call site] 00143
3 HUF_fillDTableX2Level2 [function] [call site] 00144
4 HUF_buildDEltX2U64 [function] [call site] 00145
5 HUF_buildDEltX2U32 [function] [call site] 00146
6 MEM_isLittleEndian [function] [call site] 00147
4 __assert_fail [call site] 00148
4 __assert_fail [call site] 00149
4 __assert_fail [call site] 00150
4 __assert_fail [call site] 00151
4 HUF_fillDTableX2ForWeight [function] [call site] 00152
5 __assert_fail [call site] 00153
5 HUF_buildDEltX2 [function] [call site] 00154
6 HUF_buildDEltX2U32 [function] [call site] 00155
5 HUF_buildDEltX2 [function] [call site] 00156
5 HUF_buildDEltX2U64 [function] [call site] 00157
5 HUF_buildDEltX2U64 [function] [call site] 00158
5 HUF_buildDEltX2U64 [function] [call site] 00159
3 HUF_fillDTableX2ForWeight [function] [call site] 00160
1 ZSTD_isError [function] [call site] 00161
1 HUF_decompress1X_usingDTable [function] [call site] 00162
2 HUF_getDTableDesc [function] [call site] 00163
2 HUF_decompress1X2_usingDTable_internal [function] [call site] 00164
3 HUF_decompress1X2_usingDTable_internal_bmi2 [function] [call site] 00165
4 BIT_initDStream [function] [call site] 00166
5 MEM_readLEST [function] [call site] 00167
6 MEM_32bits [function] [call site] 00168
6 MEM_readLE32 [function] [call site] 00169
7 MEM_isLittleEndian [function] [call site] 00170
7 MEM_read32 [function] [call site] 00171
7 MEM_read32 [function] [call site] 00172
7 MEM_swap32 [function] [call site] 00173
6 MEM_readLE64 [function] [call site] 00174
7 MEM_isLittleEndian [function] [call site] 00175
7 MEM_read64 [function] [call site] 00176
7 MEM_read64 [function] [call site] 00177
7 MEM_swap64 [function] [call site] 00178
5 ZSTD_highbit32 [function] [call site] 00179
6 ZSTD_countLeadingZeros32 [function] [call site] 00180
5 ZSTD_highbit32 [function] [call site] 00181
4 ERR_isError [function] [call site] 00182
4 ZSTD_maybeNullPtrAdd [function] [call site] 00183
4 HUF_getDTableDesc [function] [call site] 00184
4 MEM_64bits [function] [call site] 00185
4 __assert_fail [call site] 00186
4 BIT_reloadDStream_internal [function] [call site] 00187
5 MEM_readLEST [function] [call site] 00188
4 MEM_readLEST [function] [call site] 00189
4 BIT_lookBitsFast [function] [call site] 00190
4 BIT_lookBitsFast [function] [call site] 00191
4 BIT_lookBitsFast [function] [call site] 00192
4 BIT_lookBitsFast [function] [call site] 00193
4 BIT_lookBitsFast [function] [call site] 00194
4 __assert_fail [call site] 00195
4 BIT_reloadDStream_internal [function] [call site] 00196
4 MEM_readLEST [function] [call site] 00197
4 BIT_lookBitsFast [function] [call site] 00198
4 BIT_lookBitsFast [function] [call site] 00199
4 BIT_lookBitsFast [function] [call site] 00200
4 BIT_lookBitsFast [function] [call site] 00201
4 __assert_fail [call site] 00202
4 BIT_reloadDStream_internal [function] [call site] 00203
4 MEM_readLEST [function] [call site] 00204
4 __assert_fail [call site] 00205
4 BIT_reloadDStream_internal [function] [call site] 00206
4 MEM_readLEST [function] [call site] 00207
4 BIT_lookBitsFast [function] [call site] 00208
4 BIT_lookBitsFast [function] [call site] 00209
4 BIT_lookBitsFast [function] [call site] 00210
4 BIT_endOfDStream [function] [call site] 00211
3 HUF_decompress1X2_usingDTable_internal_default [function] [call site] 00212
2 HUF_decompress1X1_usingDTable_internal [function] [call site] 00213
3 HUF_decompress1X1_usingDTable_internal_bmi2 [function] [call site] 00214
4 ZSTD_maybeNullPtrAdd [function] [call site] 00215
4 HUF_getDTableDesc [function] [call site] 00216
4 BIT_initDStream [function] [call site] 00217
4 ERR_isError [function] [call site] 00218
4 __assert_fail [call site] 00219
4 BIT_reloadDStream_internal [function] [call site] 00220
4 MEM_readLEST [function] [call site] 00221
4 MEM_64bits [function] [call site] 00222
4 BIT_lookBitsFast [function] [call site] 00223
4 BIT_lookBitsFast [function] [call site] 00224
4 BIT_lookBitsFast [function] [call site] 00225
4 BIT_lookBitsFast [function] [call site] 00226
4 __assert_fail [call site] 00227
4 BIT_reloadDStream_internal [function] [call site] 00228
4 MEM_readLEST [function] [call site] 00229
4 MEM_32bits [function] [call site] 00230
4 __assert_fail [call site] 00231
4 BIT_reloadDStream_internal [function] [call site] 00232
4 MEM_readLEST [function] [call site] 00233
4 BIT_lookBitsFast [function] [call site] 00234
4 BIT_lookBitsFast [function] [call site] 00235
4 BIT_endOfDStream [function] [call site] 00236
3 HUF_decompress1X1_usingDTable_internal_default [function] [call site] 00237
1 HUF_decompress4X_usingDTable [function] [call site] 00238
2 HUF_getDTableDesc [function] [call site] 00239
2 HUF_decompress4X2_usingDTable_internal [function] [call site] 00240
3 HUF_decompress4X2_usingDTable_internal_fast [function] [call site] 00241
4 ZSTD_maybeNullPtrAdd [function] [call site] 00242
4 HUF_DecompressFastArgs_init [function] [call site] 00243
5 HUF_getDTableDesc [function] [call site] 00244
5 ZSTD_maybeNullPtrAdd [function] [call site] 00245
5 MEM_isLittleEndian [function] [call site] 00246
5 MEM_32bits [function] [call site] 00247
5 __assert_fail [call site] 00248
5 MEM_readLE16 [function] [call site] 00249
6 MEM_isLittleEndian [function] [call site] 00250
6 MEM_read16 [function] [call site] 00251
5 MEM_readLE16 [function] [call site] 00252
5 MEM_readLE16 [function] [call site] 00253
5 HUF_initFastDStream [function] [call site] 00254
6 ZSTD_highbit32 [function] [call site] 00255
6 MEM_readLEST [function] [call site] 00256
6 __assert_fail [call site] 00257
5 HUF_initFastDStream [function] [call site] 00258
5 HUF_initFastDStream [function] [call site] 00259
5 HUF_initFastDStream [function] [call site] 00260
4 ERR_isError [function] [call site] 00261
4 __assert_fail [call site] 00262
4 __assert_fail [call site] 00263
4 __assert_fail [call site] 00264
4 __assert_fail [call site] 00265
4 __assert_fail [call site] 00266
4 __assert_fail [call site] 00267
4 __assert_fail [call site] 00268
4 __assert_fail [call site] 00269
4 HUF_initRemainingDStream [function] [call site] 00270
5 MEM_readLEST [function] [call site] 00271
5 ZSTD_countTrailingZeros64 [function] [call site] 00272
6 __assert_fail [call site] 00273
4 ERR_isError [function] [call site] 00274
4 MEM_64bits [function] [call site] 00275
2 HUF_decompress4X1_usingDTable_internal [function] [call site] 00276
3 HUF_decompress4X1_usingDTable_internal_fast [function] [call site] 00277
4 ZSTD_maybeNullPtrAdd [function] [call site] 00278
4 HUF_DecompressFastArgs_init [function] [call site] 00279
4 ERR_isError [function] [call site] 00280
4 __assert_fail [call site] 00281
4 __assert_fail [call site] 00282
4 __assert_fail [call site] 00283
4 __assert_fail [call site] 00284
4 __assert_fail [call site] 00285
4 __assert_fail [call site] 00286
4 __assert_fail [call site] 00287
4 __assert_fail [call site] 00288
4 __assert_fail [call site] 00289
4 HUF_initRemainingDStream [function] [call site] 00290
4 ERR_isError [function] [call site] 00291
4 MEM_64bits [function] [call site] 00292
4 MEM_32bits [function] [call site] 00293
4 __assert_fail [call site] 00294
1 FUZZ_dataProducer_free [function] [call site] 00295