Fuzz introspector: fuzz/librawspeed/decompressors/HasselbladLJpegDecoder.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
230 0 EP call site: 00000 rawspeed::HasselbladLJpegDecoder::decode

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 rawspeed::RawImageData::createData [function] [call site] 00002
2 rawspeed::RawImageData::isAllocated [function] [call site] 00006
2 implicit_cast<int> [function] [call site] 00009
2 static_cast<size_t> [function] [call site] 00011
2 isAligned [function] [call site] 00013
2 __has_feature [function] [call site] 00014
2 isAligned [function] [call site] 00016
2 __has_feature [function] [call site] 00017
2 static_cast<size_t> [function] [call site] 00020
2 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00021
3 rawspeed::RawImageData::getU16DataAsUncroppedArray2DRef [function] [call site] 00022
4 reinterpret_cast<uint16_t*> [function] [call site] 00026
4 static_cast<int> [function] [call site] 00028
3 rawspeed::RawImageData::getF32DataAsUncroppedArray2DRef [function] [call site] 00029
4 reinterpret_cast<float*> [function] [call site] 00033
4 static_cast<int> [function] [call site] 00035
3 __builtin_unreachable [function] [call site] 00036
2 isAligned [function] [call site] 00038
2 rawspeed::RawImageData::poisonPadding [function] [call site] 00040
3 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00041
3 rawspeed::ASan::PoisonMemoryRegion [function] [call site] 00042
4 __asan_poison_memory_region [function] [call site] 00043
1 rawspeed::HasselbladLJpegDecoder::decode [function] [call site] 00045
2 rawspeed::AbstractLJpegDecoder::decodeSOI [function] [call site] 00046
3 rawspeed::AbstractLJpegDecoder::getNextMarker [function] [call site] 00047
4 advanceToNextMarker [function] [call site] 00048
4 peekMarker [function] [call site] 00050
4 skipBytes [function] [call site] 00051
3 rawspeed::AbstractLJpegDecoder::getNextMarker [function] [call site] 00053
3 getStream [function] [call site] 00054
3 rawspeed::ByteStream::skipBytes [function] [call site] 00056
4 rawspeed::ByteStream::check [function] [call site] 00057
5 getSubView [function] [call site] 00060
5 rawspeed::Buffer::getSize [function] [call site] 00062
5 rawspeed::ASan::RegionIsPoisoned [function] [call site] 00064
6 const_cast<void*> [function] [call site] 00065
6 __asan_region_is_poisoned [function] [call site] 00066
5 rawspeed::Buffer::begin [function] [call site] 00067
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00068
7 implicit_cast<int> [function] [call site] 00069
5 rawspeed::Buffer::getSize [function] [call site] 00070
3 rawspeed::AbstractLJpegDecoder::parseDHT [function] [call site] 00072
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00073
5 invariant [function] [call site] 00074
5 rawspeed::ByteStream::check [function] [call site] 00076
4 rawspeed::ByteStream::getByte [function] [call site] 00078
5 rawspeed::ByteStream::get [function] [call site] 00079
6 rawspeed::ByteStream::peek [function] [call site] 00080
7 DataBuffer::get<T> [function] [call site] 00081
4 rawspeed::HuffmanCode::setNCodesPerLength [function] [call site] 00086
5 invariant [function] [call site] 00087
5 rawspeed::Buffer::getSize [function] [call site] 00088
5 std::copy [function] [call site] 00090
5 rawspeed::Buffer::begin [function] [call site] 00091
5 rawspeed::Buffer::end [function] [call site] 00092
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00093
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00102
5 invariant [function] [call site] 00106
4 rawspeed::ByteStream::getBuffer [function] [call site] 00111
5 rawspeed::ByteStream::peekBuffer [function] [call site] 00112
6 getSubView [function] [call site] 00113
4 rawspeed::ByteStream::getBuffer [function] [call site] 00115
4 rawspeed::HuffmanCode::setCodeValues [function] [call site] 00116
5 invariant [function] [call site] 00117
5 rawspeed::NORangesSet::size [function] [call site] 00118
6 rawspeed::NORangesSet::size [function] [call site] 00119
7 rawspeed::NORangesSet::size [function] [call site] 00120
5 invariant [function] [call site] 00121
5 static_cast<unsigned> [function] [call site] 00122
5 rawspeed::NORangesSet::size [function] [call site] 00123
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00124
5 rawspeed::HuffmanCode::codeValues::clear [function] [call site] 00125
5 rawspeed::HuffmanCode::codeValues::reserve [function] [call site] 00126
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00127
5 std::copy [function] [call site] 00128
5 rawspeed::Buffer::begin [function] [call site] 00129
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00130
5 rawspeed::Buffer::end [function] [call site] 00131
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00132
5 std::back_inserter [function] [call site] 00133
5 rawspeed::NORangesSet::size [function] [call site] 00135
6 rawspeed::NORangesSet::size [function] [call site] 00136
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00137
4 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00139
5 implicit_cast<int> [function] [call site] 00140
4 emplace_back [function] [call site] 00146
4 std::make_unique<decltype(hc)> [function] [call site] 00147
4 std::make_unique<PrefixCodeDecoder<>> [function] [call site] 00148
4 std::move [function] [call site] 00149
4 rawspeed::DngOpcodes::DngOpcode::setup [function] [call site] 00150
5 getImageCropAsRectangle [function] [call site] 00152
4 rawspeed::Buffer::get [function] [call site] 00153
5 rawspeed::Buffer::getSubView [function] [call site] 00154
6 rawspeed::Buffer::isValid [function] [call site] 00155
7 static_cast<uint64_t> [function] [call site] 00156
7 static_cast<uint64_t> [function] [call site] 00157
7 rawspeed::Buffer::getSize [function] [call site] 00158
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00160
5 static_cast<size_type> [function] [call site] 00161
5 static_cast<size_type> [function] [call site] 00162
5 getByteSwapped<T> [function] [call site] 00163
5 rawspeed::Buffer::begin [function] [call site] 00164
4 emplace_back [function] [call site] 00165
4 std::move [function] [call site] 00166
3 rawspeed::AbstractLJpegDecoder::parseSOF [function] [call site] 00169
4 rawspeed::ByteStream::getByte [function] [call site] 00170
4 rawspeed::ByteStream::getU16 [function] [call site] 00171
5 rawspeed::ByteStream::get [function] [call site] 00172
4 rawspeed::ByteStream::getU16 [function] [call site] 00173
4 rawspeed::ByteStream::getByte [function] [call site] 00174
4 static_cast<uint32_t> [function] [call site] 00181
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00183
4 rawspeed::ByteStream::getByte [function] [call site] 00185
4 rawspeed::ByteStream::getByte [function] [call site] 00186
4 rawspeed::ByteStream::getByte [function] [call site] 00189
4 static_cast<int> [function] [call site] 00191
4 static_cast<int> [function] [call site] 00192
3 rawspeed::AbstractLJpegDecoder::parseSOS [function] [call site] 00197
4 invariant [function] [call site] 00198
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00199
4 rawspeed::ByteStream::getByte [function] [call site] 00201
4 rawspeed::ByteStream::getByte [function] [call site] 00203
4 rawspeed::ByteStream::getByte [function] [call site] 00204
4 rawspeed::ByteStream::getByte [function] [call site] 00208
4 rawspeed::ByteStream::getByte [function] [call site] 00210
4 rawspeed::ByteStream::getByte [function] [call site] 00212
4 decodeScan [function] [call site] 00215
4 skipBytes [function] [call site] 00216
3 rawspeed::AbstractLJpegDecoder::erratumImplicitEOIMarkerAfterScan [function] [call site] 00217
3 rawspeed::AbstractLJpegDecoder::parseDRI [function] [call site] 00220
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00221
4 rawspeed::ByteStream::getU16 [function] [call site] 00223
1 rawspeed::MSan::CheckMemIsInitialized [function] [call site] 00225
2 __msan_check_mem_is_initialized [function] [call site] 00226
1 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00227
2 rawspeed::RawImageData::getU16DataAsUncroppedArray2DRef [function] [call site] 00228
2 rawspeed::RawImageData::getF32DataAsUncroppedArray2DRef [function] [call site] 00229
2 __builtin_unreachable [function] [call site] 00230