blob: bb7bc68630e4abe4b07dde939c8e40a84be8ca06 [file] [log] [blame]
// Copyright 2017 The PDFium Authors
// 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/basic/basicmodule.h"
#include "core/fxcrt/compiler_specific.h"
#include "core/fxcrt/span.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
// SAFETY: trusted arguments from fuzzer.
BasicModule::A85Encode(UNSAFE_BUFFERS(pdfium::span(data, size)));
return 0;
}