[PATCH] D21742: [libFuzzer] Let user specify max_len and extra stats file.

Jonathan Metzman via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 26 19:24:23 PDT 2016


metzman created this revision.
metzman added reviewers: kcc, aizatsky.
metzman added a subscriber: llvm-commits.

1. When AFL_DRIVER_MAX_LEN is set and valid use that value as the maximum
length of input to LLVMFuzzerTestOneInput.
2. If AFL_DRIVER_EXTRA_STATS_FILENAME is set and valid, write to it peak_rss_mb and slowest_unit_time_sec. These are both stats that libFuzzer can print but afl cannot.
3. Fix typo in AFLDriverTest.cpp

http://reviews.llvm.org/D21742

Files:
  lib/Fuzzer/afl/afl_driver.cpp
  lib/Fuzzer/test/AFLDriverTest.cpp
  lib/Fuzzer/test/afl-driver.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21742.61923.patch
Type: text/x-patch
Size: 13147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160627/50174cbd/attachment-0001.bin>


More information about the llvm-commits mailing list