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
448 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] 00051
4 num_channels [function] [call site] 00052
4 calculate_subimages [function] [call site] 00053
5 calculate_scanline_width [function] [call site] 00054
6 num_channels [function] [call site] 00055
3 decode_err [function] [call site] 00056
3 read_non_idat_chunks [function] [call site] 00057
4 read_header [function] [call site] 00058
5 read_and_check_crc [function] [call site] 00059
6 read_data [function] [call site] 00060
6 is_critical_chunk [function] [call site] 00062
5 read_data [function] [call site] 00063
5 is_critical_chunk [function] [call site] 00065
4 memcmp [call site] 00068
4 discard_chunk_bytes [function] [call site] 00069
5 read_chunk_bytes [function] [call site] 00070
5 read_chunk_bytes [function] [call site] 00073
4 is_small_chunk [function] [call site] 00074
5 memcmp [call site] 00075
5 memcmp [call site] 00076
5 memcmp [call site] 00077
5 memcmp [call site] 00078
5 memcmp [call site] 00079
5 memcmp [call site] 00080
5 memcmp [call site] 00081
5 memcmp [call site] 00082
5 memcmp [call site] 00083
5 memcmp [call site] 00084
5 memcmp [call site] 00085
4 read_chunk_bytes [function] [call site] 00086
4 is_critical_chunk [function] [call site] 00087
4 memcmp [call site] 00088
4 check_plte [function] [call site] 00089
4 memcmp [call site] 00090
4 read_and_check_crc [function] [call site] 00091
4 memcmp [call site] 00092
4 memcmp [call site] 00093
4 check_chrm_int [function] [call site] 00102
4 memcmp [call site] 00103
4 memcmp [call site] 00105
4 check_sbit [function] [call site] 00106
4 memcmp [call site] 00107
4 memcmp [call site] 00108
4 memcmp [call site] 00113
4 memcmp [call site] 00118
4 memcmp [call site] 00120
4 check_phys [function] [call site] 00123
4 memcmp [call site] 00124
4 check_time [function] [call site] 00126
4 memcmp [call site] 00127
4 check_offs [function] [call site] 00131
4 memcmp [call site] 00132
4 increase_cache_usage [function] [call site] 00133
4 spng__malloc [function] [call site] 00134
4 read_chunk_bytes2 [function] [call site] 00135
4 spng__free [function] [call site] 00137
4 check_exif [function] [call site] 00138
5 memcmp [call site] 00139
4 spng__free [function] [call site] 00140
4 memcmp [call site] 00141
4 read_chunk_bytes [function] [call site] 00142
4 memchr [call site] 00143
4 check_png_keyword [function] [call site] 00144
5 strlen [call site] 00145
5 strstr [call site] 00146
4 spng__inflate_stream [function] [call site] 00147
5 spng__inflate_init [function] [call site] 00148
6 inflateEnd [function] [call site] 00149
7 inflateStateCheck [function] [call site] 00150
6 inflateInit2_ [function] [call site] 00151
7 inflateReset2 [function] [call site] 00152
8 inflateStateCheck [function] [call site] 00153
8 inflateReset [function] [call site] 00154
9 inflateStateCheck [function] [call site] 00155
9 inflateResetKeep [function] [call site] 00156
10 inflateStateCheck [function] [call site] 00157
6 is_critical_chunk [function] [call site] 00158
6 inflateValidate [function] [call site] 00159
7 inflateStateCheck [function] [call site] 00160
5 spng__malloc [function] [call site] 00161
5 spng__realloc [function] [call site] 00191
5 read_chunk_bytes [function] [call site] 00192
5 spng__realloc [function] [call site] 00193
5 increase_cache_usage [function] [call site] 00194
5 spng__free [function] [call site] 00195
4 memcmp [call site] 00196
4 memcmp [call site] 00197
4 memcmp [call site] 00198
4 increase_cache_usage [function] [call site] 00199
4 spng__realloc [function] [call site] 00200
4 read_chunk_bytes [function] [call site] 00201
4 memchr [call site] 00202
4 memcmp [call site] 00203
4 memcmp [call site] 00204
4 memcmp [call site] 00205
4 memchr [call site] 00206
4 memchr [call site] 00207
4 increase_cache_usage [function] [call site] 00208
4 spng__calloc [function] [call site] 00209
4 spng__inflate_stream [function] [call site] 00210
4 increase_cache_usage [function] [call site] 00211
4 spng__malloc [function] [call site] 00212
4 read_chunk_bytes2 [function] [call site] 00213
4 check_png_keyword [function] [call site] 00214
4 strlen [call site] 00215
4 check_png_text [function] [call site] 00216
4 memcmp [call site] 00217
4 increase_cache_usage [function] [call site] 00218
4 spng__realloc [function] [call site] 00219
4 spng__malloc [function] [call site] 00220
4 read_chunk_bytes2 [function] [call site] 00221
4 memchr [call site] 00222
4 check_png_keyword [function] [call site] 00223
4 strcmp [call site] 00224
4 increase_cache_usage [function] [call site] 00225
4 spng__malloc [function] [call site] 00226
4 spng__free [function] [call site] 00227
4 spng__free [function] [call site] 00234
4 decrease_cache_usage [function] [call site] 00235
4 increase_cache_usage [function] [call site] 00236
4 spng__realloc [function] [call site] 00237
4 spng__malloc [function] [call site] 00238
4 read_chunk_bytes2 [function] [call site] 00239
4 spng__free [function] [call site] 00240
4 discard_chunk_bytes [function] [call site] 00241
3 is_critical_chunk [function] [call site] 00242
3 discard_chunk_bytes [function] [call site] 00243
3 decode_err [function] [call site] 00244
3 decode_err [function] [call site] 00245
3 decode_err [function] [call site] 00246
2 check_decode_fmt [function] [call site] 00247
2 calculate_image_size [function] [call site] 00248
3 calculate_image_width [function] [call site] 00249
4 calculate_scanline_width [function] [call site] 00250
1 spng_get_ihdr [function] [call site] 00251
2 read_chunks [function] [call site] 00252
1 spng_get_plte [function] [call site] 00253
2 read_chunks [function] [call site] 00254
1 spng_get_trns [function] [call site] 00255
2 read_chunks [function] [call site] 00256
1 spng_get_chrm [function] [call site] 00257
2 read_chunks [function] [call site] 00258
1 spng_get_chrm_int [function] [call site] 00259
2 read_chunks [function] [call site] 00260
1 spng_get_gama [function] [call site] 00261
2 read_chunks [function] [call site] 00262
1 spng_get_iccp [function] [call site] 00263
2 read_chunks [function] [call site] 00264
1 spng_get_sbit [function] [call site] 00265
2 read_chunks [function] [call site] 00266
1 spng_get_srgb [function] [call site] 00267
2 read_chunks [function] [call site] 00268
1 spng_get_text [function] [call site] 00269
2 read_chunks [function] [call site] 00270
2 strlen [call site] 00271
1 spng_get_text [function] [call site] 00272
1 memchr [call site] 00273
1 spng_ctx_free [function] [call site] 00274
2 spng__free [function] [call site] 00275
2 spng__free [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
2 spng__free [function] [call site] 00283
2 spng__free [function] [call site] 00284
2 deflateEnd [function] [call site] 00285
3 deflateStateCheck [function] [call site] 00286
2 inflateEnd [function] [call site] 00287
2 spng__free [function] [call site] 00288
2 spng__free [function] [call site] 00289
2 spng__free [function] [call site] 00290
2 spng__free [function] [call site] 00291
2 spng__free [function] [call site] 00292
2 spng__free [function] [call site] 00293
1 strlen [call site] 00294
1 spng_get_bkgd [function] [call site] 00295
2 read_chunks [function] [call site] 00296
1 spng_get_hist [function] [call site] 00297
2 read_chunks [function] [call site] 00298
1 spng_get_phys [function] [call site] 00299
2 read_chunks [function] [call site] 00300
1 spng_get_splt [function] [call site] 00301
2 read_chunks [function] [call site] 00302
1 spng_get_splt [function] [call site] 00303
1 memchr [call site] 00304
1 spng_ctx_free [function] [call site] 00305
1 spng_get_unknown_chunks [function] [call site] 00306
2 read_chunks [function] [call site] 00307
1 spng_get_unknown_chunks [function] [call site] 00308
1 spng_ctx_free [function] [call site] 00309
1 spng_decode_image [function] [call site] 00310
2 read_chunks [function] [call site] 00311
2 decode_err [function] [call site] 00312
2 check_decode_fmt [function] [call site] 00313
2 calculate_image_width [function] [call site] 00314
2 decode_err [function] [call site] 00315
2 read_idat_bytes [function] [call site] 00316
3 memcmp [call site] 00317
3 read_header [function] [call site] 00318
3 memcmp [call site] 00319
3 read_chunk_bytes [function] [call site] 00320
2 decode_err [function] [call site] 00321
2 spng__inflate_init [function] [call site] 00323
2 decode_err [function] [call site] 00324
2 spng__malloc [function] [call site] 00325
2 spng__malloc [function] [call site] 00326
2 spng__malloc [function] [call site] 00327
2 decode_err [function] [call site] 00328
2 decode_err [function] [call site] 00329
2 spng__malloc [function] [call site] 00330
2 decode_err [function] [call site] 00331
2 decode_err [function] [call site] 00332
2 powf [call site] 00333
2 decode_err [function] [call site] 00334
2 sample_to_target [function] [call site] 00335
2 sample_to_target [function] [call site] 00336
2 sample_to_target [function] [call site] 00337
2 sample_to_target [function] [call site] 00338
2 decode_err [function] [call site] 00339
2 read_scanline_bytes [function] [call site] 00340
3 read_idat_bytes [function] [call site] 00342
2 decode_err [function] [call site] 00343
2 decode_err [function] [call site] 00344
2 spng_decode_row [function] [call site] 00345
3 spng_decode_scanline [function] [call site] 00346
4 spng__iter_init [function] [call site] 00347
4 read_scanline [function] [call site] 00348
5 read_scanline_bytes [function] [call site] 00349
5 read_scanline_bytes [function] [call site] 00350
5 u16_row_to_host [function] [call site] 00351
5 defilter_scanline [function] [call site] 00353
6 defilter_up [function] [call site] 00399
4 decode_err [function] [call site] 00401
4 unpack_scanline [function] [call site] 00402
5 spng__iter_init [function] [call site] 00403
5 get_sample [function] [call site] 00404
5 get_sample [function] [call site] 00405
5 get_sample [function] [call site] 00406
4 rgb8_row_to_rgba8 [function] [call site] 00407
4 expand_row [function] [call site] 00408
4 get_sample [function] [call site] 00409
4 get_sample [function] [call site] 00410
4 trns_row [function] [call site] 00411
5 memcmp [call site] 00412
5 memcmp [call site] 00413
5 memcmp [call site] 00414
5 spng__iter_init [function] [call site] 00415
5 get_sample [function] [call site] 00416
5 memcmp [call site] 00417
5 spng__iter_init [function] [call site] 00418
5 get_sample [function] [call site] 00419
4 scale_row [function] [call site] 00420
5 sample_to_target [function] [call site] 00421
5 sample_to_target [function] [call site] 00422
5 sample_to_target [function] [call site] 00423
5 sample_to_target [function] [call site] 00424
5 sample_to_target [function] [call site] 00425
5 sample_to_target [function] [call site] 00426
5 sample_to_target [function] [call site] 00427
5 sample_to_target [function] [call site] 00428
5 sample_to_target [function] [call site] 00429
5 sample_to_target [function] [call site] 00430
5 sample_to_target [function] [call site] 00431
5 sample_to_target [function] [call site] 00432
5 sample_to_target [function] [call site] 00433
4 gamma_correct_row [function] [call site] 00434
4 update_row_info [function] [call site] 00435
4 discard_chunk_bytes [function] [call site] 00436
4 decode_err [function] [call site] 00437
3 spng_decode_scanline [function] [call site] 00438
3 spng__iter_init [function] [call site] 00439
3 get_sample [function] [call site] 00440
2 decode_err [function] [call site] 00441
1 spng_get_row_info [function] [call site] 00442
1 spng_decode_row [function] [call site] 00443
1 spng_decode_image [function] [call site] 00444
1 spng_get_time [function] [call site] 00445
2 read_chunks [function] [call site] 00446
1 spng_ctx_free [function] [call site] 00447
1 fclose [call site] 00448