Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
third_party
skia
fuzz
FuzzRRect.cpp
Go to the documentation of this file.
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/SkRRect.h
"
12
13
extern
"C"
int
LLVMFuzzerTestOneInput
(
const
uint8_t* buf,
size_t
size) {
14
SkRRect
rrect;
15
(void)rrect.
readFromMemory
(buf, size);
16
return
0;
17
}
LLVMFuzzerTestOneInput
int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t size)
Definition
FuzzRRect.cpp:13
SkRRect.h
SkRRect
Definition
SkRRect.h:35
SkRRect::readFromMemory
size_t readFromMemory(const void *buffer, size_t length)
Definition
SkRRect.cpp:610
Generated on Fri Apr 26 2024 06:15:59 for Flutter Engine by
1.9.8