Fuzz introspector: fuzzer_script_tga
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
66 172 TgaDecoder::expand_color_map call site: 00172 overlay_bounds_ext
63 85 ImageLayout::total_bytes call site: 00085 Orientation::locate_orientation_entry
44 283 TgaDecoder::expand_color_map call site: 00283 ImageReader::decode_into
33 29 DecodingError::new call site: 00029 ImageReader::decode_into
23 243 TgaDecoder::expand_color_map call site: 00243 ImageReader::fill_header_metadata_if_any
20 149 TgaDecoder::expand_color_map call site: 00149
18 63 ImageLayout::total_bytes call site: 00063 Enlargeable::clamp_from
14 344 image::codecs::tga::TgaDecoder::new call site: 00344 ImageReader::fill_header_metadata_if_any
8 388 R::read_exact_vec call site: 00388 ImageReader::decode_into
5 268 TgaDecoder::expand_color_map call site: 00268
5 404 R::read_exact_vec call site: 00404
3 361 image::codecs::tga::TgaDecoder::new call site: 00361 ImageReader::decode_into

Fuzzer calltree

0 fuzz_target [function] [call site] 00000
1 decode [function] [call site] 00001
2 image::codecs::tga::TgaDecoder::new [function] [call site] 00002
3 Header::from_reader [function] [call site] 00003
4 GenericReader::read_exact [function] [call site] 00004
5 GenericReader::read_exact [function] [call site] 00005
6 GenericReader::read_exact [function] [call site] 00006
4 std::io::Result::as_slice [function] [call site] 00007
5 FlatSamples::as_ref [function] [call site] 00008
6 FlatSamples::as_ref [function] [call site] 00009
4 Result::read_u8 [function] [call site] 00010
4 Result::read_u8 [function] [call site] 00011
4 Result::read_u8 [function] [call site] 00012
4 read_u16::<LittleEndian> [function] [call site] 00013
4 read_u16::<LittleEndian> [function] [call site] 00014
4 Result::read_u8 [function] [call site] 00015
4 read_u16::<LittleEndian> [function] [call site] 00016
4 read_u16::<LittleEndian> [function] [call site] 00017
4 read_u16::<LittleEndian> [function] [call site] 00018
4 read_u16::<LittleEndian> [function] [call site] 00019
4 Result::read_u8 [function] [call site] 00020
4 Result::read_u8 [function] [call site] 00021
3 ImageType::new [function] [call site] 00023
3 ImageError::Decoding [function] [call site] 00026
3 DecodingError::new [function] [call site] 00027
4 ImageReader::decode_into [function] [call site] 00029
5 Box::prepare_image [function] [call site] 00030
6 Box::prepare_image [function] [call site] 00031
5 ImageReader::fill_header_metadata_if_any [function] [call site] 00032
6 ImageDecoder::format_attributes [function] [call site] 00033
7 ImageReaderSettings::default [function] [call site] 00034
6 MetadataBlock::is_not_none [function] [call site] 00035
6 FlatSamples::as_mut [function] [call site] 00037
7 FlatSamples::as_mut [function] [call site] 00038
6 MetadataBlock::Ok [function] [call site] 00039
6 MetadataBlock::Err [function] [call site] 00040
5 &RgbaImage::len [function] [call site] 00041
6 Result::chars [function] [call site] 00042
6 ColorType::channel_count [function] [call site] 00043
7 ImageReader::decode_into [function] [call site] 00044
8 Box::prepare_image [function] [call site] 00045
8 ImageReader::fill_header_metadata_if_any [function] [call site] 00046
8 &RgbaImage::len [function] [call site] 00047
8 ImageLayout::total_bytes [function] [call site] 00062
9 Enlargeable::clamp_from [function] [call site] 00063
10 Self::max_value [function] [call site] 00064
10 Enlargeable::to_larger [function] [call site] 00065
11 Enlargeable::clamp_from [function] [call site] 00066
12 Self::max_value [function] [call site] 00067
12 Enlargeable::to_larger [function] [call site] 00068
12 Self::max_value [function] [call site] 00069
12 Self::min_value [function] [call site] 00070
12 Enlargeable::to_larger [function] [call site] 00071
12 Self::min_value [function] [call site] 00072
12 Enlargeable::clamp_from [function] [call site] 00073
12 Self::unwrap [function] [call site] 00074
11 Self::unwrap [function] [call site] 00075
10 Self::max_value [function] [call site] 00076
10 Self::min_value [function] [call site] 00077
10 Enlargeable::to_larger [function] [call site] 00078
10 Self::min_value [function] [call site] 00079
10 Enlargeable::clamp_from [function] [call site] 00080
10 Self::unwrap [function] [call site] 00081
9 Enlargeable::clamp_from [function] [call site] 00082
9 Enlargeable::clamp_from [function] [call site] 00083
9 ColorType::bytes_per_pixel [function] [call site] 00084
9 saturating_mul [function] [call site] 00085
8 Result::ok [function] [call site] 00086
9 Option::make_ascii_lowercase [function] [call site] 00087
9 ImageFormat::can_write [function] [call site] 00088
9 GenericReader::new [function] [call site] 00092
10 GenericReader::new [function] [call site] 00094
11 GenericReader::new [function] [call site] 00096
11 GenericReader::new [function] [call site] 00097
12 GenericReader::new [function] [call site] 00099
12 GenericReader::new [function] [call site] 00100
10 GenericReader::new [function] [call site] 00101
9 FlatSamples::as_mut [function] [call site] 00102
9 Orientation::locate_orientation_entry [function] [call site] 00104
10 read_u32::<B> [function] [call site] 00105
10 register_decoding_hook [function] [call site] 00106
11 Option::make_ascii_lowercase [function] [call site] 00107
11 ImageFormat::can_write [function] [call site] 00108
11 GenericReader::new [function] [call site] 00112
11 FlatSamples::as_mut [function] [call site] 00113
11 Orientation::locate_orientation_entry [function] [call site] 00115
11 Option::insert [function] [call site] 00116
11 GenericReader::new [function] [call site] 00117
12 GenericReader::new [function] [call site] 00119
12 GenericReader::new [function] [call site] 00120
10 Result::set_position [function] [call site] 00121
10 Enlargeable::clamp_from [function] [call site] 00122
10 read_u16::<B> [function] [call site] 00123
10 register_decoding_hook [function] [call site] 00124
10 read_u16::<B> [function] [call site] 00125
10 register_decoding_hook [function] [call site] 00126
10 read_u16::<B> [function] [call site] 00127
10 register_decoding_hook [function] [call site] 00128
10 read_u32::<B> [function] [call site] 00129
10 register_decoding_hook [function] [call site] 00130
10 read_u16::<B> [function] [call site] 00131
10 register_decoding_hook [function] [call site] 00132
10 read_u16::<B> [function] [call site] 00133
10 register_decoding_hook [function] [call site] 00134
10 GenericReader::stream_position [function] [call site] 00135
11 GenericReader::stream_position [function] [call site] 00136
12 GenericReader::stream_position [function] [call site] 00137
10 ImageResult::min [function] [call site] 00147
10 TgaDecoder::expand_color_map [function] [call site] 00148
11 test::mut_iter [function] [call site] 00149
12 ImageBuffer::new [function] [call site] 00150
13 ImageBuffer::image_buffer_len [function] [call site] 00151
14 and_then [function] [call site] 00153
14 u64::checked_mul [function] [call site] 00154
14 and_then [function] [call site] 00155
14 u64::checked_mul [function] [call site] 00156
13 Option::expect [function] [call site] 00157
13 Cicp::into_rgb [function] [call site] 00158
12 ImageBuffer::par_enumerate_pixels_mut [function] [call site] 00159
13 ImageBuffer::width [function] [call site] 00160
13 ImageBuffer::pixels_mut [function] [call site] 00161
14 ImageBuffer::subpixels_mut [function] [call site] 00162
15 ImageBuffer::image_buffer_len [function] [call site] 00163
15 Option::unwrap [function] [call site] 00164
14 <P [call site] 00165
13 &mut [call site] 00166
12 EnumeratePixelsMutPar::first_mut [function] [call site] 00167
12 color::Rgb [function] [call site] 00169
11 bool::chunks_exact_mut [function] [call site] 00171
11 MetadataBlock::get [function] [call site] 00172
12 Frame::clone [function] [call site] 00176
13 Frame::clone [function] [call site] 00177
14 Frame::clone [function] [call site] 00178
12 ImageError::Parameter [function] [call site] 00179
12 ParameterError::from_kind [function] [call site] 00180
12 core::mem::replace [function] [call site] 00181
13 ImageLayout::dimensions [function] [call site] 00182
13 ImageLayout::dimensions [function] [call site] 00183
13 overlay_bounds_ext [function] [call site] 00184
14 Enlargeable::clamp_from [function] [call site] 00185
15 Self::max_value [function] [call site] 00186
15 Enlargeable::to_larger [function] [call site] 00187
15 Self::max_value [function] [call site] 00188
15 Self::min_value [function] [call site] 00189
15 Enlargeable::to_larger [function] [call site] 00190
15 Self::min_value [function] [call site] 00191
15 Enlargeable::clamp_from [function] [call site] 00192
15 Self::unwrap [function] [call site] 00193
14 Enlargeable::clamp_from [function] [call site] 00194
14 saturating_add [function] [call site] 00195
14 Enlargeable::clamp_from [function] [call site] 00196
14 Option::saturating_add [function] [call site] 00197
14 Enlargeable::clamp_from [function] [call site] 00198
14 saturating_add [function] [call site] 00199
14 Enlargeable::clamp_from [function] [call site] 00200
14 Option::saturating_add [function] [call site] 00201
14 Enlargeable::clamp_from [function] [call site] 00202
14 Enlargeable::clamp_from [function] [call site] 00204
14 Enlargeable::clamp_from [function] [call site] 00206
14 Enlargeable::clamp_from [function] [call site] 00208
14 Option::clamp [function] [call site] 00209
14 Enlargeable::clamp_from [function] [call site] 00210
14 saturating_mul [function] [call site] 00211
14 Enlargeable::clamp_from [function] [call site] 00213
14 Option::saturating_mul [function] [call site] 00214
14 Enlargeable::clamp_from [function] [call site] 00216
13 GenericImageView::unsafe_get_pixel [function] [call site] 00217
14 GenericImageView::unsafe_get_pixel [function] [call site] 00218
15 GenericImageView::unsafe_get_pixel [function] [call site] 00219
13 GenericImage::unsafe_put_pixel [function] [call site] 00220
14 GenericImage::unsafe_put_pixel [function] [call site] 00221
15 GenericImage::unsafe_put_pixel [function] [call site] 00222
12 MetadataBlock::Unsupported [function] [call site] 00223
12 UnsupportedError::format_hint [function] [call site] 00224
13 Frame::clone [function] [call site] 00225
12 ImageError::Parameter [function] [call site] 00228
12 ParameterError::from_kind [function] [call site] 00229
12 ImageError::Unsupported [function] [call site] 00231
12 UnsupportedError::from_format_and_kind [function] [call site] 00232
12 Frame::clone [function] [call site] 00233
13 Frame::clone [function] [call site] 00234
12 UnsupportedErrorKind::GenericFeature [function] [call site] 00235
12 GenericReader::read_to_string [function] [call site] 00236
13 GenericReader::read_to_string [function] [call site] 00237
14 GenericReader::read_to_string [function] [call site] 00238
11 Option::copy_from_slice [function] [call site] 00239
11 ImageError::Decoding [function] [call site] 00241
11 DecodingError::new [function] [call site] 00242
11 ImageReader::decode_into [function] [call site] 00243
12 Box::prepare_image [function] [call site] 00244
12 ImageReader::fill_header_metadata_if_any [function] [call site] 00245
12 &RgbaImage::len [function] [call site] 00246
12 ColorType::try_from [function] [call site] 00247
12 ImageLayout::total_bytes [function] [call site] 00248
12 Result::ok [function] [call site] 00249
12 ImageError::Parameter [function] [call site] 00252
12 ParameterError::from_kind [function] [call site] 00253
12 Limits::check_layout_dimensions [function] [call site] 00254
13 Limits::check_dimensions [function] [call site] 00255
14 ImageError::Limits [function] [call site] 00257
14 error::LimitError::from_kind [function] [call site] 00258
14 ImageError::Limits [function] [call site] 00260
14 error::LimitError::from_kind [function] [call site] 00261
12 Box::read_image [function] [call site] 00263
13 Box::read_image [function] [call site] 00264
12 FlatSamples::as_mut [function] [call site] 00266
11 as_chunks::<2> [function] [call site] 00267
11 test::mut_iter [function] [call site] 00268
12 ImageBuffer::new [function] [call site] 00269
12 ImageBuffer::par_enumerate_pixels_mut [function] [call site] 00270
12 EnumeratePixelsMutPar::first_mut [function] [call site] 00271
12 color::Rgb [function] [call site] 00273
11 bool::chunks_exact_mut [function] [call site] 00275
11 u16::from_le_bytes [function] [call site] 00276
11 MetadataBlock::get [function] [call site] 00277
11 Option::copy_from_slice [function] [call site] 00278
11 ImageError::Decoding [function] [call site] 00280
11 DecodingError::new [function] [call site] 00281
11 ImageReader::decode_into [function] [call site] 00282
9 Option::insert [function] [call site] 00284
9 GenericReader::new [function] [call site] 00285
8 ImageError::Parameter [function] [call site] 00288
8 ParameterError::from_kind [function] [call site] 00289
8 Limits::check_layout_dimensions [function] [call site] 00290
8 Box::read_image [function] [call site] 00291
8 FlatSamples::as_mut [function] [call site] 00293
7 ColorType::channel_count [function] [call site] 00294
8 ImageReader::decode_into [function] [call site] 00295
8 ColorType::channel_count [function] [call site] 00296
6 Result::chars [function] [call site] 00297
6 &str::chars [function] [call site] 00300
6 ImageReader::decode_into [function] [call site] 00302
7 Box::prepare_image [function] [call site] 00303
7 ImageReader::fill_header_metadata_if_any [function] [call site] 00304
7 &RgbaImage::len [function] [call site] 00305
7 ColorType::try_from [function] [call site] 00306
7 ImageLayout::total_bytes [function] [call site] 00307
7 Result::ok [function] [call site] 00308
7 ImageError::Parameter [function] [call site] 00311
7 ParameterError::from_kind [function] [call site] 00312
7 Limits::check_layout_dimensions [function] [call site] 00313
7 Box::read_image [function] [call site] 00314
7 FlatSamples::as_mut [function] [call site] 00316
5 ColorType::try_from [function] [call site] 00317
5 ImageLayout::total_bytes [function] [call site] 00318
5 Result::ok [function] [call site] 00319
5 ImageError::Parameter [function] [call site] 00322
5 ParameterError::from_kind [function] [call site] 00323
5 Limits::check_layout_dimensions [function] [call site] 00324
5 Box::read_image [function] [call site] 00325
5 FlatSamples::as_mut [function] [call site] 00327
3 ImageReader::decode_into [function] [call site] 00328
3 ImageType::is_color_mapped [function] [call site] 00329
3 ImageError::Decoding [function] [call site] 00331
3 DecodingError::new [function] [call site] 00332
3 ImageReader::decode_into [function] [call site] 00333
3 ImageError::Decoding [function] [call site] 00336
3 DecodingError::new [function] [call site] 00337
3 ImageReader::decode_into [function] [call site] 00338
3 ImageError::Unsupported [function] [call site] 00340
3 UnsupportedError::from_format_and_kind [function] [call site] 00341
3 ImageReader::decode_into [function] [call site] 00342
3 UnsupportedErrorKind::GenericFeature [function] [call site] 00343
3 ImageReader::decode_into [function] [call site] 00344
4 Box::prepare_image [function] [call site] 00345
4 ImageReader::fill_header_metadata_if_any [function] [call site] 00346
4 &RgbaImage::len [function] [call site] 00347
4 ColorType::try_from [function] [call site] 00348
4 ImageLayout::total_bytes [function] [call site] 00349
4 Result::ok [function] [call site] 00350
4 ImageError::Parameter [function] [call site] 00353
4 ParameterError::from_kind [function] [call site] 00354
4 Limits::check_layout_dimensions [function] [call site] 00355
4 Box::read_image [function] [call site] 00356
4 FlatSamples::as_mut [function] [call site] 00358
3 ImageType::is_color_mapped [function] [call site] 00359
3 checked_sub [function] [call site] 00360
3 ok_or_else [function] [call site] 00361
3 ImageError::Decoding [function] [call site] 00362
3 DecodingError::new [function] [call site] 00363
3 ImageReader::decode_into [function] [call site] 00364
3 ImageType::is_color [function] [call site] 00365
3 ImageError::Unsupported [function] [call site] 00369
3 UnsupportedError::from_format_and_kind [function] [call site] 00370
3 ImageReader::decode_into [function] [call site] 00371
3 UnsupportedErrorKind::Color [function] [call site] 00372
3 ExtendedColorType::Unknown [function] [call site] 00373
3 GenericReader::read_exact [function] [call site] 00374
3 ImageError::Unsupported [function] [call site] 00377
3 UnsupportedError::from_format_and_kind [function] [call site] 00378
3 ImageReader::decode_into [function] [call site] 00379
3 UnsupportedErrorKind::GenericFeature [function] [call site] 00380
3 ImageReader::decode_into [function] [call site] 00381
3 GenericReader::new [function] [call site] 00383
4 GenericReader::new [function] [call site] 00385
4 GenericReader::new [function] [call site] 00386
3 R::read_exact_vec [function] [call site] 00387
4 io::Result::len [function] [call site] 00388
5 Result::chars [function] [call site] 00389
5 ColorType::channel_count [function] [call site] 00390
5 Result::chars [function] [call site] 00391
5 &str::chars [function] [call site] 00394
5 ImageReader::decode_into [function] [call site] 00396
4 io::Result::try_reserve [function] [call site] 00397
4 GenericReader::read_to_end [function] [call site] 00399
5 GenericReader::read_to_end [function] [call site] 00400
4 io::Result::truncate [function] [call site] 00402
4 to_image_err [function] [call site] 00404
5 ImageError::Decoding [function] [call site] 00405
5 DecodingError::new [function] [call site] 00406
5 ImageFormatHint::Exact [function] [call site] 00407
5 GenericReader::read_to_string [function] [call site] 00408
6 GenericReader::read_to_string [function] [call site] 00409
4 unwrap_or [function] [call site] 00410
4 ImageReader::decode_into [function] [call site] 00411
3 ImageType::is_color_mapped [function] [call site] 00412
3 GenericReader::new [function] [call site] 00414
3 as_chunks::<2> [function] [call site] 00415
3 test::mut_iter [function] [call site] 00416
3 Self::extend_from_slice [function] [call site] 00417
3 expand_rgb15_to_rgb24 [function] [call site] 00418
4 u16::from_le_bytes [function] [call site] 00419
4 e::x::p::a::n::d::_::r::g::b::1::5::_::t::o::_::r::g::b::2::4::unorm5_to_unorm8 [function] [call site] 00420
4 e::x::p::a::n::d::_::r::g::b::1::5::_::t::o::_::r::g::b::2::4::unorm5_to_unorm8 [function] [call site] 00421
4 e::x::p::a::n::d::_::r::g::b::1::5::_::t::o::_::r::g::b::2::4::unorm5_to_unorm8 [function] [call site] 00422
2 std::io::Cursor::new [function] [call site] 00425
3 GenericReader::new [function] [call site] 00427
3 GenericReader::new [function] [call site] 00428
2 Box::prepare_image [function] [call site] 00429
3 Box::prepare_image [function] [call site] 00430
2 ImageLayout::total_bytes [function] [call site] 00431
3 Enlargeable::clamp_from [function] [call site] 00432
3 Enlargeable::clamp_from [function] [call site] 00433
3 Enlargeable::clamp_from [function] [call site] 00434
3 ColorType::bytes_per_pixel [function] [call site] 00435
3 saturating_mul [function] [call site] 00436
2 Box::read_image [function] [call site] 00438
3 Box::read_image [function] [call site] 00439