blob: 47809be3330348326e9249eb78fcdfab02a09fc0 [file] [log] [blame]
Kevin Lubickdb1e5c62018-02-27 08:30:43 -05001/*
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
Mike Kleinc0bd9f92019-04-23 12:05:21 -05008#include "fuzz/Fuzz.h"
Kevin Lubickdb1e5c62018-02-27 08:30:43 -05009
10void fuzz_Gradients(Fuzz* f);
11
Kevin Lubickdb1e5c62018-02-27 08:30:43 -050012extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
13 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size));
14 fuzz_Gradients(&fuzz);
15 return 0;
16}