skia2/fuzz
Mike Klein f88f5ef109 simplify nextRange(), fold in nextEnum()
Doesn't look like we need to distinguish these if we just
write them as the simple

   1) load the right number of bytes
   2) clamp to [min,max]

This makes enum fuzzing independent of its underlying type, and may make
it easier to see the mapping from fuzzed byte stream to
nextRange()/nextEnum() values.

Change-Id: I9f785f94f513a0087ad7151b5e7bc14ddbe9314a
Reviewed-on: https://skia-review.googlesource.com/c/171820
Commit-Queue: Mike Klein <mtklein@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
2018-11-19 18:04:12 +00:00
..
oss_fuzz Add new Codec fuzzers to FuzzMain 2018-10-17 18:44:07 +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 simplify nextRange(), fold in nextEnum() 2018-11-19 18:04:12 +00:00
FuzzCanvas.cpp simplify nextRange(), fold in nextEnum() 2018-11-19 18:04:12 +00:00
FuzzCommon.cpp simplify nextRange(), fold in nextEnum() 2018-11-19 18:04:12 +00:00
FuzzCommon.h FuzzPath -> FuzzNicePath 2018-09-25 17:04:00 +00:00
FuzzDrawFunctions.cpp Revert "rm legacy flags for hinting enum" 2018-11-09 21:59:17 +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 Add Legacy fuzz reproducer 2018-10-23 14:24:22 +00:00
FuzzParsePath.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
FuzzPathMeasure.cpp FuzzPath -> FuzzNicePath 2018-09-25 17:04:00 +00:00
FuzzPathop.cpp simplify nextRange(), fold in nextEnum() 2018-11-19 18:04:12 +00:00
FuzzPolyUtils.cpp Add autodetect for polyutils fuzz 2018-10-11 13:35:52 +00:00
FuzzRegionOp.cpp simplify nextRange(), fold in nextEnum() 2018-11-19 18:04:12 +00:00