Fuzz introspector: color_conversion_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
211 106 heif_color_conversion_options_ext_copy call site: 00106 ColorConversionPipeline::convert_image
20 9 LLVMFuzzerTestOneInput call site: 00009 BitstreamRange::prepare_read
13 46 LLVMFuzzerTestOneInput call site: 00046 Catch::ReporterRegistry::create
12 62 LLVMFuzzerTestOneInput call site: 00062 BitstreamRange::prepare_read
10 83 LLVMFuzzerTestOneInput call site: 00083 BitstreamRange::prepare_read
8 320 LLVMFuzzerTestOneInput call site: 00320
6 2 LLVMFuzzerTestOneInput call site: 00002 BitstreamRange::prepare_read
4 31 LLVMFuzzerTestOneInput call site: 00031 BitstreamRange::prepare_read
2 337 LLVMFuzzerTestOneInput call site: 00337
1 95 LLVMFuzzerTestOneInput call site: 00095
1 104 LLVMFuzzerTestOneInput call site: 00104 heif_color_conversion_options_ext_copy

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 std::make_shared<StreamReader_memory> [function] [call site] 00001
1 BitstreamRange::prepare_read [function] [call site] 00002
2 BitstreamRange::skip_to_end_of_box [function] [call site] 00003
3 BitstreamRange::skip_without_advancing_file_pos [function] [call site] 00004
4 BitstreamRange::skip_without_advancing_file_pos [function] [call site] 00006
2 BitstreamRange::prepare_read [function] [call site] 00008
1 BitstreamRange::read16 [function] [call site] 00009
2 BitstreamRange::prepare_read [function] [call site] 00010
2 BitstreamRange::get_istream [function] [call site] 00011
2 reader_read [function] [call site] 00012
3 static_cast<CountingReader*> [function] [call site] 00013
3 static_cast<int64_t> [function] [call site] 00014
3 word_size [function] [call site] 00015
3 static_cast<int64_t> [function] [call site] 00016
3 static_cast<uint64_t> [function] [call site] 00026
2 BitstreamRange::set_eof_while_reading [function] [call site] 00027
3 BitstreamRange::set_eof_while_reading [function] [call site] 00028
2 static_cast<uint16_t> [function] [call site] 00029
1 BitstreamRange::read16 [function] [call site] 00030
1 BitstreamRange::read8 [function] [call site] 00031
2 BitstreamRange::prepare_read [function] [call site] 00032
2 BitstreamRange::get_istream [function] [call site] 00033
2 reader_read [function] [call site] 00034
2 BitstreamRange::set_eof_while_reading [function] [call site] 00035
1 BitstreamRange::read8 [function] [call site] 00036
1 BitstreamRange::read8 [function] [call site] 00037
1 BitstreamRange::read8 [function] [call site] 00038
1 BitstreamRange::read8 [function] [call site] 00039
1 BitstreamRange::read8 [function] [call site] 00040
1 is_valid_chroma [function] [call site] 00041
1 is_valid_colorspace [function] [call site] 00042
1 is_valid_chroma [function] [call site] 00043
1 is_valid_colorspace [function] [call site] 00044
1 std::make_shared<HeifPixelImage> [function] [call site] 00045
1 Catch::ReporterRegistry::create [function] [call site] 00046
2 Catch::TagAliasRegistry::find [function] [call site] 00047
3 Catch::TagAliasRegistry::find [function] [call site] 00048
4 Catch::TagAliasRegistry::find [function] [call site] 00049
2 Catch::TextFlow::AnsiSkippingString::end [function] [call site] 00052
3 const_iterator [function] [call site] 00053
2 Catch::ReporterRegistry::create [function] [call site] 00054
3 Catch::TagAliasRegistry::find [function] [call site] 00055
3 Catch::TextFlow::AnsiSkippingString::end [function] [call site] 00056
3 Catch::ReporterRegistry::create [function] [call site] 00057
3 CATCH_MOVE [function] [call site] 00058
2 CATCH_MOVE [function] [call site] 00059
1 static_cast<heif_colorspace> [function] [call site] 00060
1 static_cast<heif_chroma> [function] [call site] 00061
1 read_plane [function] [call site] 00062
2 std::numeric_limits<size_t>::max [function] [call site] 00063
2 BitstreamRange::prepare_read [function] [call site] 00064
3 BitstreamRange::skip_to_end_of_box [function] [call site] 00065
3 BitstreamRange::prepare_read [function] [call site] 00066
2 static_cast<size_t> [function] [call site] 00067
2 std::shared_ptr<HeifPixelImage>::add_channel [function] [call site] 00068
2 heif_get_disabled_security_limits [function] [call site] 00069
2 std::shared_ptr<HeifPixelImage>::get_channel_memory [function] [call site] 00070
2 BitstreamRange::get_istream [function] [call site] 00072
2 reader_read [function] [call site] 00074
1 read_plane [function] [call site] 00075
1 read_plane [function] [call site] 00076
1 read_plane [function] [call site] 00077
1 read_plane [function] [call site] 00078
1 read_plane [function] [call site] 00079
1 read_plane [function] [call site] 00080
1 read_plane [function] [call site] 00081
1 read_plane [function] [call site] 00082
1 read_plane_interleaved [function] [call site] 00083
2 std::numeric_limits<size_t>::max [function] [call site] 00084
2 BitstreamRange::prepare_read [function] [call site] 00085
2 static_cast<size_t> [function] [call site] 00086
2 std::shared_ptr<HeifPixelImage>::add_channel [function] [call site] 00087
2 heif_get_disabled_security_limits [function] [call site] 00088
2 std::shared_ptr<HeifPixelImage>::get_channel_memory [function] [call site] 00089
2 BitstreamRange::get_istream [function] [call site] 00091
2 reader_read [function] [call site] 00093
1 read_plane_interleaved [function] [call site] 00094
1 read_plane [function] [call site] 00095
1 read_plane [function] [call site] 00097
1 heif_encoding_options_alloc [function] [call site] 00098
2 heif_encoding_options::heif_encoding_options [function] [call site] 00099
2 set_default_encoding_options [function] [call site] 00100
1 heif_color_conversion_options_ext_alloc [function] [call site] 00101
2 heif_color_conversion_options_ext::heif_color_conversion_options_ext [function] [call site] 00102
2 fill_default_color_conversion_options_ext [function] [call site] 00103
1 convert_colorspace [function] [call site] 00104
2 heif_color_conversion_options_ext_copy [function] [call site] 00105
2 std::unique_ptr::get [function] [call site] 00107
2 get_width [function] [call site] 00108
2 get_height [function] [call site] 00109
2 has_channel [function] [call site] 00110
2 get_width [function] [call site] 00111
2 get_height [function] [call site] 00112
2 check_plane_layout [function] [call site] 00113
2 Error::Error [function] [call site] 00114
2 ColorState::from_image_planes [function] [call site] 00115
3 ColorState::ColorState [function] [call site] 00116
4 ColorState::set_color_bits_per_pixel [function] [call site] 00117
3 get_colorspace [function] [call site] 00118
3 get_chroma_format [function] [call site] 00119
3 has_channel [function] [call site] 00120
3 ColorState::set_bits_per_pixel [function] [call site] 00121
3 ColorState::get_bits_per_pixel [function] [call site] 00122
3 has_channel [function] [call site] 00123
3 ColorState::get_bits_per_pixel [function] [call site] 00124
3 ColorState::set_bits_per_pixel [function] [call site] 00125
3 is_interleaved_with_alpha [function] [call site] 00126
3 get_chroma_format [function] [call site] 00128
2 has_nclx_color_profile [function] [call site] 00129
2 get_color_profile_nclx [function] [call site] 00130
2 nclx_profile::replace_undefined_values_with_sRGB_defaults [function] [call site] 00131
2 get_channel_set [function] [call site] 00132
2 std::set::empty [function] [call site] 00134
2 get_matrix_coefficients [function] [call site] 00135
3 static_cast<heif_matrix_coefficients> [function] [call site] 00136
2 set_matrix_coefficients [function] [call site] 00137
2 get_matrix_coefficients [function] [call site] 00138
2 Box_mini::get_colour_primaries [function] [call site] 00139
2 set_colour_primaries [function] [call site] 00140
2 Box_mini::get_colour_primaries [function] [call site] 00141
2 get_transfer_characteristics [function] [call site] 00142
3 static_cast<heif_transfer_characteristics> [function] [call site] 00143
2 set_transfer_characteristics [function] [call site] 00144
2 get_transfer_characteristics [function] [call site] 00145
2 num_interleaved_components_per_plane [function] [call site] 00146
2 is_interleaved_with_alpha [function] [call site] 00148
2 has_alpha [function] [call site] 00149
2 ColorState::get_uniform_color_bits_per_pixel [function] [call site] 00150
2 ColorState::get_max_color_bits_per_pixel [function] [call site] 00151
2 ColorState::set_color_bits_per_pixel [function] [call site] 00153
2 ColorConversionPipeline::construct_pipeline [function] [call site] 00154
3 ColorConversionPipeline::init_ops [function] [call site] 00156
4 emplace_back [function] [call site] 00158
4 std::make_shared<Op_RGB_to_RGB24_32> [function] [call site] 00159
4 emplace_back [function] [call site] 00160
4 std::make_shared<Op_RGB24_32_to_RGB> [function] [call site] 00161
4 emplace_back [function] [call site] 00162
4 std::make_shared<Op_YCbCr_to_RGB<uint16_t>> [function] [call site] 00163
4 emplace_back [function] [call site] 00164
4 std::make_shared<Op_YCbCr_to_RGB<uint8_t>> [function] [call site] 00165
4 emplace_back [function] [call site] 00166
4 std::make_shared<Op_YCbCr420_to_RGB24> [function] [call site] 00167
4 emplace_back [function] [call site] 00168
4 std::make_shared<Op_YCbCr420_to_RGB32> [function] [call site] 00169
4 emplace_back [function] [call site] 00170
4 std::make_shared<Op_YCbCr420_to_RRGGBBaa> [function] [call site] 00171
4 emplace_back [function] [call site] 00172
4 std::make_shared<Op_RGB_HDR_to_RRGGBBaa_BE> [function] [call site] 00173
4 emplace_back [function] [call site] 00174
4 std::make_shared<Op_RGB_to_RRGGBBaa_BE> [function] [call site] 00175
4 emplace_back [function] [call site] 00176
4 std::make_shared<Op_mono_to_YCbCr420> [function] [call site] 00177
4 emplace_back [function] [call site] 00178
4 std::make_shared<Op_mono_to_RGB24_32> [function] [call site] 00179
4 emplace_back [function] [call site] 00180
4 std::make_shared<Op_bayer_bilinear_to_RGB24_32> [function] [call site] 00181
4 emplace_back [function] [call site] 00182
4 std::make_shared<Op_RRGGBBaa_swap_endianness> [function] [call site] 00183
4 emplace_back [function] [call site] 00184
4 std::make_shared<Op_RRGGBBaa_BE_to_RGB_HDR> [function] [call site] 00185
4 emplace_back [function] [call site] 00186
4 std::make_shared<Op_RGB24_32_to_YCbCr> [function] [call site] 00187
4 emplace_back [function] [call site] 00188
4 std::make_shared<Op_RGB_to_YCbCr<uint8_t>> [function] [call site] 00189
4 emplace_back [function] [call site] 00190
4 std::make_shared<Op_RGB_to_YCbCr<uint16_t>> [function] [call site] 00191
4 emplace_back [function] [call site] 00192
4 std::make_shared<Op_RRGGBBxx_HDR_to_YCbCr420> [function] [call site] 00193
4 emplace_back [function] [call site] 00194
4 std::make_shared<Op_RGB24_32_to_YCbCr444_GBR> [function] [call site] 00195
4 emplace_back [function] [call site] 00196
4 std::make_shared<Op_drop_alpha_plane> [function] [call site] 00197
4 emplace_back [function] [call site] 00198
4 std::make_shared<Op_flatten_alpha_plane<uint8_t>> [function] [call site] 00199
4 emplace_back [function] [call site] 00200
4 std::make_shared<Op_flatten_alpha_plane<uint16_t>> [function] [call site] 00201
4 emplace_back [function] [call site] 00202
4 std::make_shared<Op_adjust_alpha_bit_depth> [function] [call site] 00203
4 emplace_back [function] [call site] 00204
4 std::make_shared<Op_to_hdr_planes> [function] [call site] 00205
4 emplace_back [function] [call site] 00206
4 std::make_shared<Op_to_sdr_planes> [function] [call site] 00207
4 emplace_back [function] [call site] 00208
4 std::make_shared<Op_YCbCr420_bilinear_to_YCbCr444<uint8_t>> [function] [call site] 00209
4 emplace_back [function] [call site] 00210
4 std::make_shared<Op_YCbCr420_bilinear_to_YCbCr444<uint16_t>> [function] [call site] 00211
4 emplace_back [function] [call site] 00212
4 std::make_shared<Op_YCbCr422_bilinear_to_YCbCr444<uint8_t>> [function] [call site] 00213
4 emplace_back [function] [call site] 00214
4 std::make_shared<Op_YCbCr422_bilinear_to_YCbCr444<uint16_t>> [function] [call site] 00215
4 emplace_back [function] [call site] 00216
4 std::make_shared<Op_YCbCr444_to_YCbCr420_average<uint8_t>> [function] [call site] 00217
4 emplace_back [function] [call site] 00218
4 std::make_shared<Op_YCbCr444_to_YCbCr420_average<uint16_t>> [function] [call site] 00219
4 emplace_back [function] [call site] 00220
4 std::make_shared<Op_YCbCr444_to_YCbCr422_average<uint8_t>> [function] [call site] 00221
4 emplace_back [function] [call site] 00222
4 std::make_shared<Op_YCbCr444_to_YCbCr422_average<uint16_t>> [function] [call site] 00223
4 emplace_back [function] [call site] 00224
4 std::make_shared<Op_Any_RGB_to_YCbCr_420_Sharp> [function] [call site] 00225
3 std::vector::emplace_back [function] [call site] 00226
3 std::vector::empty [function] [call site] 00227
3 std::numeric_limits<int>::max [function] [call site] 00228
3 std::vector::size [function] [call site] 00229
3 std::vector::push_back [function] [call site] 00231
3 std::vector::back [function] [call site] 00232
3 std::vector::pop_back [function] [call site] 00233
3 std::vector::back [function] [call site] 00234
3 std::vector::back [function] [call site] 00235
3 std::vector::back [function] [call site] 00236
3 std::vector::size [function] [call site] 00237
3 std::vector::size [function] [call site] 00239
3 ColorConversionPipeline::debug_dump_pipeline [function] [call site] 00242
4 std::ostringstream::str [function] [call site] 00245
3 state_after_conversion [function] [call site] 00247
3 std::vector::back [function] [call site] 00248
3 std::vector::back [function] [call site] 00249
3 std::vector::size [function] [call site] 00250
3 std::vector::back [function] [call site] 00251
3 std::vector::emplace_back [function] [call site] 00252
3 std::vector::size [function] [call site] 00253
2 ColorConversionPipeline::is_nop [function] [call site] 00254
2 get_bits_per_pixel [function] [call site] 00256
2 ColorConversionPipeline::convert_image [function] [call site] 00257
3 print_spec [function] [call site] 00258
4 get_colorspace [function] [call site] 00259
4 get_chroma_format [function] [call site] 00260
4 get_colorspace [function] [call site] 00261
4 get_chroma_format [function] [call site] 00262
4 get_bits_per_pixel [function] [call site] 00263
4 get_bits_per_pixel [function] [call site] 00264
4 get_colorspace [function] [call site] 00265
4 get_colorspace [function] [call site] 00266
4 get_bits_per_pixel [function] [call site] 00267
3 convert_colorspace [function] [call site] 00268
4 heif_color_conversion_options_ext_copy [function] [call site] 00269
4 std::unique_ptr::get [function] [call site] 00270
4 get_width [function] [call site] 00271
4 get_height [function] [call site] 00272
4 has_channel [function] [call site] 00273
4 get_width [function] [call site] 00274
4 get_height [function] [call site] 00275
4 check_plane_layout [function] [call site] 00276
4 Error::Error [function] [call site] 00277
4 ColorState::from_image_planes [function] [call site] 00278
4 has_nclx_color_profile [function] [call site] 00279
4 get_color_profile_nclx [function] [call site] 00280
4 nclx_profile::replace_undefined_values_with_sRGB_defaults [function] [call site] 00281
4 get_channel_set [function] [call site] 00282
4 std::set::empty [function] [call site] 00284
4 get_matrix_coefficients [function] [call site] 00285
4 set_matrix_coefficients [function] [call site] 00286
4 get_matrix_coefficients [function] [call site] 00287
4 Box_mini::get_colour_primaries [function] [call site] 00288
4 set_colour_primaries [function] [call site] 00289
4 Box_mini::get_colour_primaries [function] [call site] 00290
4 get_transfer_characteristics [function] [call site] 00291
4 set_transfer_characteristics [function] [call site] 00292
4 get_transfer_characteristics [function] [call site] 00293
4 num_interleaved_components_per_plane [function] [call site] 00294
4 is_interleaved_with_alpha [function] [call site] 00295
4 has_alpha [function] [call site] 00296
4 ColorState::get_uniform_color_bits_per_pixel [function] [call site] 00297
4 ColorState::get_max_color_bits_per_pixel [function] [call site] 00298
4 ColorState::set_color_bits_per_pixel [function] [call site] 00299
4 ColorConversionPipeline::construct_pipeline [function] [call site] 00300
4 ColorConversionPipeline::is_nop [function] [call site] 00301
4 get_bits_per_pixel [function] [call site] 00302
4 ColorConversionPipeline::convert_image [function] [call site] 00303
3 Catch::Benchmark::Detail::throw_optimized_away_error [function] [call site] 00304
4 Catch::throw_exception [function] [call site] 00305
5 Catch::cerr [function] [call site] 00306
5 std::terminate [function] [call site] 00308
3 ColorConversionPipeline::check_operation_output [function] [call site] 00309
4 ColorState::from_image_planes [function] [call site] 00310
4 check_plane_layout [function] [call site] 00311
3 Error::Error [function] [call site] 00312
3 std::shared_ptr::copy_metadata_from [function] [call site] 00314
3 std::shared_ptr::set_color_profile_nclx [function] [call site] 00315
3 std::shared_ptr::get_warnings [function] [call site] 00316
3 std::shared_ptr::add_warning [function] [call site] 00317
1 static_cast<heif_colorspace> [function] [call site] 00318
1 static_cast<heif_chroma> [function] [call site] 00319
1 nclx_default_if_undefined [function] [call site] 00320
2 Box_mini::get_colour_primaries [function] [call site] 00321
2 set_colour_primaries [function] [call site] 00322
2 get_matrix_coefficients [function] [call site] 00323
3 static_cast<heif_matrix_coefficients> [function] [call site] 00324
2 set_matrix_coefficients [function] [call site] 00325
2 get_transfer_characteristics [function] [call site] 00326
3 static_cast<heif_transfer_characteristics> [function] [call site] 00327
2 set_transfer_characteristics [function] [call site] 00328
1 heif_get_disabled_security_limits [function] [call site] 00329
1 heif_encoding_options_free [function] [call site] 00330
1 heif_color_conversion_options_ext_free [function] [call site] 00331
1 Box_mini::get_width [function] [call site] 00333
1 Box_mini::get_height [function] [call site] 00335
1 JPEG2000MainHeader::get_chroma_format [function] [call site] 00337
1 static_cast<heif_chroma> [function] [call site] 00340
1 HeifPixelImage::get_colorspace [function] [call site] 00342
1 static_cast<heif_colorspace> [function] [call site] 00343