Fuzz introspector: fuzz/librawspeed/decompressors/Cr2LJpegDecoder.cpp
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
229 0 EP call site: 00000 rawspeed::Cr2LJpegDecoder::decode
3 232 LLVMFuzzerTestOneInput call site: 00232 rawspeed::RawImageData::getU16DataAsUncroppedArray2DRef
1 230 LLVMFuzzerTestOneInput call site: 00230

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 rawspeed::ByteStream::get [function] [call site] 00002
2 rawspeed::ByteStream::peek [function] [call site] 00003
3 DataBuffer::get<T> [function] [call site] 00004
1 rawspeed::ByteStream::get [function] [call site] 00005
1 rawspeed::ByteStream::get [function] [call site] 00006
1 rawspeed::RawImageData::createData [function] [call site] 00007
2 rawspeed::RawImageData::isAllocated [function] [call site] 00011
2 implicit_cast<int> [function] [call site] 00014
2 static_cast<size_t> [function] [call site] 00016
2 isAligned [function] [call site] 00018
2 __has_feature [function] [call site] 00019
2 isAligned [function] [call site] 00021
2 __has_feature [function] [call site] 00022
2 static_cast<size_t> [function] [call site] 00025
2 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00026
3 rawspeed::RawImageData::getU16DataAsUncroppedArray2DRef [function] [call site] 00027
4 reinterpret_cast<uint16_t*> [function] [call site] 00031
4 static_cast<int> [function] [call site] 00033
3 rawspeed::RawImageData::getF32DataAsUncroppedArray2DRef [function] [call site] 00034
4 reinterpret_cast<float*> [function] [call site] 00038
4 static_cast<int> [function] [call site] 00040
3 __builtin_unreachable [function] [call site] 00041
2 isAligned [function] [call site] 00043
2 rawspeed::RawImageData::poisonPadding [function] [call site] 00045
3 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00046
3 rawspeed::ASan::PoisonMemoryRegion [function] [call site] 00047
4 __asan_poison_memory_region [function] [call site] 00048
1 rawspeed::Cr2LJpegDecoder::decode [function] [call site] 00050
2 widthOfSlice [function] [call site] 00051
2 rawspeed::AbstractLJpegDecoder::decodeSOI [function] [call site] 00053
3 rawspeed::AbstractLJpegDecoder::getNextMarker [function] [call site] 00054
4 advanceToNextMarker [function] [call site] 00055
4 peekMarker [function] [call site] 00057
4 skipBytes [function] [call site] 00058
3 rawspeed::AbstractLJpegDecoder::getNextMarker [function] [call site] 00060
3 getStream [function] [call site] 00061
3 rawspeed::ByteStream::skipBytes [function] [call site] 00063
4 rawspeed::ByteStream::check [function] [call site] 00064
5 getSubView [function] [call site] 00067
5 rawspeed::Buffer::getSize [function] [call site] 00069
5 rawspeed::ASan::RegionIsPoisoned [function] [call site] 00071
6 const_cast<void*> [function] [call site] 00072
6 __asan_region_is_poisoned [function] [call site] 00073
5 rawspeed::Buffer::begin [function] [call site] 00074
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00075
7 implicit_cast<int> [function] [call site] 00076
5 rawspeed::Buffer::getSize [function] [call site] 00077
3 rawspeed::AbstractLJpegDecoder::parseDHT [function] [call site] 00079
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00080
5 invariant [function] [call site] 00081
5 rawspeed::ByteStream::check [function] [call site] 00083
4 rawspeed::ByteStream::getByte [function] [call site] 00085
5 rawspeed::ByteStream::get [function] [call site] 00086
4 rawspeed::HuffmanCode::setNCodesPerLength [function] [call site] 00091
5 invariant [function] [call site] 00092
5 rawspeed::Buffer::getSize [function] [call site] 00093
5 std::copy [function] [call site] 00095
5 rawspeed::Buffer::begin [function] [call site] 00096
5 rawspeed::Buffer::end [function] [call site] 00097
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00098
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00107
5 invariant [function] [call site] 00111
4 rawspeed::ByteStream::getBuffer [function] [call site] 00116
5 rawspeed::ByteStream::peekBuffer [function] [call site] 00117
6 getSubView [function] [call site] 00118
4 rawspeed::ByteStream::getBuffer [function] [call site] 00120
4 rawspeed::HuffmanCode::setCodeValues [function] [call site] 00121
5 invariant [function] [call site] 00122
5 rawspeed::NORangesSet::size [function] [call site] 00123
6 rawspeed::NORangesSet::size [function] [call site] 00124
7 rawspeed::NORangesSet::size [function] [call site] 00125
5 invariant [function] [call site] 00126
5 static_cast<unsigned> [function] [call site] 00127
5 rawspeed::NORangesSet::size [function] [call site] 00128
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00129
5 rawspeed::HuffmanCode::codeValues::clear [function] [call site] 00130
5 rawspeed::HuffmanCode::codeValues::reserve [function] [call site] 00131
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00132
5 std::copy [function] [call site] 00133
5 rawspeed::Buffer::begin [function] [call site] 00134
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00135
5 rawspeed::Buffer::end [function] [call site] 00136
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00137
5 std::back_inserter [function] [call site] 00138
5 rawspeed::NORangesSet::size [function] [call site] 00140
6 rawspeed::NORangesSet::size [function] [call site] 00141
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00142
4 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00144
5 implicit_cast<int> [function] [call site] 00145
4 emplace_back [function] [call site] 00151
4 std::make_unique<decltype(hc)> [function] [call site] 00152
4 std::make_unique<PrefixCodeDecoder<>> [function] [call site] 00153
4 std::move [function] [call site] 00154
4 rawspeed::DngOpcodes::DngOpcode::setup [function] [call site] 00155
5 getImageCropAsRectangle [function] [call site] 00157
4 rawspeed::Buffer::get [function] [call site] 00158
5 rawspeed::Buffer::getSubView [function] [call site] 00159
6 rawspeed::Buffer::isValid [function] [call site] 00160
7 static_cast<uint64_t> [function] [call site] 00161
7 static_cast<uint64_t> [function] [call site] 00162
7 rawspeed::Buffer::getSize [function] [call site] 00163
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00165
5 static_cast<size_type> [function] [call site] 00166
5 static_cast<size_type> [function] [call site] 00167
5 getByteSwapped<T> [function] [call site] 00168
5 rawspeed::Buffer::begin [function] [call site] 00169
4 emplace_back [function] [call site] 00170
4 std::move [function] [call site] 00171
3 rawspeed::AbstractLJpegDecoder::parseSOF [function] [call site] 00174
4 rawspeed::ByteStream::getByte [function] [call site] 00175
4 rawspeed::ByteStream::getU16 [function] [call site] 00176
5 rawspeed::ByteStream::get [function] [call site] 00177
4 rawspeed::ByteStream::getU16 [function] [call site] 00178
4 rawspeed::ByteStream::getByte [function] [call site] 00179
4 static_cast<uint32_t> [function] [call site] 00186
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00188
4 rawspeed::ByteStream::getByte [function] [call site] 00190
4 rawspeed::ByteStream::getByte [function] [call site] 00191
4 rawspeed::ByteStream::getByte [function] [call site] 00194
4 static_cast<int> [function] [call site] 00196
4 static_cast<int> [function] [call site] 00197
3 rawspeed::AbstractLJpegDecoder::parseSOS [function] [call site] 00202
4 invariant [function] [call site] 00203
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00204
4 rawspeed::ByteStream::getByte [function] [call site] 00206
4 rawspeed::ByteStream::getByte [function] [call site] 00208
4 rawspeed::ByteStream::getByte [function] [call site] 00209
4 rawspeed::ByteStream::getByte [function] [call site] 00213
4 rawspeed::ByteStream::getByte [function] [call site] 00215
4 rawspeed::ByteStream::getByte [function] [call site] 00217
4 decodeScan [function] [call site] 00220
4 skipBytes [function] [call site] 00221
3 rawspeed::AbstractLJpegDecoder::erratumImplicitEOIMarkerAfterScan [function] [call site] 00222
3 rawspeed::AbstractLJpegDecoder::parseDRI [function] [call site] 00225
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00226
4 rawspeed::ByteStream::getU16 [function] [call site] 00228
1 rawspeed::MSan::CheckMemIsInitialized [function] [call site] 00230
2 __msan_check_mem_is_initialized [function] [call site] 00231
1 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00232
2 rawspeed::RawImageData::getU16DataAsUncroppedArray2DRef [function] [call site] 00233
2 rawspeed::RawImageData::getF32DataAsUncroppedArray2DRef [function] [call site] 00234
2 __builtin_unreachable [function] [call site] 00235