blob: 6f16d979a9c7b39ed6346758a90c23693e4c561e [file] [log] [blame]
Mike Kleina465e2e2020-08-12 12:05:57 -05001/*
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
13extern "C" int LLVMFuzzerTestOneInput(const uint8_t* buf, size_t size) {
14 SkPath path;
15 (void)path.readFromMemory(buf, size);
16 return 0;
17}