FuzzPathop.cpp 370 B

12345678910111213141516
  1. /*
  2. * Copyright 2018 Google, LLC
  3. *
  4. * Use of this source code is governed by a BSD-style license that can be
  5. * found in the LICENSE file.
  6. */
  7. #include "fuzz/Fuzz.h"
  8. void fuzz_Pathop(Fuzz* f);
  9. extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  10. auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size));
  11. fuzz_Pathop(&fuzz);
  12. return 0;
  13. }