Fuzz introspector: fuzz/librawspeed/decompressors/DummyLJpegDecoder.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
179 2 LLVMFuzzerTestOneInput call site: 00002 rawspeed::AbstractLJpegDecoder::decodeSOI
42 182 LLVMFuzzerTestOneInput call site: 00182 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef
1 0 EP call site: 00000

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 DummyLJpegDecoder::decode [function] [call site] 00002
2 rawspeed::AbstractLJpegDecoder::decodeSOI [function] [call site] 00003
3 rawspeed::AbstractLJpegDecoder::getNextMarker [function] [call site] 00004
4 advanceToNextMarker [function] [call site] 00005
4 peekMarker [function] [call site] 00007
4 skipBytes [function] [call site] 00008
3 rawspeed::AbstractLJpegDecoder::getNextMarker [function] [call site] 00010
3 getStream [function] [call site] 00011
3 rawspeed::ByteStream::skipBytes [function] [call site] 00013
4 rawspeed::ByteStream::check [function] [call site] 00014
5 getSubView [function] [call site] 00017
5 rawspeed::Buffer::getSize [function] [call site] 00019
5 rawspeed::ASan::RegionIsPoisoned [function] [call site] 00021
6 const_cast<void*> [function] [call site] 00022
6 __asan_region_is_poisoned [function] [call site] 00023
5 rawspeed::Buffer::begin [function] [call site] 00024
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00025
7 implicit_cast<int> [function] [call site] 00026
5 rawspeed::Buffer::getSize [function] [call site] 00027
3 rawspeed::AbstractLJpegDecoder::parseDHT [function] [call site] 00029
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00030
5 invariant [function] [call site] 00031
5 rawspeed::ByteStream::check [function] [call site] 00033
4 rawspeed::ByteStream::getByte [function] [call site] 00035
5 rawspeed::ByteStream::get [function] [call site] 00036
6 rawspeed::ByteStream::peek [function] [call site] 00037
7 DataBuffer::get<T> [function] [call site] 00038
4 rawspeed::HuffmanCode::setNCodesPerLength [function] [call site] 00043
5 invariant [function] [call site] 00044
5 rawspeed::Buffer::getSize [function] [call site] 00045
5 std::copy [function] [call site] 00047
5 rawspeed::Buffer::begin [function] [call site] 00048
5 rawspeed::Buffer::end [function] [call site] 00049
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00050
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00059
5 invariant [function] [call site] 00063
4 rawspeed::ByteStream::getBuffer [function] [call site] 00068
5 rawspeed::ByteStream::peekBuffer [function] [call site] 00069
6 getSubView [function] [call site] 00070
4 rawspeed::ByteStream::getBuffer [function] [call site] 00072
4 rawspeed::HuffmanCode::setCodeValues [function] [call site] 00073
5 invariant [function] [call site] 00074
5 rawspeed::NORangesSet::size [function] [call site] 00075
6 rawspeed::NORangesSet::size [function] [call site] 00076
7 rawspeed::NORangesSet::size [function] [call site] 00077
5 invariant [function] [call site] 00078
5 static_cast<unsigned> [function] [call site] 00079
5 rawspeed::NORangesSet::size [function] [call site] 00080
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00081
5 rawspeed::HuffmanCode::codeValues::clear [function] [call site] 00082
5 rawspeed::HuffmanCode::codeValues::reserve [function] [call site] 00083
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00084
5 std::copy [function] [call site] 00085
5 rawspeed::Buffer::begin [function] [call site] 00086
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00087
5 rawspeed::Buffer::end [function] [call site] 00088
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00089
5 std::back_inserter [function] [call site] 00090
5 rawspeed::NORangesSet::size [function] [call site] 00092
6 rawspeed::NORangesSet::size [function] [call site] 00093
5 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00094
4 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00096
5 implicit_cast<int> [function] [call site] 00097
4 emplace_back [function] [call site] 00103
4 std::make_unique<decltype(hc)> [function] [call site] 00104
4 std::make_unique<PrefixCodeDecoder<>> [function] [call site] 00105
4 std::move [function] [call site] 00106
4 rawspeed::DngOpcodes::DngOpcode::setup [function] [call site] 00107
5 getImageCropAsRectangle [function] [call site] 00109
4 rawspeed::Buffer::get [function] [call site] 00110
5 rawspeed::Buffer::getSubView [function] [call site] 00111
6 rawspeed::Buffer::isValid [function] [call site] 00112
7 static_cast<uint64_t> [function] [call site] 00113
7 static_cast<uint64_t> [function] [call site] 00114
7 rawspeed::Buffer::getSize [function] [call site] 00115
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00117
5 static_cast<size_type> [function] [call site] 00118
5 static_cast<size_type> [function] [call site] 00119
5 getByteSwapped<T> [function] [call site] 00120
5 rawspeed::Buffer::begin [function] [call site] 00121
4 emplace_back [function] [call site] 00122
4 std::move [function] [call site] 00123
3 rawspeed::AbstractLJpegDecoder::parseSOF [function] [call site] 00126
4 rawspeed::ByteStream::getByte [function] [call site] 00127
4 rawspeed::ByteStream::getU16 [function] [call site] 00128
5 rawspeed::ByteStream::get [function] [call site] 00129
4 rawspeed::ByteStream::getU16 [function] [call site] 00130
4 rawspeed::ByteStream::getByte [function] [call site] 00131
4 static_cast<uint32_t> [function] [call site] 00138
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00140
4 rawspeed::ByteStream::getByte [function] [call site] 00142
4 rawspeed::ByteStream::getByte [function] [call site] 00143
4 rawspeed::ByteStream::getByte [function] [call site] 00146
4 static_cast<int> [function] [call site] 00148
4 static_cast<int> [function] [call site] 00149
3 rawspeed::AbstractLJpegDecoder::parseSOS [function] [call site] 00154
4 invariant [function] [call site] 00155
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00156
4 rawspeed::ByteStream::getByte [function] [call site] 00158
4 rawspeed::ByteStream::getByte [function] [call site] 00160
4 rawspeed::ByteStream::getByte [function] [call site] 00161
4 rawspeed::ByteStream::getByte [function] [call site] 00165
4 rawspeed::ByteStream::getByte [function] [call site] 00167
4 rawspeed::ByteStream::getByte [function] [call site] 00169
4 decodeScan [function] [call site] 00172
4 skipBytes [function] [call site] 00173
3 rawspeed::AbstractLJpegDecoder::erratumImplicitEOIMarkerAfterScan [function] [call site] 00174
3 rawspeed::AbstractLJpegDecoder::parseDRI [function] [call site] 00177
4 rawspeed::ByteStream::getRemainSize [function] [call site] 00178
4 rawspeed::ByteStream::getU16 [function] [call site] 00180
1 rawspeed::RawImageData::createData [function] [call site] 00182
2 rawspeed::RawImageData::isAllocated [function] [call site] 00186
2 implicit_cast<int> [function] [call site] 00189
2 static_cast<size_t> [function] [call site] 00191
2 isAligned [function] [call site] 00193
2 __has_feature [function] [call site] 00194
2 isAligned [function] [call site] 00196
2 __has_feature [function] [call site] 00197
2 static_cast<size_t> [function] [call site] 00200
2 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00201
3 rawspeed::RawImageData::getU16DataAsUncroppedArray2DRef [function] [call site] 00202
4 reinterpret_cast<uint16_t*> [function] [call site] 00206
4 static_cast<int> [function] [call site] 00208
3 rawspeed::RawImageData::getF32DataAsUncroppedArray2DRef [function] [call site] 00209
4 reinterpret_cast<float*> [function] [call site] 00213
4 static_cast<int> [function] [call site] 00215
3 __builtin_unreachable [function] [call site] 00216
2 isAligned [function] [call site] 00218
2 rawspeed::RawImageData::poisonPadding [function] [call site] 00220
3 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00221
3 rawspeed::ASan::PoisonMemoryRegion [function] [call site] 00222
4 __asan_poison_memory_region [function] [call site] 00223