blob: 7020fe09f7070cb11b6d32c107441914e4405ed7 [file] [log] [blame]
// Copyright 2016 The PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <cstdint>
#include "core/fxcodec/icc/icc_transform.h"
#include "third_party/base/span.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
std::unique_ptr<fxcodec::IccTransform> transform =
fxcodec::IccTransform::CreateTransformSRGB(pdfium::make_span(data, size));
if (!transform)
return 0;
const float src[4] = {0.5f, 0.5f, 0.5f, 0.5f};
float dst[4];
return 0;