Fuzz introspector: raw_deserialize_utf8_lossy
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
41 35 Document::len call site: 00035 Serializer::serialize_newtype_struct
17 105 SerializerHint::take call site: 00105 ParsedDecimal128::new
15 136 Serializer::new call site: 00136 Serializer::serialize_newtype_struct
14 90 Timestamp::from_le_bytes call site: 00090 ElementType::from
6 77 Timestamp::from_le_bytes call site: 00077 ParsedDecimal128::new
3 0 EP call site: 00000 ParsedDecimal128::new
3 132 ParsedDecimal128::new call site: 00132
2 31 ParsedDecimal128::new call site: 00031 serialize_to_buffer

Fuzzer calltree

0 fuzz_target [function] [call site] 00000
1 bson::deserialize_from_slice::<Utf8Lossy<Document>> [function] [call site] 00001
1 bson::serialize_to_vec [function] [call site] 00002
2 ParsedDecimal128::new [function] [call site] 00003
3 view_bits_mut::<Msb0> [function] [call site] 00004
3 bytes.view_bits::<Msb0> [function] [call site] 00006
3 bytes.view_bits::<Msb0>().load_le::<u128> [function] [call site] 00007
3 view_bits::<Msb0> [function] [call site] 00008
3 Exponent::from_bits [function] [call site] 00011
4 view_bits_mut::<Msb0> [function] [call site] 00012
4 copy_from_bitslice [function] [call site] 00013
3 Coefficient::from_bits [function] [call site] 00015
4 view_bits_mut::<Msb0> [function] [call site] 00016
4 Document::len [function] [call site] 00017
5 Document::len [function] [call site] 00018
6 Document::len [function] [call site] 00019
4 copy_from_bitslice [function] [call site] 00020
4 copy_from_bitslice [function] [call site] 00021
4 Exponent::value [function] [call site] 00023
5 Exponent::raw [function] [call site] 00024
6 0.view_bits::<Msb0> [function] [call site] 00025
6 0.view_bits::<Msb0>().load_be::<u16> [function] [call site] 00026
4 Error::decimal128 [function] [call site] 00028
3 Coefficient [function] [call site] 00031
2 serialize_to_buffer [function] [call site] 00032
3 raw::Serializer::new [function] [call site] 00033
4 Document::len [function] [call site] 00034
5 Document::len [function] [call site] 00035
3 Uuid::serialize [function] [call site] 00036
4 Serializer::serialize_newtype_struct [function] [call site] 00037
5 Serializer::is_human_readable [function] [call site] 00038
6 unwrap_or [function] [call site] 00039
5 Uuid::serialize [function] [call site] 00040
6 Serializer::serialize_newtype_struct [function] [call site] 00041
5 crate::Uuid::parse_str [function] [call site] 00042
6 uuid::Uuid::parse_str [function] [call site] 00043
7 uuid::Uuid::parse_str [function] [call site] 00044
7 Utf8Lossy::as_ref [function] [call site] 00045
8 Utf8Lossy::deref [function] [call site] 00046
8 &Self::Target::as_ref [function] [call site] 00047
9 Utf8Lossy::deref [function] [call site] 00048
9 &Self::Target::as_ref [function] [call site] 00049
7 Result::map_err [function] [call site] 00050
7 Uuid::from_external_uuid [function] [call site] 00052
6 Utf8Lossy::as_ref [function] [call site] 00053
6 Result::map_err [function] [call site] 00054
6 Uuid::from_external_uuid [function] [call site] 00056
5 Result::map_err [function] [call site] 00057
5 Bson::Binary [function] [call site] 00059
5 Self::into [function] [call site] 00060
5 Bson::Binary [function] [call site] 00062
5 Error::custom [function] [call site] 00064
6 Error::serialization [function] [call site] 00065
7 ElementType::from [function] [call site] 00066
7 Error::with_message [function] [call site] 00067
8 CString::into_string [function] [call site] 00069
5 Serializer::is_human_readable [function] [call site] 00070
5 Uuid::serialize [function] [call site] 00071
5 Document::from_reader [function] [call site] 00072
6 crate::raw::RawDocumentBuf::from_reader [function] [call site] 00073
7 crate::raw::reader_to_vec [function] [call site] 00074
8 Result::read_exact [function] [call site] 00075
8 Timestamp::from_le_bytes [function] [call site] 00076
9 CowByteBuffer::copy_from_slice [function] [call site] 00077
10 CowByteBuffer::get_owned_buffer [function] [call site] 00078
11 get_or_insert_with [function] [call site] 00079
11 Cow::Owned [function] [call site] 00080
11 ParsedDecimal128::new [function] [call site] 00081
10 CowByteBuffer::copy_from_slice [function] [call site] 00083
9 CowByteBuffer::copy_from_slice [function] [call site] 00084
9 Timestamp::from_le_bytes [function] [call site] 00085
10 CowByteBuffer::copy_from_slice [function] [call site] 00086
10 CowByteBuffer::copy_from_slice [function] [call site] 00087
10 Timestamp::from_le_bytes [function] [call site] 00088
10 Timestamp::from_le_bytes [function] [call site] 00089
9 Timestamp::from_le_bytes [function] [call site] 00090
8 Error::malformed_bytes [function] [call site] 00092
9 ElementType::from [function] [call site] 00093
9 Error::with_message [function] [call site] 00094
8 Vec::with_capacity [function] [call site] 00095
8 Document::extend [function] [call site] 00096
9 Document::insert [function] [call site] 00097
10 Document::insert [function] [call site] 00098
11 Document::insert [function] [call site] 00099
11 Self::into [function] [call site] 00100
11 BT::into [function] [call site] 00101
10 Self::into [function] [call site] 00102
10 BT::into [function] [call site] 00103
8 SerializerHint::take [function] [call site] 00104
9 std::mem::replace [function] [call site] 00105
8 SerializerHint::read_to_end [function] [call site] 00106
7 Decimal128::from_bytes [function] [call site] 00108
6 u16::try_into [function] [call site] 00109
5 crate::error::Result::map_err [function] [call site] 00111
5 Bson::Document [function] [call site] 00113
5 Bson::Array [function] [call site] 00115
5 Document::into_iter [function] [call site] 00116
6 Document::into_iter [function] [call site] 00117
5 test_ser_map [function] [call site] 00118
6 TestLock::run_concurrently [function] [call site] 00119
6 ParsedDecimal128::new [function] [call site] 00122
7 view_bits_mut::<Msb0> [function] [call site] 00123
7 bytes.view_bits::<Msb0> [function] [call site] 00125
7 bytes.view_bits::<Msb0>().load_le::<u128> [function] [call site] 00126
7 view_bits::<Msb0> [function] [call site] 00127
7 Exponent::from_bits [function] [call site] 00130
7 Coefficient::from_bits [function] [call site] 00131
7 Coefficient [function] [call site] 00132
6 Document::insert [function] [call site] 00133
6 Document::insert [function] [call site] 00134
6 Serializer::new [function] [call site] 00135
7 Document::len [function] [call site] 00136
6 Uuid::serialize [function] [call site] 00137
7 Serializer::serialize_newtype_struct [function] [call site] 00138
6 std::result::Result::unwrap [function] [call site] 00139
5 Error::custom [function] [call site] 00144
5 Uuid::serialize [function] [call site] 00146
5 Uuid::serialize [function] [call site] 00147
3 std::result::Result::map_err [function] [call site] 00148
3 Uuid::serialize [function] [call site] 00149