549ed8874e
With the fixes in https://skia-review.googlesource.com/c/skia/+/150465 this should allow us to fuzz Pathop on oss-fuzz. Bug: skia: Change-Id: Id5df511f850f23b5aad0bcb39664d18f639ddb69 Reviewed-on: https://skia-review.googlesource.com/150560 Auto-Submit: Kevin Lubick <kjlubick@google.com> Reviewed-by: Cary Clark <caryclark@google.com> Commit-Queue: Cary Clark <caryclark@google.com>
17 lines
368 B
C++
17 lines
368 B
C++
/*
|
|
* Copyright 2018 Google, LLC
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#include "../Fuzz.h"
|
|
|
|
void fuzz_Pathop(Fuzz* f);
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|
auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size));
|
|
fuzz_Pathop(&fuzz);
|
|
return 0;
|
|
}
|