aboutsummaryrefslogtreecommitdiff
path: root/testing/fuzzers/pdf_codec_rle_fuzzer.cc
blob: 70ce5d4af7c5a20b61b97a99750fbecc13990854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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"

extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
  BasicModule::RunLengthEncode({data, size});
  return 0;
}