skia2/fuzz
Kevin Lubick bc9a1a837d Make fuzz::next overloads more consistent
Some oss-fuzz bugs (like the linked one) would not reproduce
in Skia proper due to the fact that there were subtle overloads
of the various Fuzz::next() methods in FuzzCanvas.cpp that
were pulled in in Skia proper, but not oss-fuzz.

This puts all of them in to FuzzCommon.h and makes the
matrix and rrect ones opt-in (fuzz_matrix, fuzz_rrect).

Additionally, this renames fuzz.cpp -> FuzzMain.cpp so we
can properly include Fuzz.cpp in oss-fuzz without
having two mains.

Bug: oss-fuzz:10378
Change-Id: I6cf9afb471781b9fadb689482109a1e5662358b5
Reviewed-on: https://skia-review.googlesource.com/154900
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2018-09-17 19:20:51 +00:00
..
oss_fuzz Add FuzzPathop to oss-fuzz 2018-08-30 16:47:13 +00:00
coverage remove SkColorSpace::MakeICC() fuzzer 2018-05-23 16:31:11 +00:00
Fuzz.cpp Make fuzz::next overloads more consistent 2018-09-17 19:20:51 +00:00
Fuzz.h Make fuzz::next overloads more consistent 2018-09-17 19:20:51 +00:00
FuzzCanvas.cpp Make fuzz::next overloads more consistent 2018-09-17 19:20:51 +00:00
FuzzCommon.cpp Make fuzz::next overloads more consistent 2018-09-17 19:20:51 +00:00
FuzzCommon.h Make fuzz::next overloads more consistent 2018-09-17 19:20:51 +00:00
FuzzDrawFunctions.cpp Reland "SkDEBUGF: use __VA_ARGS__" 2018-07-18 15:37:41 +00:00
FuzzEncoders.cpp Add Encoder fuzzers 2018-03-30 19:31:56 +00:00
FuzzGradients.cpp Reland "SkDEBUGF: use __VA_ARGS__" 2018-07-18 15:37:41 +00:00
FuzzMain.cpp Make fuzz::next overloads more consistent 2018-09-17 19:20:51 +00:00
FuzzParsePath.cpp Add back in min/max check on fuzzer range 2016-11-16 19:17:19 +00:00
FuzzPathMeasure.cpp pathmeasure fuzzer 2018-03-12 15:29:18 +00:00
FuzzPathop.cpp pathmeasure fuzzer 2018-03-12 15:29:18 +00:00
FuzzPolyUtils.cpp Rip out variable offsetting 2018-09-05 19:54:31 +00:00
FuzzRegionOp.cpp Make fuzz::next overloads more consistent 2018-09-17 19:20:51 +00:00