Fuzz introspector: fuzz/librawspeed/decompressors/NikonDecompressor.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
197 0 EP call site: 00000 rawspeed::RawImageData::createData

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::ByteStream::getStream [function] [call site] 00007
2 rawspeed::ByteStream::peekStream [function] [call site] 00008
3 rawspeed::ByteStream::getSubStream [function] [call site] 00009
4 rawspeed::ByteStream::ByteStream [function] [call site] 00010
4 DataBuffer [function] [call site] 00011
4 getSubView [function] [call site] 00012
4 getByteOrder [function] [call site] 00013
1 rawspeed::ByteStream::getStream [function] [call site] 00014
1 rawspeed::ByteStream::getRemainSize [function] [call site] 00015
2 invariant [function] [call site] 00016
2 rawspeed::ByteStream::check [function] [call site] 00018
3 getSubView [function] [call site] 00021
3 rawspeed::Buffer::getSize [function] [call site] 00023
3 rawspeed::ASan::RegionIsPoisoned [function] [call site] 00025
4 const_cast<void*> [function] [call site] 00026
4 __asan_region_is_poisoned [function] [call site] 00027
3 rawspeed::Buffer::begin [function] [call site] 00028
4 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00029
5 implicit_cast<int> [function] [call site] 00030
3 rawspeed::Buffer::getSize [function] [call site] 00031
1 rawspeed::RawImageData::createData [function] [call site] 00033
2 rawspeed::RawImageData::isAllocated [function] [call site] 00037
2 implicit_cast<int> [function] [call site] 00040
2 static_cast<size_t> [function] [call site] 00042
2 isAligned [function] [call site] 00044
2 __has_feature [function] [call site] 00045
2 isAligned [function] [call site] 00047
2 __has_feature [function] [call site] 00048
2 static_cast<size_t> [function] [call site] 00051
2 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00052
3 rawspeed::RawImageData::getU16DataAsUncroppedArray2DRef [function] [call site] 00053
4 reinterpret_cast<uint16_t*> [function] [call site] 00057
4 static_cast<int> [function] [call site] 00059
3 rawspeed::RawImageData::getF32DataAsUncroppedArray2DRef [function] [call site] 00060
4 reinterpret_cast<float*> [function] [call site] 00064
4 static_cast<int> [function] [call site] 00066
3 __builtin_unreachable [function] [call site] 00067
2 isAligned [function] [call site] 00069
2 rawspeed::RawImageData::poisonPadding [function] [call site] 00071
3 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00072
3 rawspeed::ASan::PoisonMemoryRegion [function] [call site] 00073
4 __asan_poison_memory_region [function] [call site] 00074
1 rawspeed::NikonDecompressor::decompress [function] [call site] 00076
2 rawspeed::NikonDecompressor::createPrefixCodeDecoder [function] [call site] 00077
3 rawspeed::HuffmanCode::setNCodesPerLength [function] [call site] 00078
4 invariant [function] [call site] 00079
4 rawspeed::Buffer::getSize [function] [call site] 00080
4 std::copy [function] [call site] 00082
4 rawspeed::Buffer::begin [function] [call site] 00083
4 rawspeed::Buffer::end [function] [call site] 00084
5 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00085
4 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00094
4 invariant [function] [call site] 00098
3 rawspeed::HuffmanCode::setCodeValues [function] [call site] 00105
4 invariant [function] [call site] 00106
4 rawspeed::NORangesSet::size [function] [call site] 00107
5 rawspeed::NORangesSet::size [function] [call site] 00108
6 rawspeed::NORangesSet::size [function] [call site] 00109
4 invariant [function] [call site] 00110
4 static_cast<unsigned> [function] [call site] 00111
4 rawspeed::NORangesSet::size [function] [call site] 00112
4 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00113
4 rawspeed::HuffmanCode::codeValues::clear [function] [call site] 00114
4 rawspeed::HuffmanCode::codeValues::reserve [function] [call site] 00115
4 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00116
4 std::copy [function] [call site] 00117
4 rawspeed::Buffer::begin [function] [call site] 00118
5 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00119
4 rawspeed::Buffer::end [function] [call site] 00120
5 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00121
4 std::back_inserter [function] [call site] 00122
4 rawspeed::NORangesSet::size [function] [call site] 00124
5 rawspeed::NORangesSet::size [function] [call site] 00125
4 rawspeed::HuffmanCode::maxCodesCount [function] [call site] 00126
3 Array1DRef<const [call site] 00128
3 rawspeed::DngOpcodes::DngOpcode::setup [function] [call site] 00130
4 getImageCropAsRectangle [function] [call site] 00132
2 getU16DataAsUncroppedArray2DRef [function] [call site] 00133
2 reinterpret_cast<RawImageDataU16*> [function] [call site] 00134
2 invariant [function] [call site] 00136
2 rawspeed::Array2DRef<T>::width [function] [call site] 00137
3 rawspeed::Array2DRef<T>::establishClassInvariants [function] [call site] 00138
4 rawspeed::Array2DRef<T>::establishClassInvariants [function] [call site] 00139
4 invariant [function] [call site] 00140
4 invariant [function] [call site] 00141
4 invariant [function] [call site] 00142
4 invariant [function] [call site] 00143
4 invariant [function] [call site] 00144
4 invariant [function] [call site] 00145
4 invariant [function] [call site] 00146
2 invariant [function] [call site] 00148
2 rawspeed::Array2DRef<T>::width [function] [call site] 00149
2 rawspeed::Array2DRef<T>::width [function] [call site] 00150
2 rawspeed::PrefixCodeLUTDecoder::decodeDifference [function] [call site] 00151
3 invariant [function] [call site] 00152
3 rawspeed::AbstractPrefixCodeTranscoder::isFullDecode [function] [call site] 00153
3 rawspeed::PrefixCodeLUTDecoder::decode [function] [call site] 00154
4 invariant [function] [call site] 00155
4 rawspeed::AbstractPrefixCodeTranscoder::isFullDecode [function] [call site] 00156
4 implicit_cast<typename [call site] 00158
4 peekBitsNoFill [function] [call site] 00159
4 static_cast<unsigned> [function] [call site] 00162
4 static_cast<int> [function] [call site] 00163
4 skipBitsNoFill [function] [call site] 00164
4 implicit_cast<uint8_t> [function] [call site] 00165
4 implicit_cast<typename [call site] 00166
4 invariant [function] [call site] 00167
4 invariant [function] [call site] 00168
4 skipBitsNoFill [function] [call site] 00169
4 rawspeed::PrefixCodeLookupDecoder::finishReadingPartialSymbol [function] [call site] 00171
5 rawspeed::AbstractPrefixCodeTranscoder::maxCodeLength [function] [call site] 00172
6 rawspeed::NORangesSet::size [function] [call site] 00173
7 rawspeed::NORangesSet::size [function] [call site] 00174
5 getBitsNoFill [function] [call site] 00175
5 implicit_cast<typename [call site] 00176
5 rawspeed::AbstractPrefixCodeTranscoder::maxCodeLength [function] [call site] 00177
5 rawspeed::NORangesSet::size [function] [call site] 00182
6 rawspeed::NORangesSet::size [function] [call site] 00183
4 Base::template [call site] 00184
2 rawspeed::RawImageDataFloat::setWithLookUp [function] [call site] 00185
3 reinterpret_cast<float*> [function] [call site] 00186
3 static_cast<float> [function] [call site] 00187
2 clampBits [function] [call site] 00189
2 reinterpret_cast<std::byte*> [function] [call site] 00190
1 rawspeed::MSan::CheckMemIsInitialized [function] [call site] 00192
2 __msan_check_mem_is_initialized [function] [call site] 00193
1 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00194
2 rawspeed::RawImageData::getU16DataAsUncroppedArray2DRef [function] [call site] 00195
2 rawspeed::RawImageData::getF32DataAsUncroppedArray2DRef [function] [call site] 00196
2 __builtin_unreachable [function] [call site] 00197