Fuzz introspector: fuzz/librawspeed/decoders/TiffDecoders/main.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
46 83 LLVMFuzzerTestOneInput call site: 00083 rawspeed::RawImageData::fixBadPixels
45 2 LLVMFuzzerTestOneInput call site: 00002 rawspeed::ByteStream::skipBytes
31 48 LLVMFuzzerTestOneInput call site: 00048 rawspeed::ByteStream::getString
14 130 rawspeed_get_number_of_processor_cores call site: 00130 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef
7 145 LLVMFuzzerTestOneInput call site: 00145 ThrowRDE

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 rawspeed::TiffParser::parse [function] [call site] 00002
2 rawspeed::DataBuffer::setByteOrder [function] [call site] 00003
3 std::swap [function] [call site] 00004
2 getTiffByteOrder [function] [call site] 00005
2 rawspeed::ByteStream::skipBytes [function] [call site] 00006
3 rawspeed::ByteStream::check [function] [call site] 00007
4 getSubView [function] [call site] 00010
4 rawspeed::Buffer::getSize [function] [call site] 00012
4 rawspeed::ASan::RegionIsPoisoned [function] [call site] 00014
5 const_cast<void*> [function] [call site] 00015
5 __asan_region_is_poisoned [function] [call site] 00016
4 rawspeed::Buffer::begin [function] [call site] 00017
5 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00018
6 implicit_cast<int> [function] [call site] 00019
4 rawspeed::Buffer::getSize [function] [call site] 00020
2 rawspeed::ByteStream::getU16 [function] [call site] 00021
3 rawspeed::ByteStream::get [function] [call site] 00022
4 rawspeed::ByteStream::peek [function] [call site] 00023
5 DataBuffer::get<T> [function] [call site] 00024
2 std::make_unique<TiffRootIFD> [function] [call site] 00026
2 rawspeed::ByteStream::getU32 [function] [call site] 00027
3 rawspeed::ByteStream::get [function] [call site] 00028
2 auto::getSubIFDs [function] [call site] 00029
2 std::make_unique<TiffIFD> [function] [call site] 00030
2 rawspeed::Buffer::get [function] [call site] 00031
3 rawspeed::Buffer::getSubView [function] [call site] 00032
4 rawspeed::Buffer::isValid [function] [call site] 00033
5 static_cast<uint64_t> [function] [call site] 00034
5 static_cast<uint64_t> [function] [call site] 00035
5 rawspeed::Buffer::getSize [function] [call site] 00036
4 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00038
3 static_cast<size_type> [function] [call site] 00039
3 static_cast<size_type> [function] [call site] 00040
3 getByteSwapped<T> [function] [call site] 00041
3 rawspeed::Buffer::begin [function] [call site] 00042
2 std::unique_ptr::get [function] [call site] 00044
2 rawspeed::Hints::add [function] [call site] 00045
3 try_emplace [function] [call site] 00046
2 std::move [function] [call site] 00047
1 rawspeed::PefDecoder::isAppropriateDecoder [function] [call site] 00048
2 rawspeed::TiffRootIFD::getID [function] [call site] 00049
3 getEntryRecursive [function] [call site] 00050
3 getEntryRecursive [function] [call site] 00051
3 trimSpaces [function] [call site] 00054
3 rawspeed::ByteStream::getString [function] [call site] 00055
4 rawspeed::ByteStream::peekString [function] [call site] 00056
5 rawspeed::ByteStream::peekBuffer [function] [call site] 00057
6 getSubView [function] [call site] 00058
5 rawspeed::ByteStream::getRemainSize [function] [call site] 00059
6 invariant [function] [call site] 00060
6 rawspeed::ByteStream::check [function] [call site] 00062
5 std::find [function] [call site] 00064
5 rawspeed::Buffer::begin [function] [call site] 00065
5 rawspeed::Buffer::end [function] [call site] 00066
6 rawspeed::Buffer::getAsArray1DRef [function] [call site] 00067
5 rawspeed::Buffer::end [function] [call site] 00068
5 std::distance [function] [call site] 00070
5 rawspeed::Buffer::begin [function] [call site] 00071
5 reinterpret_cast<const [call site] 00072
5 rawspeed::Buffer::begin [function] [call site] 00073
4 rawspeed::ByteStream::skipBytes [function] [call site] 00074
5 rawspeed::ByteStream::check [function] [call site] 00075
4 implicit_cast<Buffer::size_type> [function] [call site] 00076
4 std::string_view::size [function] [call site] 00077
3 trimSpaces [function] [call site] 00078
3 rawspeed::ByteStream::getString [function] [call site] 00079
1 rawspeed::Buffer::get [function] [call site] 00080
1 std::make_unique<DECODER> [function] [call site] 00081
1 std::move [function] [call site] 00082
1 rawspeed::RawDecoder::decodeRaw [function] [call site] 00083
2 decodeRawInternal [function] [call site] 00084
2 rawspeed::MSan::CheckMemIsInitialized [function] [call site] 00085
3 __msan_check_mem_is_initialized [function] [call site] 00086
2 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00087
3 rawspeed::RawImageData::getU16DataAsUncroppedArray2DRef [function] [call site] 00088
4 reinterpret_cast<uint16_t*> [function] [call site] 00092
4 static_cast<int> [function] [call site] 00094
3 rawspeed::RawImageData::getF32DataAsUncroppedArray2DRef [function] [call site] 00095
4 reinterpret_cast<float*> [function] [call site] 00099
4 static_cast<int> [function] [call site] 00101
3 __builtin_unreachable [function] [call site] 00102
2 rawspeed::RawImageData::fixBadPixels [function] [call site] 00104
3 rawspeed::RawImageData::transferBadPixelsToMap [function] [call site] 00105
4 rawspeed::RawImageData::createBadPixelMap [function] [call site] 00108
5 rawspeed::RawImageData::isAllocated [function] [call site] 00109
5 implicit_cast<uint32_t> [function] [call site] 00112
5 roundUpDivisionSafe [function] [call site] 00114
5 static_cast<size_t> [function] [call site] 00118
4 static_cast<uint16_t> [function] [call site] 00120
4 static_cast<uint16_t> [function] [call site] 00122
3 rawspeed::RawImageData::startWorker [function] [call site] 00125
4 static_cast<uint32_t> [function] [call site] 00126
4 static_cast<uint32_t> [function] [call site] 00127
4 rawspeed_get_number_of_processor_cores [function] [call site] 00128
5 visibility [function] [call site] 00129
5 omp_get_max_threads [function] [call site] 00130
3 getDataUncropped [function] [call site] 00135
3 getDataUncropped [function] [call site] 00136
2 rawspeed::MSan::CheckMemIsInitialized [function] [call site] 00137
2 rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef [function] [call site] 00138
1 rawspeed::RawDecoder::decodeMetaData [function] [call site] 00145