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
71 87 ImageLayout::total_bytes call site: 00087 Orientation::locate_orientation_entry
63 182 TgaDecoder::expand_color_map call site: 00182 overlay_bounds_ext
44 290 TgaDecoder::expand_color_map call site: 00290 ImageReader::decode_into
35 29 DecodingError::new call site: 00029 ImageReader::decode_into
23 250 TgaDecoder::expand_color_map call site: 00250 ImageReader::fill_header_metadata_if_any
20 159 TgaDecoder::expand_color_map call site: 00159
18 65 ImageLayout::total_bytes call site: 00065 Enlargeable::clamp_from
14 351 image::codecs::tga::TgaDecoder::new call site: 00351 ImageReader::fill_header_metadata_if_any
8 395 R::read_exact_vec call site: 00395 ImageReader::decode_into
5 275 TgaDecoder::expand_color_map call site: 00275
5 411 R::read_exact_vec call site: 00411
3 368 image::codecs::tga::TgaDecoder::new call site: 00368 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] 00064
9 Enlargeable::clamp_from [function] [call site] 00065
10 Self::max_value [function] [call site] 00066
10 Enlargeable::to_larger [function] [call site] 00067
11 Enlargeable::clamp_from [function] [call site] 00068
12 Self::max_value [function] [call site] 00069
12 Enlargeable::to_larger [function] [call site] 00070
12 Self::max_value [function] [call site] 00071
12 Self::min_value [function] [call site] 00072
12 Enlargeable::to_larger [function] [call site] 00073
12 Self::min_value [function] [call site] 00074
12 Enlargeable::clamp_from [function] [call site] 00075
12 Self::unwrap [function] [call site] 00076
11 Self::unwrap [function] [call site] 00077
10 Self::max_value [function] [call site] 00078
10 Self::min_value [function] [call site] 00079
10 Enlargeable::to_larger [function] [call site] 00080
10 Self::min_value [function] [call site] 00081
10 Enlargeable::clamp_from [function] [call site] 00082
10 Self::unwrap [function] [call site] 00083
9 Enlargeable::clamp_from [function] [call site] 00084
9 Enlargeable::clamp_from [function] [call site] 00085
9 ColorType::bytes_per_pixel [function] [call site] 00086
9 saturating_mul [function] [call site] 00087
8 Result::ok [function] [call site] 00088
9 Option::make_ascii_lowercase [function] [call site] 00089
9 PnmHeader::write [function] [call site] 00090
10 &mut [call site] 00091
10 PnmHeader::subtype [function] [call site] 00092
11 PnmSubtype::Bitmap [function] [call site] 00093
11 PnmSubtype::Graymap [function] [call site] 00094
11 PnmSubtype::Pixmap [function] [call site] 00095
10 PnmSubtype::magic_constant [function] [call site] 00096
10 &mut [call site] 00097
9 GenericReader::new [function] [call site] 00102
10 GenericReader::new [function] [call site] 00104
11 GenericReader::new [function] [call site] 00106
11 GenericReader::new [function] [call site] 00107
12 GenericReader::new [function] [call site] 00109
12 GenericReader::new [function] [call site] 00110
10 GenericReader::new [function] [call site] 00111
9 FlatSamples::as_mut [function] [call site] 00112
9 Orientation::locate_orientation_entry [function] [call site] 00114
10 read_u32::<B> [function] [call site] 00115
10 register_decoding_hook [function] [call site] 00116
11 Option::make_ascii_lowercase [function] [call site] 00117
11 PnmHeader::write [function] [call site] 00118
11 GenericReader::new [function] [call site] 00122
11 FlatSamples::as_mut [function] [call site] 00123
11 Orientation::locate_orientation_entry [function] [call site] 00125
11 Option::insert [function] [call site] 00126
11 GenericReader::new [function] [call site] 00127
12 GenericReader::new [function] [call site] 00129
12 GenericReader::new [function] [call site] 00130
10 Result::set_position [function] [call site] 00131
10 Enlargeable::clamp_from [function] [call site] 00132
10 read_u16::<B> [function] [call site] 00133
10 register_decoding_hook [function] [call site] 00134
10 read_u16::<B> [function] [call site] 00135
10 register_decoding_hook [function] [call site] 00136
10 read_u16::<B> [function] [call site] 00137
10 register_decoding_hook [function] [call site] 00138
10 read_u32::<B> [function] [call site] 00139
10 register_decoding_hook [function] [call site] 00140
10 read_u16::<B> [function] [call site] 00141
10 register_decoding_hook [function] [call site] 00142
10 read_u16::<B> [function] [call site] 00143
10 register_decoding_hook [function] [call site] 00144
10 GenericReader::stream_position [function] [call site] 00145
11 GenericReader::stream_position [function] [call site] 00146
12 GenericReader::stream_position [function] [call site] 00147
10 ImageResult::min [function] [call site] 00157
10 TgaDecoder::expand_color_map [function] [call site] 00158
11 test::mut_iter [function] [call site] 00159
12 ImageBuffer::new [function] [call site] 00160
13 ImageBuffer::image_buffer_len [function] [call site] 00161
14 and_then [function] [call site] 00163
14 u64::checked_mul [function] [call site] 00164
14 and_then [function] [call site] 00165
14 u64::checked_mul [function] [call site] 00166
13 Option::expect [function] [call site] 00167
13 Cicp::into_rgb [function] [call site] 00168
12 ImageBuffer::par_enumerate_pixels_mut [function] [call site] 00169
13 ImageBuffer::width [function] [call site] 00170
13 ImageBuffer::pixels_mut [function] [call site] 00171
14 ImageBuffer::subpixels_mut [function] [call site] 00172
15 ImageBuffer::image_buffer_len [function] [call site] 00173
15 Option::unwrap [function] [call site] 00174
14 <P [call site] 00175
13 &mut [call site] 00176
12 EnumeratePixelsMutPar::first_mut [function] [call site] 00177
12 color::Rgb [function] [call site] 00179
11 bool::chunks_exact_mut [function] [call site] 00181
11 MetadataBlock::get [function] [call site] 00182
12 Pixels::clone [function] [call site] 00186
12 ImageError::Parameter [function] [call site] 00187
12 ParameterError::from_kind [function] [call site] 00188
12 core::mem::replace [function] [call site] 00189
13 ImageLayout::dimensions [function] [call site] 00190
13 ImageLayout::dimensions [function] [call site] 00191
13 overlay_bounds_ext [function] [call site] 00192
14 Enlargeable::clamp_from [function] [call site] 00193
15 Self::max_value [function] [call site] 00194
15 Enlargeable::to_larger [function] [call site] 00195
15 Self::max_value [function] [call site] 00196
15 Self::min_value [function] [call site] 00197
15 Enlargeable::to_larger [function] [call site] 00198
15 Self::min_value [function] [call site] 00199
15 Enlargeable::clamp_from [function] [call site] 00200
15 Self::unwrap [function] [call site] 00201
14 Enlargeable::clamp_from [function] [call site] 00202
14 saturating_add [function] [call site] 00203
14 Enlargeable::clamp_from [function] [call site] 00204
14 Option::saturating_add [function] [call site] 00205
14 Enlargeable::clamp_from [function] [call site] 00206
14 saturating_add [function] [call site] 00207
14 Enlargeable::clamp_from [function] [call site] 00208
14 Option::saturating_add [function] [call site] 00209
14 Enlargeable::clamp_from [function] [call site] 00210
14 Enlargeable::clamp_from [function] [call site] 00212
14 Enlargeable::clamp_from [function] [call site] 00214
14 Enlargeable::clamp_from [function] [call site] 00216
14 Option::clamp [function] [call site] 00217
14 Enlargeable::clamp_from [function] [call site] 00218
14 saturating_mul [function] [call site] 00219
14 Enlargeable::clamp_from [function] [call site] 00221
14 Option::saturating_mul [function] [call site] 00222
14 Enlargeable::clamp_from [function] [call site] 00224
13 GenericImageView::unsafe_get_pixel [function] [call site] 00225
14 GenericImageView::unsafe_get_pixel [function] [call site] 00226
15 GenericImageView::unsafe_get_pixel [function] [call site] 00227
13 GenericImage::unsafe_put_pixel [function] [call site] 00228
14 GenericImage::unsafe_put_pixel [function] [call site] 00229
15 GenericImage::unsafe_put_pixel [function] [call site] 00230
12 MetadataBlock::Unsupported [function] [call site] 00231
12 UnsupportedError::format_hint [function] [call site] 00232
13 Pixels::clone [function] [call site] 00233
12 ImageError::Parameter [function] [call site] 00236
12 ParameterError::from_kind [function] [call site] 00237
12 ImageError::Unsupported [function] [call site] 00239
12 UnsupportedError::from_format_and_kind [function] [call site] 00240
12 Pixels::clone [function] [call site] 00241
12 UnsupportedErrorKind::GenericFeature [function] [call site] 00242
12 GenericReader::read_to_string [function] [call site] 00243
13 GenericReader::read_to_string [function] [call site] 00244
14 GenericReader::read_to_string [function] [call site] 00245
11 Option::copy_from_slice [function] [call site] 00246
11 ImageError::Decoding [function] [call site] 00248
11 DecodingError::new [function] [call site] 00249
11 ImageReader::decode_into [function] [call site] 00250
12 Box::prepare_image [function] [call site] 00251
12 ImageReader::fill_header_metadata_if_any [function] [call site] 00252
12 &RgbaImage::len [function] [call site] 00253
12 ColorType::try_from [function] [call site] 00254
12 ImageLayout::total_bytes [function] [call site] 00255
12 Result::ok [function] [call site] 00256
12 ImageError::Parameter [function] [call site] 00259
12 ParameterError::from_kind [function] [call site] 00260
12 Limits::check_layout_dimensions [function] [call site] 00261
13 Limits::check_dimensions [function] [call site] 00262
14 ImageError::Limits [function] [call site] 00264
14 error::LimitError::from_kind [function] [call site] 00265
14 ImageError::Limits [function] [call site] 00267
14 error::LimitError::from_kind [function] [call site] 00268
12 Box::read_image [function] [call site] 00270
13 Box::read_image [function] [call site] 00271
12 FlatSamples::as_mut [function] [call site] 00273
11 as_chunks::<2> [function] [call site] 00274
11 test::mut_iter [function] [call site] 00275
12 ImageBuffer::new [function] [call site] 00276
12 ImageBuffer::par_enumerate_pixels_mut [function] [call site] 00277
12 EnumeratePixelsMutPar::first_mut [function] [call site] 00278
12 color::Rgb [function] [call site] 00280
11 bool::chunks_exact_mut [function] [call site] 00282
11 u16::from_le_bytes [function] [call site] 00283
11 MetadataBlock::get [function] [call site] 00284
11 Option::copy_from_slice [function] [call site] 00285
11 ImageError::Decoding [function] [call site] 00287
11 DecodingError::new [function] [call site] 00288
11 ImageReader::decode_into [function] [call site] 00289
9 Option::insert [function] [call site] 00291
9 GenericReader::new [function] [call site] 00292
8 ImageError::Parameter [function] [call site] 00295
8 ParameterError::from_kind [function] [call site] 00296
8 Limits::check_layout_dimensions [function] [call site] 00297
8 Box::read_image [function] [call site] 00298
8 FlatSamples::as_mut [function] [call site] 00300
7 ColorType::channel_count [function] [call site] 00301
8 ImageReader::decode_into [function] [call site] 00302
8 ColorType::channel_count [function] [call site] 00303
6 Result::chars [function] [call site] 00304
6 &str::chars [function] [call site] 00307
6 ImageReader::decode_into [function] [call site] 00309
7 Box::prepare_image [function] [call site] 00310
7 ImageReader::fill_header_metadata_if_any [function] [call site] 00311
7 &RgbaImage::len [function] [call site] 00312
7 ColorType::try_from [function] [call site] 00313
7 ImageLayout::total_bytes [function] [call site] 00314
7 Result::ok [function] [call site] 00315
7 ImageError::Parameter [function] [call site] 00318
7 ParameterError::from_kind [function] [call site] 00319
7 Limits::check_layout_dimensions [function] [call site] 00320
7 Box::read_image [function] [call site] 00321
7 FlatSamples::as_mut [function] [call site] 00323
5 ColorType::try_from [function] [call site] 00324
5 ImageLayout::total_bytes [function] [call site] 00325
5 Result::ok [function] [call site] 00326
5 ImageError::Parameter [function] [call site] 00329
5 ParameterError::from_kind [function] [call site] 00330
5 Limits::check_layout_dimensions [function] [call site] 00331
5 Box::read_image [function] [call site] 00332
5 FlatSamples::as_mut [function] [call site] 00334
3 ImageReader::decode_into [function] [call site] 00335
3 ImageType::is_color_mapped [function] [call site] 00336
3 ImageError::Decoding [function] [call site] 00338
3 DecodingError::new [function] [call site] 00339
3 ImageReader::decode_into [function] [call site] 00340
3 ImageError::Decoding [function] [call site] 00343
3 DecodingError::new [function] [call site] 00344
3 ImageReader::decode_into [function] [call site] 00345
3 ImageError::Unsupported [function] [call site] 00347
3 UnsupportedError::from_format_and_kind [function] [call site] 00348
3 ImageReader::decode_into [function] [call site] 00349
3 UnsupportedErrorKind::GenericFeature [function] [call site] 00350
3 ImageReader::decode_into [function] [call site] 00351
4 Box::prepare_image [function] [call site] 00352
4 ImageReader::fill_header_metadata_if_any [function] [call site] 00353
4 &RgbaImage::len [function] [call site] 00354
4 ColorType::try_from [function] [call site] 00355
4 ImageLayout::total_bytes [function] [call site] 00356
4 Result::ok [function] [call site] 00357
4 ImageError::Parameter [function] [call site] 00360
4 ParameterError::from_kind [function] [call site] 00361
4 Limits::check_layout_dimensions [function] [call site] 00362
4 Box::read_image [function] [call site] 00363
4 FlatSamples::as_mut [function] [call site] 00365
3 ImageType::is_color_mapped [function] [call site] 00366
3 checked_sub [function] [call site] 00367
3 ok_or_else [function] [call site] 00368
3 ImageError::Decoding [function] [call site] 00369
3 DecodingError::new [function] [call site] 00370
3 ImageReader::decode_into [function] [call site] 00371
3 ImageType::is_color [function] [call site] 00372
3 ImageError::Unsupported [function] [call site] 00376
3 UnsupportedError::from_format_and_kind [function] [call site] 00377
3 ImageReader::decode_into [function] [call site] 00378
3 UnsupportedErrorKind::Color [function] [call site] 00379
3 ExtendedColorType::Unknown [function] [call site] 00380
3 GenericReader::read_exact [function] [call site] 00381
3 ImageError::Unsupported [function] [call site] 00384
3 UnsupportedError::from_format_and_kind [function] [call site] 00385
3 ImageReader::decode_into [function] [call site] 00386
3 UnsupportedErrorKind::GenericFeature [function] [call site] 00387
3 ImageReader::decode_into [function] [call site] 00388
3 GenericReader::new [function] [call site] 00390
4 GenericReader::new [function] [call site] 00392
4 GenericReader::new [function] [call site] 00393
3 R::read_exact_vec [function] [call site] 00394
4 io::Result::len [function] [call site] 00395
5 Result::chars [function] [call site] 00396
5 ColorType::channel_count [function] [call site] 00397
5 Result::chars [function] [call site] 00398
5 &str::chars [function] [call site] 00401
5 ImageReader::decode_into [function] [call site] 00403
4 io::Result::try_reserve [function] [call site] 00404
4 GenericReader::read_to_end [function] [call site] 00406
5 GenericReader::read_to_end [function] [call site] 00407
4 io::Result::truncate [function] [call site] 00409
4 to_image_err [function] [call site] 00411
5 ImageError::Decoding [function] [call site] 00412
5 DecodingError::new [function] [call site] 00413
5 ImageFormatHint::Exact [function] [call site] 00414
5 GenericReader::read_to_string [function] [call site] 00415
6 GenericReader::read_to_string [function] [call site] 00416
4 unwrap_or [function] [call site] 00417
4 ImageReader::decode_into [function] [call site] 00418
3 ImageType::is_color_mapped [function] [call site] 00419
3 GenericReader::new [function] [call site] 00421
3 as_chunks::<2> [function] [call site] 00422
3 test::mut_iter [function] [call site] 00423
3 Self::extend_from_slice [function] [call site] 00424
3 expand_rgb15_to_rgb24 [function] [call site] 00425
4 u16::from_le_bytes [function] [call site] 00426
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] 00427
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] 00428
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] 00429
2 std::io::Cursor::new [function] [call site] 00432
3 GenericReader::new [function] [call site] 00434
3 GenericReader::new [function] [call site] 00435
2 Box::prepare_image [function] [call site] 00436
3 Box::prepare_image [function] [call site] 00437
2 ImageLayout::total_bytes [function] [call site] 00438
3 Enlargeable::clamp_from [function] [call site] 00439
3 Enlargeable::clamp_from [function] [call site] 00440
3 Enlargeable::clamp_from [function] [call site] 00441
3 ColorType::bytes_per_pixel [function] [call site] 00442
3 saturating_mul [function] [call site] 00443
2 Box::read_image [function] [call site] 00445
3 Box::read_image [function] [call site] 00446