[PATCH] Add a Fuzzer library
Yury Gribov
tetra2005 at gmail.com
Mon Jan 26 23:10:48 PST 2015
================
Comment at: lib/Fuzzer/FuzzerMutate.cpp:36
@@ +35,3 @@
+ assert(MaxLen > 0);
+ assert(U->size() <= MaxLen);
+ switch (rand() % 3) {
----------------
These asserts are not very user-friendly, perhaps check for them in main() instead? Actually I wonder if MaxLen should be MaxSizeIncreasePercentage...
http://reviews.llvm.org/D7184
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list