Debian Codegraph @

fuzz/FuzzPath.cpp

raw
1 /*
2 * Copyright 2020 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
8 // To use this fuzzer follow the libfuzzer directions in
9 // site/dev/testing/fuzz.md.
10
11 #include "include/core/SkPath.h"
12
13 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* buf, size_t size) {
14 SkPath path;
15 (void)path.readFromMemory(buf, size);
16 return 0;
17 }