some fuzz hacking
authormtklein <mtklein@chromium.org>
Thu, 14 Jan 2016 12:59:42 +0000 (04:59 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 14 Jan 2016 12:59:42 +0000 (04:59 -0800)
commit24a22c7de8890642e43d6ae1115ecd59e2f8f0db
tree347144a6771c3132ac176ef02b09ad81e351ed93
parent702501ddca7cf9b7b941ad286a0c9aa37fda86ef
some fuzz hacking

Try to start faster:
 - remove flags dependency
 - print nothing
 - strip unused symbols from the binary on Mac (smaller binary)
 - only create one fuzz object
 - only run one DEF_FUZZ
I am not sure if any of these things mattered, but I thought you may like to look.

Good stuff:
 - make nextU() / nextF() work
 - drop nextURange() / nextFRange() for now
 - add nextB() for a single byte

As you may have guessed, I have figured out how to use afl-fuzz on my laptop.

Syntax to run becomes:
  $ afl-fuzz ... out/Release/fuzz <DEF_FUZZ name> @@

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1581203003

Review URL: https://codereview.chromium.org/1581203003
fuzz/Fuzz.h
fuzz/FuzzPaeth.cpp
fuzz/fuzz.cpp
gyp/fuzz.gyp