blob: f082482a778c1de1d0c0130f0f089bcc5d3931c6 [file] [log] [blame]
Mike Kleined93e5e2020-08-11 12:08:55 -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/SkRRect.h"
12
13extern "C" int LLVMFuzzerTestOneInput(const uint8_t* buf, size_t size) {
14 SkRRect rrect;
15 (void)rrect.readFromMemory(buf, size);
16 return 0;
17}