blob: 37f32881a911c95b05dc5f1b757f3c8c4428e1f1 [file] [log] [blame]
Kevin Lubick486ee3d2018-03-21 10:17:25 -04001/*
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#include "../Fuzz.h"
9
10void fuzz_NullCanvas(Fuzz* f);
11
12extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
13 auto fuzz = Fuzz(SkData::MakeWithoutCopy(data, size));
14 fuzz_NullCanvas(&fuzz);
15 return 0;
16}