Fuzz introspector: fuzz_chunked_reader
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
203 247 BytesStart::wrap call site: 00247 NamespaceResolver::push
139 107 IterState::new call site: 00107 NsReader::read_event_into
99 4 Reader::from_reader call site: 00004 NsReader::read_resolved_event
3 0 EP call site: 00000

Fuzzer calltree

0 fuzz_target [function] [call site] 00000
1 split_first [function] [call site] 00001
1 Reader::from_reader [function] [call site] 00003
2 ReaderState::default [function] [call site] 00004
3 Config::default [function] [call site] 00005
3 DecodingReader::new [function] [call site] 00006
4 new_decoder_without_bom_handling [function] [call site] 00007
4 into_boxed_slice [function] [call site] 00008
4 DecodingReader::new [function] [call site] 00010
5 new_decoder_without_bom_handling [function] [call site] 00011
5 into_boxed_slice [function] [call site] 00012
5 DecodingReader::new [function] [call site] 00014
3 DecodingReader::new [function] [call site] 00015
4 new_decoder_without_bom_handling [function] [call site] 00016
4 into_boxed_slice [function] [call site] 00017
4 DecodingReader::new [function] [call site] 00019
3 EncodingRef::Implicit [function] [call site] 00020
1 BufReader::with_capacity [function] [call site] 00021
1 DecodingReader::new [function] [call site] 00022
2 new_decoder_without_bom_handling [function] [call site] 00023
2 into_boxed_slice [function] [call site] 00024
2 DecodingReader::new [function] [call site] 00026
1 DecodingReader::new [function] [call site] 00027
1 NsReader::read_event_into [function] [call site] 00028
2 NsReader::read_event_impl [function] [call site] 00029
3 NsReader::pop [function] [call site] 00030
4 NamespaceResolver::pop [function] [call site] 00031
5 NamespaceResolver::set_level [function] [call site] 00032
6 to_writer [function] [call site] 00033
7 ByteBuf::deserialize [function] [call site] 00034
8 deserialize_byte_buf [function] [call site] 00035
7 Serializer::new [function] [call site] 00036
6 rposition [function] [call site] 00037
6 BytesPI::target [function] [call site] 00040
7 reserved_name [function] [call site] 00041
8 NsReader::from_str [function] [call site] 00042
9 DecodingReader::new [function] [call site] 00043
10 new_decoder_without_bom_handling [function] [call site] 00044
10 into_boxed_slice [function] [call site] 00045
10 DecodingReader::new [function] [call site] 00047
9 Reader::from_str [function] [call site] 00048
10 NsReader::from_reader [function] [call site] 00049
11 DecodingReader::new [function] [call site] 00050
11 Reader::from_reader [function] [call site] 00051
10 as_bytes [function] [call site] 00052
10 EncodingRef::Explicit [function] [call site] 00053
10 NsReader::from_reader [function] [call site] 00054
10 as_bytes [function] [call site] 00055
8 NsReader::read_resolved_event [function] [call site] 00056
9 NsReader::read_event_impl [function] [call site] 00057
9 NamespaceResolver::resolve_event [function] [call site] 00059
10 NamespaceResolver::resolve_prefix [function] [call site] 00060
11 to_writer [function] [call site] 00061
11 Result::find [function] [call site] 00063
11 namespace [function] [call site] 00064
12 NsReader::from_str [function] [call site] 00065
12 NsReader::read_resolved_event [function] [call site] 00066
12 NsReader::resolver [function] [call site] 00067
12 NamespaceResolver::max_namespace_bindings [function] [call site] 00068
12 usize::clone [function] [call site] 00069
12 NsReader::read_resolved_event [function] [call site] 00070
12 NsReader::resolver [function] [call site] 00071
12 NamespaceResolver::max_namespace_bindings [function] [call site] 00072
12 NsReader::read_resolved_event [function] [call site] 00073
12 NsReader::resolver [function] [call site] 00074
12 NamespaceResolver::max_namespace_bindings [function] [call site] 00075
12 NsReader::read_resolved_event [function] [call site] 00076
12 NsReader::resolver [function] [call site] 00077
12 NamespaceResolver::max_namespace_bindings [function] [call site] 00078
12 NsReader::read_resolved_event [function] [call site] 00079
12 NsReader::resolver [function] [call site] 00080
12 NamespaceResolver::max_namespace_bindings [function] [call site] 00081
11 Result::find [function] [call site] 00082
11 xml_decoding_reader::non_ascii_within_prefix [function] [call site] 00083
12 &str::to_vec [function] [call site] 00084
12 extend_from_slice [function] [call site] 00085
12 extend_from_slice [function] [call site] 00086
12 Reader::from_reader [function] [call site] 00087
12 DecodingReader::new [function] [call site] 00088
13 new_decoder_without_bom_handling [function] [call site] 00089
13 into_boxed_slice [function] [call site] 00090
13 DecodingReader::new [function] [call site] 00092
12 QName::as_ref [function] [call site] 00093
12 DecodingReader::new [function] [call site] 00094
12 DecodingReader::new [function] [call site] 00095
12 NsReader::read_event_into [function] [call site] 00097
13 NsReader::read_event_impl [function] [call site] 00098
12 Result::unwrap [function] [call site] 00099
12 BytesDecl::encoder [function] [call site] 00100
13 BytesDecl::encoding [function] [call site] 00101
14 BytesStart::try_get_attribute [function] [call site] 00102
15 BytesStart::attributes [function] [call site] 00103
16 Attributes::wrap [function] [call site] 00104
17 IterState::new [function] [call site] 00105
18 State::Next [function] [call site] 00106
18 DecodingReader::new [function] [call site] 00107
15 Attributes::with_checks [function] [call site] 00108
15 QName::as_ref [function] [call site] 00109
14 Attr::map [function] [call site] 00113
15 Attr::DoubleQ [function] [call site] 00114
15 xml_decoding_reader::truncated_utf16_at_eof [function] [call site] 00115
16 xml_decoding_reader::read_until_error [function] [call site] 00116
17 DecodingReader::new [function] [call site] 00117
17 Reader::from_reader [function] [call site] 00118
17 DecodingReader::new [function] [call site] 00119
17 Writer::config_mut [function] [call site] 00120
17 Config::trim_text [function] [call site] 00121
17 NsReader::read_event_into [function] [call site] 00122
15 xml_decoding_reader::truncated_utf16_at_eof [function] [call site] 00123
15 Attr::SingleQ [function] [call site] 00124
15 xml_decoding_reader::truncated_utf16_at_eof [function] [call site] 00125
15 xml_decoding_reader::truncated_utf16_at_eof [function] [call site] 00126
15 Attr::Empty [function] [call site] 00127
15 xml_decoding_reader::truncated_utf16_at_eof [function] [call site] 00128
15 Attr::Unquoted [function] [call site] 00129
15 xml_decoding_reader::truncated_utf16_at_eof [function] [call site] 00130
15 xml_decoding_reader::truncated_utf16_at_eof [function] [call site] 00131
14 Attr::map [function] [call site] 00132
14 transpose [function] [call site] 00133
13 Option::and_then [function] [call site] 00134
13 and_then [function] [call site] 00137
13 Encoding::for_label [function] [call site] 00138
13 as_bytes [function] [call site] 00139
12 DecodingReader::get_mut [function] [call site] 00140
12 DecodingReader::set_encoding [function] [call site] 00141
13 xml_decoding_reader::test_koi8_r_encoding [function] [call site] 00142
14 Reader::from_reader [function] [call site] 00143
14 DecodingReader::new [function] [call site] 00144
14 Writer::config_mut [function] [call site] 00145
14 Config::trim_text [function] [call site] 00146
14 NsReader::read_event_into [function] [call site] 00147
14 BytesText::xml10_content [function] [call site] 00148
15 escape::normalize_xml10_eols [function] [call site] 00149
16 as_bytes [function] [call site] 00150
16 memchr::memchr [function] [call site] 00151
16 String::with_capacity [function] [call site] 00152
16 DetectedEncoding::bom_len [function] [call site] 00153
16 push_str [function] [call site] 00154
16 normalize_xml10_eol_step [function] [call site] 00155
17 as_bytes [function] [call site] 00156
17 NamespaceResolver::push [function] [call site] 00157
18 checked_add [function] [call site] 00158
18 NamespaceError::TooDeeplyNested [function] [call site] 00160
18 BytesStart::attributes_raw [function] [call site] 00161
18 &str::contains [function] [call site] 00162
18 attributes [function] [call site] 00164
19 benchmark_group [function] [call site] 00165
19 bench_function [function] [call site] 00166
19 to_writer [function] [call site] 00167
19 Reader::from_str [function] [call site] 00168
19 Writer::config_mut [function] [call site] 00169
19 std::hint::black_box [function] [call site] 00170
19 NsReader::read_event [function] [call site] 00171
20 NsReader::read_event_impl [function] [call site] 00172
19 attributes [function] [call site] 00173
19 bench_function [function] [call site] 00175
19 to_writer [function] [call site] 00176
19 Reader::from_str [function] [call site] 00177
19 Writer::config_mut [function] [call site] 00178
19 std::hint::black_box [function] [call site] 00179
19 NsReader::read_event [function] [call site] 00180
19 attributes [function] [call site] 00181
19 Attributes::with_checks [function] [call site] 00182
19 bench_function [function] [call site] 00184
19 to_writer [function] [call site] 00185
19 Reader::from_str [function] [call site] 00186
19 Writer::config_mut [function] [call site] 00187
19 std::hint::black_box [function] [call site] 00188
19 NsReader::read_event [function] [call site] 00189
19 reserved_name [function] [call site] 00190
19 quick_xml::name::QName [function] [call site] 00191
19 BytesStart::try_get_attribute [function] [call site] 00192
19 Result::unwrap [function] [call site] 00193
19 IdentityHasher::finish [function] [call site] 00194
18 QName::as_namespace_binding [function] [call site] 00195
19 starts_with [function] [call site] 00196
19 as_bytes [function] [call site] 00197
19 BytesPI::target [function] [call site] 00198
19 PrefixDeclaration::Named [function] [call site] 00201
18 NamespaceResolver::add [function] [call site] 00202
19 DetectedEncoding::bom_len [function] [call site] 00205
19 saturating_sub [function] [call site] 00206
19 NamespaceError::TooManyBindings [function] [call site] 00208
19 DetectedEncoding::bom_len [function] [call site] 00209
19 push_str [function] [call site] 00210
19 NamespaceResolver::push [function] [call site] 00211
19 DetectedEncoding::bom_len [function] [call site] 00212
19 NamespaceError::InvalidXmlPrefixBind [function] [call site] 00214
19 to_string [function] [call site] 00215
20 DecodingReader::new [function] [call site] 00216
20 to_writer [function] [call site] 00217
21 ByteBuf::deserialize [function] [call site] 00218
21 Serializer::new [function] [call site] 00219
19 NamespaceError::InvalidXmlnsPrefixBind [function] [call site] 00222
19 to_string [function] [call site] 00223
19 NamespaceError::EmptyPrefixBind [function] [call site] 00225
19 to_string [function] [call site] 00226
19 NamespaceError::InvalidPrefixForXml [function] [call site] 00228
19 to_string [function] [call site] 00229
19 NamespaceError::InvalidPrefixForXmlns [function] [call site] 00231
19 to_string [function] [call site] 00232
19 DetectedEncoding::bom_len [function] [call site] 00233
19 saturating_sub [function] [call site] 00234
19 NamespaceError::TooManyBindings [function] [call site] 00236
19 DetectedEncoding::bom_len [function] [call site] 00237
19 push_str [function] [call site] 00238
19 push_str [function] [call site] 00239
19 NamespaceResolver::push [function] [call site] 00240
19 DetectedEncoding::bom_len [function] [call site] 00241
19 DetectedEncoding::bom_len [function] [call site] 00242
18 Namespace [function] [call site] 00244
18 Attributes::new [function] [call site] 00245
19 BytesStart::wrap [function] [call site] 00246
20 Cow::Borrowed [function] [call site] 00247
18 QName::as_ref [function] [call site] 00248
18 SpecIter::next [function] [call site] 00249
19 to_writer [function] [call site] 00250
19 Reader::buffer_position [function] [call site] 00251
19 assert_error_matches [function] [call site] 00252
19 unwrap_or [function] [call site] 00253
19 Reader::buffer_position [function] [call site] 00255
19 split_at [function] [call site] 00256
19 std::str::from_utf8 [function] [call site] 00258
19 Reader::buffer_position [function] [call site] 00261
19 split_at [function] [call site] 00262
19 std::str::from_utf8 [function] [call site] 00264
19 xml::start_position_at_end_is_empty [function] [call site] 00266
20 Attributes::new [function] [call site] 00267
20 Attributes::html [function] [call site] 00268
21 BytesStart::wrap [function] [call site] 00269
20 Attributes::new [function] [call site] 00270
19 std::str::from_utf8 [function] [call site] 00272
18 Option::unwrap [function] [call site] 00274
18 Attr::map [function] [call site] 00275
18 QName::as_namespace_binding [function] [call site] 00276
18 NamespaceError::DuplicateBinding [function] [call site] 00279
18 to_string [function] [call site] 00280
17 DetectedEncoding::bom_len [function] [call site] 00282
17 NamespaceResolver::push [function] [call site] 00283
16 memchr::memchr [function] [call site] 00284
16 push_str [function] [call site] 00285
16 normalize_xml10_eol_step [function] [call site] 00286
16 BytesPI::target [function] [call site] 00287
16 push_str [function] [call site] 00288
16 decode_into [function] [call site] 00289
17 push_str [function] [call site] 00290
17 std::str::from_utf8 [function] [call site] 00291
17 new_decoder_without_bom_handling [function] [call site] 00293
17 max_utf8_buffer_length_without_replacement [function] [call site] 00295
17 DetectedEncoding::bom_len [function] [call site] 00296
17 decode_to_string_without_replacement [function] [call site] 00298
17 EncodingError::Other [function] [call site] 00301
16 Cow::Borrowed [function] [call site] 00302
15 Cow::Owned [function] [call site] 00303
15 escape::normalize_xml10_eols [function] [call site] 00304
15 BytesStart::into_owned [function] [call site] 00305
16 Cow::Owned [function] [call site] 00306
16 BytesStart::into_owned [function] [call site] 00307
17 Cow::Owned [function] [call site] 00308
17 BytesStart::into_owned [function] [call site] 00309
13 &str::is_ascii_compatible [function] [call site] 00310
13 is_ascii_compatible [function] [call site] 00311
13 is_utf16 [function] [call site] 00312
13 is_utf16 [function] [call site] 00313
13 new_decoder_without_bom_handling [function] [call site] 00314
12 push_str [function] [call site] 00315
11 namespace [function] [call site] 00316
11 ResolveResult::Unknown [function] [call site] 00317
11 DecodingReader::into_inner [function] [call site] 00318
11 R::to_string [function] [call site] 00319
12 DecodingReader::new [function] [call site] 00320
12 to_writer [function] [call site] 00321
10 reserved_name [function] [call site] 00323
10 xml_decoding_reader::non_ascii_within_prefix [function] [call site] 00324
10 NamespaceResolver::resolve_prefix [function] [call site] 00326
10 reserved_name [function] [call site] 00327
10 xml_decoding_reader::non_ascii_within_prefix [function] [call site] 00328
10 NamespaceResolver::resolve_prefix [function] [call site] 00330
10 reserved_name [function] [call site] 00331
10 xml_decoding_reader::non_ascii_within_prefix [function] [call site] 00332
6 Attr::map [function] [call site] 00334
5 saturating_sub [function] [call site] 00337
3 read_event_impl [function] [call site] 00338
4 detect_encoding [function] [call site] 00339
4 can_be_refined [function] [call site] 00340
4 crate::reader::EncodingRef::BomDetected [function] [call site] 00341
4 remove_utf8_bom [function] [call site] 00343
4 Event::GeneralRef [function] [call site] 00346
4 BytesRef::wrap [function] [call site] 00347
4 Event::Text [function] [call site] 00350
4 emit_text [function] [call site] 00351
4 Error::IllFormed [function] [call site] 00353
4 Event::Text [function] [call site] 00355
4 emit_text [function] [call site] 00356
4 Error::IllFormed [function] [call site] 00358
4 Event::Text [function] [call site] 00360
4 emit_text [function] [call site] 00361
4 Error::IllFormed [function] [call site] 00363
4 skip_whitespace [function] [call site] 00365
4 read_text [function] [call site] 00366
4 Event::Text [function] [call site] 00368
4 emit_text [function] [call site] 00369
4 Event::Text [function] [call site] 00371
4 emit_text [function] [call site] 00372
4 emit_text [function] [call site] 00373
4 io::Result::is_empty [function] [call site] 00374
4 Event::Text [function] [call site] 00377
4 Event::End [function] [call site] 00380
4 close_expanded_empty [function] [call site] 00381
3 NsReader::process_event [function] [call site] 00383
4 NamespaceResolver::push [function] [call site] 00384
4 Event::Start [function] [call site] 00386
4 NamespaceResolver::push [function] [call site] 00387
4 Event::Empty [function] [call site] 00389
4 Event::End [function] [call site] 00391
1 std::hint::black_box [function] [call site] 00392
1 std::hint::black_box [function] [call site] 00393
1 reserved_name [function] [call site] 00394
1 attributes [function] [call site] 00395
1 std::hint::black_box [function] [call site] 00397
1 std::hint::black_box [function] [call site] 00398
1 std::hint::black_box [function] [call site] 00399
1 escape [function] [call site] 00400
2 _escape [function] [call site] 00401
3 &str::into [function] [call site] 00402
4 std::str::from_utf8 [function] [call site] 00404
4 new_decoder_without_bom_handling [function] [call site] 00406
4 max_utf8_buffer_length_without_replacement [function] [call site] 00408
4 DetectedEncoding::bom_len [function] [call site] 00409
4 decode_to_string_without_replacement [function] [call site] 00411
4 EncodingError::Other [function] [call site] 00414
3 &str::as_bytes [function] [call site] 00415
3 to_writer [function] [call site] 00416
3 Result::enumerate [function] [call site] 00417
3 Result::find [function] [call site] 00418
3 escape_chars [function] [call site] 00419
3 String::with_capacity [function] [call site] 00422
3 DetectedEncoding::bom_len [function] [call site] 00423
3 escape_char [function] [call site] 00426
4 &mut [call site] 00427
5 &mut [call site] 00428
6 &mut [call site] 00429
4 &mut [call site] 00431
4 &mut [call site] 00432
4 &mut [call site] 00433
4 &mut [call site] 00434
4 &mut [call site] 00435
4 &mut [call site] 00436
4 &mut [call site] 00437
4 &mut [call site] 00438
4 &mut [call site] 00439
3 io::Result::unwrap [function] [call site] 00441
3 BytesPI::target [function] [call site] 00442
4 reserved_name [function] [call site] 00443
3 &mut [call site] 00444
3 io::Result::unwrap [function] [call site] 00445
3 Cow::Owned [function] [call site] 00446
2 assert_error_matches [function] [call site] 00447
1 std::hint::black_box [function] [call site] 00448
1 reserved_name [function] [call site] 00449