18 lines
414 B
C++
18 lines
414 B
C++
|
/*
|
||
|
* Copyright 2020 Google, LLC
|
||
|
*
|
||
|
* Use of this source code is governed by a BSD-style license that can be
|
||
|
* found in the LICENSE file.
|
||
|
*/
|
||
|
|
||
|
// To use this fuzzer follow the libfuzzer directions in
|
||
|
// site/dev/testing/fuzz.md.
|
||
|
|
||
|
#include "include/core/SkPath.h"
|
||
|
|
||
|
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* buf, size_t size) {
|
||
|
SkPath path;
|
||
|
(void)path.readFromMemory(buf, size);
|
||
|
return 0;
|
||
|
}
|