|
RawSpeed
fast raw decoding library
|
#include "adt/Casts.h"#include "adt/Point.h"#include <cstddef>#include <tuple>#include <vector>#include "MemorySanitizer.h"#include "codes/DummyPrefixCodeDecoder.h"#include "codes/PrefixCodeDecoder/Common.h"#include "common/RawImage.h"#include "common/RawspeedException.h"#include "decompressors/Cr2Decompressor.h"#include "fuzz/Common.h"#include "io/Buffer.h"#include "io/ByteStream.h"#include "io/Endianness.h"#include <algorithm>#include <cassert>#include <cstdint>#include <iterator>Go to the source code of this file.
Functions | |
| int | LLVMFuzzerTestOneInput (const uint8_t *Data, size_t Size) |
| int LLVMFuzzerTestOneInput | ( | const uint8_t * | Data, |
| size_t | Size ) |
Definition at line 58 of file Cr2Decompressor.cpp.
References assert(), rawspeed::ByteStream::check(), rawspeed::MSan::CheckMemIsInitialized(), rawspeed::RawImageData::createData(), createPrefixCodeDecoder(), CreateRawImage(), rawspeed::ByteStream::get(), rawspeed::Buffer::getAsArray1DRef(), rawspeed::RawImageData::getByteDataAsUncroppedArray2DRef(), rawspeed::ByteStream::getI32(), rawspeed::ByteStream::getSubStream(), rawspeed::ByteStream::getU32(), rawspeed::implicit_cast(), rawspeed::little, rawspeed::ByteStream::peekRemainingBuffer(), and ThrowRSE.