Fuzz introspector: spng_read_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
437 0 EP call site: 00000 spng_decode_image

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 spng_ctx_new [function] [call site] 00001
2 spng_ctx_new2 [function] [call site] 00002
1 fmemopen [call site] 00003
1 spng_set_png_file [function] [call site] 00004
2 spng_set_png_stream [function] [call site] 00005
3 spng__malloc [function] [call site] 00006
2 file_write_fn [function] [call site] 00007
3 fwrite [call site] 00008
2 spng_set_png_stream [function] [call site] 00009
2 file_read_fn [function] [call site] 00010
3 fread [call site] 00011
3 feof [call site] 00012
1 spng_set_png_stream [function] [call site] 00013
1 buffer_read_fn(spng_ctx*, void*, void*, unsigned long) [function] [call site] 00014
1 spng_set_png_buffer [function] [call site] 00015
1 spng_set_image_limits [function] [call site] 00016
1 spng_set_chunk_limits [function] [call site] 00017
1 spng_set_crc_action [function] [call site] 00018
1 spng_set_option [function] [call site] 00019
1 spng_decoded_image_size [function] [call site] 00020
2 read_chunks [function] [call site] 00021
3 read_ihdr [function] [call site] 00022
4 read_data [function] [call site] 00023
4 memcmp [call site] 00024
4 memcmp [call site] 00026
4 check_ihdr [function] [call site] 00044
4 num_channels [function] [call site] 00045
4 calculate_subimages [function] [call site] 00046
5 calculate_scanline_width [function] [call site] 00047
6 num_channels [function] [call site] 00048
3 decode_err [function] [call site] 00049
3 read_non_idat_chunks [function] [call site] 00050
4 read_header [function] [call site] 00051
5 read_and_check_crc [function] [call site] 00052
6 read_data [function] [call site] 00053
6 is_critical_chunk [function] [call site] 00055
5 read_data [function] [call site] 00056
5 is_critical_chunk [function] [call site] 00058
4 memcmp [call site] 00061
4 discard_chunk_bytes [function] [call site] 00062
5 read_chunk_bytes [function] [call site] 00063
5 read_chunk_bytes [function] [call site] 00066
4 is_small_chunk [function] [call site] 00067
5 memcmp [call site] 00068
5 memcmp [call site] 00069
5 memcmp [call site] 00070
5 memcmp [call site] 00071
5 memcmp [call site] 00072
5 memcmp [call site] 00073
5 memcmp [call site] 00074
5 memcmp [call site] 00075
5 memcmp [call site] 00076
5 memcmp [call site] 00077
5 memcmp [call site] 00078
4 read_chunk_bytes [function] [call site] 00079
4 is_critical_chunk [function] [call site] 00080
4 memcmp [call site] 00081
4 check_plte [function] [call site] 00082
4 memcmp [call site] 00083
4 read_and_check_crc [function] [call site] 00084
4 memcmp [call site] 00085
4 memcmp [call site] 00086
4 check_chrm_int [function] [call site] 00095
4 memcmp [call site] 00096
4 memcmp [call site] 00098
4 check_sbit [function] [call site] 00099
4 memcmp [call site] 00100
4 memcmp [call site] 00101
4 memcmp [call site] 00106
4 memcmp [call site] 00111
4 memcmp [call site] 00113
4 check_phys [function] [call site] 00116
4 memcmp [call site] 00117
4 check_time [function] [call site] 00119
4 memcmp [call site] 00120
4 check_offs [function] [call site] 00124
4 memcmp [call site] 00125
4 increase_cache_usage [function] [call site] 00126
4 spng__malloc [function] [call site] 00127
4 read_chunk_bytes2 [function] [call site] 00128
4 spng__free [function] [call site] 00130
4 check_exif [function] [call site] 00131
5 memcmp [call site] 00132
4 spng__free [function] [call site] 00133
4 memcmp [call site] 00134
4 read_chunk_bytes [function] [call site] 00135
4 memchr [call site] 00136
4 check_png_keyword [function] [call site] 00137
5 strlen [call site] 00138
5 strstr [call site] 00139
4 spng__inflate_stream [function] [call site] 00140
5 spng__inflate_init [function] [call site] 00141
6 inflateEnd [function] [call site] 00142
7 inflateStateCheck [function] [call site] 00143
6 inflateInit2_ [function] [call site] 00144
7 inflateReset2 [function] [call site] 00145
8 inflateStateCheck [function] [call site] 00146
8 inflateReset [function] [call site] 00147
9 inflateStateCheck [function] [call site] 00148
9 inflateResetKeep [function] [call site] 00149
10 inflateStateCheck [function] [call site] 00150
6 is_critical_chunk [function] [call site] 00151
6 inflateValidate [function] [call site] 00152
7 inflateStateCheck [function] [call site] 00153
5 spng__malloc [function] [call site] 00154
5 spng__realloc [function] [call site] 00180
5 read_chunk_bytes [function] [call site] 00181
5 spng__realloc [function] [call site] 00182
5 increase_cache_usage [function] [call site] 00183
5 spng__free [function] [call site] 00184
4 memcmp [call site] 00185
4 memcmp [call site] 00186
4 memcmp [call site] 00187
4 increase_cache_usage [function] [call site] 00188
4 spng__realloc [function] [call site] 00189
4 read_chunk_bytes [function] [call site] 00190
4 memchr [call site] 00191
4 memcmp [call site] 00192
4 memcmp [call site] 00193
4 memcmp [call site] 00194
4 memchr [call site] 00195
4 memchr [call site] 00196
4 increase_cache_usage [function] [call site] 00197
4 spng__calloc [function] [call site] 00198
4 spng__inflate_stream [function] [call site] 00199
4 increase_cache_usage [function] [call site] 00200
4 spng__malloc [function] [call site] 00201
4 read_chunk_bytes2 [function] [call site] 00202
4 check_png_keyword [function] [call site] 00203
4 strlen [call site] 00204
4 check_png_text [function] [call site] 00205
4 memcmp [call site] 00206
4 increase_cache_usage [function] [call site] 00207
4 spng__realloc [function] [call site] 00208
4 spng__malloc [function] [call site] 00209
4 read_chunk_bytes2 [function] [call site] 00210
4 memchr [call site] 00211
4 check_png_keyword [function] [call site] 00212
4 strcmp [call site] 00213
4 increase_cache_usage [function] [call site] 00214
4 spng__malloc [function] [call site] 00215
4 spng__free [function] [call site] 00216
4 spng__free [function] [call site] 00223
4 decrease_cache_usage [function] [call site] 00224
4 increase_cache_usage [function] [call site] 00225
4 spng__realloc [function] [call site] 00226
4 spng__malloc [function] [call site] 00227
4 read_chunk_bytes2 [function] [call site] 00228
4 spng__free [function] [call site] 00229
4 discard_chunk_bytes [function] [call site] 00230
3 is_critical_chunk [function] [call site] 00231
3 discard_chunk_bytes [function] [call site] 00232
3 decode_err [function] [call site] 00233
3 decode_err [function] [call site] 00234
3 decode_err [function] [call site] 00235
2 check_decode_fmt [function] [call site] 00236
2 calculate_image_size [function] [call site] 00237
3 calculate_image_width [function] [call site] 00238
4 calculate_scanline_width [function] [call site] 00239
1 spng_get_ihdr [function] [call site] 00240
2 read_chunks [function] [call site] 00241
1 spng_get_plte [function] [call site] 00242
2 read_chunks [function] [call site] 00243
1 spng_get_trns [function] [call site] 00244
2 read_chunks [function] [call site] 00245
1 spng_get_chrm [function] [call site] 00246
2 read_chunks [function] [call site] 00247
1 spng_get_chrm_int [function] [call site] 00248
2 read_chunks [function] [call site] 00249
1 spng_get_gama [function] [call site] 00250
2 read_chunks [function] [call site] 00251
1 spng_get_iccp [function] [call site] 00252
2 read_chunks [function] [call site] 00253
1 spng_get_sbit [function] [call site] 00254
2 read_chunks [function] [call site] 00255
1 spng_get_srgb [function] [call site] 00256
2 read_chunks [function] [call site] 00257
1 spng_get_text [function] [call site] 00258
2 read_chunks [function] [call site] 00259
2 strlen [call site] 00260
1 spng_get_text [function] [call site] 00261
1 memchr [call site] 00262
1 spng_ctx_free [function] [call site] 00263
2 spng__free [function] [call site] 00264
2 spng__free [function] [call site] 00265
2 spng__free [function] [call site] 00266
2 spng__free [function] [call site] 00267
2 spng__free [function] [call site] 00268
2 spng__free [function] [call site] 00269
2 spng__free [function] [call site] 00270
2 spng__free [function] [call site] 00271
2 spng__free [function] [call site] 00272
2 spng__free [function] [call site] 00273
2 deflateEnd [function] [call site] 00274
3 deflateStateCheck [function] [call site] 00275
2 inflateEnd [function] [call site] 00276
2 spng__free [function] [call site] 00277
2 spng__free [function] [call site] 00278
2 spng__free [function] [call site] 00279
2 spng__free [function] [call site] 00280
2 spng__free [function] [call site] 00281
2 spng__free [function] [call site] 00282
1 strlen [call site] 00283
1 spng_get_bkgd [function] [call site] 00284
2 read_chunks [function] [call site] 00285
1 spng_get_hist [function] [call site] 00286
2 read_chunks [function] [call site] 00287
1 spng_get_phys [function] [call site] 00288
2 read_chunks [function] [call site] 00289
1 spng_get_splt [function] [call site] 00290
2 read_chunks [function] [call site] 00291
1 spng_get_splt [function] [call site] 00292
1 memchr [call site] 00293
1 spng_ctx_free [function] [call site] 00294
1 spng_get_unknown_chunks [function] [call site] 00295
2 read_chunks [function] [call site] 00296
1 spng_get_unknown_chunks [function] [call site] 00297
1 spng_ctx_free [function] [call site] 00298
1 spng_decode_image [function] [call site] 00299
2 read_chunks [function] [call site] 00300
2 decode_err [function] [call site] 00301
2 check_decode_fmt [function] [call site] 00302
2 calculate_image_width [function] [call site] 00303
2 decode_err [function] [call site] 00304
2 read_idat_bytes [function] [call site] 00305
3 memcmp [call site] 00306
3 read_header [function] [call site] 00307
3 memcmp [call site] 00308
3 read_chunk_bytes [function] [call site] 00309
2 decode_err [function] [call site] 00310
2 spng__inflate_init [function] [call site] 00312
2 decode_err [function] [call site] 00313
2 spng__malloc [function] [call site] 00314
2 spng__malloc [function] [call site] 00315
2 spng__malloc [function] [call site] 00316
2 decode_err [function] [call site] 00317
2 decode_err [function] [call site] 00318
2 spng__malloc [function] [call site] 00319
2 decode_err [function] [call site] 00320
2 decode_err [function] [call site] 00321
2 pow [call site] 00322
2 decode_err [function] [call site] 00323
2 sample_to_target [function] [call site] 00324
2 sample_to_target [function] [call site] 00325
2 sample_to_target [function] [call site] 00326
2 sample_to_target [function] [call site] 00327
2 decode_err [function] [call site] 00328
2 read_scanline_bytes [function] [call site] 00329
3 read_idat_bytes [function] [call site] 00331
2 decode_err [function] [call site] 00332
2 decode_err [function] [call site] 00333
2 spng_decode_row [function] [call site] 00334
3 spng_decode_scanline [function] [call site] 00335
4 spng__iter_init [function] [call site] 00336
4 read_scanline [function] [call site] 00337
5 read_scanline_bytes [function] [call site] 00338
5 read_scanline_bytes [function] [call site] 00339
5 u16_row_to_host [function] [call site] 00340
5 defilter_scanline [function] [call site] 00342
6 defilter_up [function] [call site] 00388
4 decode_err [function] [call site] 00390
4 unpack_scanline [function] [call site] 00391
5 spng__iter_init [function] [call site] 00392
5 get_sample [function] [call site] 00393
5 get_sample [function] [call site] 00394
5 get_sample [function] [call site] 00395
4 rgb8_row_to_rgba8 [function] [call site] 00396
4 expand_row [function] [call site] 00397
4 get_sample [function] [call site] 00398
4 get_sample [function] [call site] 00399
4 trns_row [function] [call site] 00400
5 memcmp [call site] 00401
5 memcmp [call site] 00402
5 memcmp [call site] 00403
5 spng__iter_init [function] [call site] 00404
5 get_sample [function] [call site] 00405
5 memcmp [call site] 00406
5 spng__iter_init [function] [call site] 00407
5 get_sample [function] [call site] 00408
4 scale_row [function] [call site] 00409
5 sample_to_target [function] [call site] 00410
5 sample_to_target [function] [call site] 00411
5 sample_to_target [function] [call site] 00412
5 sample_to_target [function] [call site] 00413
5 sample_to_target [function] [call site] 00414
5 sample_to_target [function] [call site] 00415
5 sample_to_target [function] [call site] 00416
5 sample_to_target [function] [call site] 00417
5 sample_to_target [function] [call site] 00418
5 sample_to_target [function] [call site] 00419
5 sample_to_target [function] [call site] 00420
5 sample_to_target [function] [call site] 00421
5 sample_to_target [function] [call site] 00422
4 gamma_correct_row [function] [call site] 00423
4 update_row_info [function] [call site] 00424
4 discard_chunk_bytes [function] [call site] 00425
4 decode_err [function] [call site] 00426
3 spng_decode_scanline [function] [call site] 00427
3 spng__iter_init [function] [call site] 00428
3 get_sample [function] [call site] 00429
2 decode_err [function] [call site] 00430
1 spng_get_row_info [function] [call site] 00431
1 spng_decode_row [function] [call site] 00432
1 spng_decode_image [function] [call site] 00433
1 spng_get_time [function] [call site] 00434
2 read_chunks [function] [call site] 00435
1 spng_ctx_free [function] [call site] 00436
1 fclose [call site] 00437