// Copyright 2019 The PDFium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <iterator> #include <memory> #include <utility> #include "core/fxcrt/fx_safe_types.h" #include "core/fxge/agg/cfx_agg_cliprgn.h" #include "core/fxge/dib/cfx_dibitmap.h" #include "core/fxge/dib/fx_dib.h" #include "testing/fuzzers/pdfium_fuzzer_util.h" namespace { // Some unused formats were removed, and their slots have been filled in // `FXDIB_Format::kInvalid` to keep the fuzzer input stable. constexpr FXDIB_Format kFormat[] = …; } // namespace extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { … }