Flutter Engine
The Flutter Engine
FuzzCommon.h
Go to the documentation of this file.
1/*
2 * Copyright 2018 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#ifndef FuzzCommon_DEFINED
9#define FuzzCommon_DEFINED
10
11#include "fuzz/Fuzz.h"
13#include "include/core/SkPath.h"
19
20class SkData;
21
22// allows some float values for path points
23void FuzzNicePath(Fuzz* fuzz, SkPath* path, int maxOps);
24// allows all float values for path points
25void FuzzEvilPath(Fuzz* fuzz, SkPath* path, int last_verb);
26
27void FuzzNiceRRect(Fuzz* fuzz, SkRRect* rr);
28
29void FuzzNiceMatrix(Fuzz* fuzz, SkMatrix* m);
30
31void FuzzNiceRegion(Fuzz* fuzz, SkRegion* region, int maxN);
32
34 SkRuntimeEffect* effect,
35 sk_sp<SkData>& uniformBytes,
37
38#endif
39
void FuzzNiceRegion(Fuzz *fuzz, SkRegion *region, int maxN)
Definition: FuzzCommon.cpp:333
void FuzzCreateValidInputsForRuntimeEffect(SkRuntimeEffect *effect, sk_sp< SkData > &uniformBytes, skia_private::TArray< SkRuntimeEffect::ChildPtr > &children)
Definition: FuzzCommon.cpp:352
void FuzzNiceRRect(Fuzz *fuzz, SkRRect *rr)
Definition: FuzzCommon.cpp:282
void FuzzNiceMatrix(Fuzz *fuzz, SkMatrix *m)
Definition: FuzzCommon.cpp:297
void FuzzEvilPath(Fuzz *fuzz, SkPath *path, int last_verb)
Definition: FuzzCommon.cpp:237
void FuzzNicePath(Fuzz *fuzz, SkPath *path, int maxOps)
Definition: FuzzCommon.cpp:37
Definition: Fuzz.h:24
Definition: SkData.h:25
Definition: SkPath.h:59
ClipOpAndAA opAA SkRegion region
Definition: SkRecords.h:238
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
Definition: switches.h:57