|
RawSpeed
fast raw decoding library
|
#include "decompressors/LJpegDecompressor.h"#include "MemorySanitizer.h"#include "adt/Casts.h"#include "adt/Point.h"#include "codes/PrefixCodeDecoder.h"#include "codes/PrefixCodeDecoder/Common.h"#include "common/RawImage.h"#include "common/RawspeedException.h"#include "fuzz/Common.h"#include "io/Buffer.h"#include "io/ByteStream.h"#include "io/Endianness.h"#include <algorithm>#include <cassert>#include <cstddef>#include <cstdint>#include <iterator>#include <vector>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 42 of file LJpegDecompressor.cpp.
References assert(), rawspeed::ByteStream::check(), rawspeed::MSan::CheckMemIsInitialized(), rawspeed::RawImageData::createData(), createPrefixCodeDecoder(), CreateRawImage(), rawspeed::LJpegDecompressor::decode(), rawspeed::RawImageData::dim, 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(), ThrowRSE, rawspeed::iPoint2D::x, and rawspeed::iPoint2D::y.