[PATCH] Add a Fuzzer library

Kostya Serebryany kcc at google.com
Mon Jan 26 11:59:32 PST 2015


Hi rnk, djasper, chandlerc,

A simple genetic in-process coverage-guided fuzz testing library.

I've used this fuzzer to test clang-format
(it found 12+ bugs, thanks djasper@ for the fixes!)
and it may also help us test other parts of LLVM.
So why not keep it in the LLVM repository?

I plan to add the cmake build rules later (in a separate patch, if that's ok)
and also add a clang-format-fuzzer target.

See README.txt for details.

http://reviews.llvm.org/D7184

Files:
  lib/Fuzzer/FuzzerCrossOver.cpp
  lib/Fuzzer/FuzzerFlags.h
  lib/Fuzzer/FuzzerIO.cpp
  lib/Fuzzer/FuzzerInternal.h
  lib/Fuzzer/FuzzerLoop.cpp
  lib/Fuzzer/FuzzerMain.cpp
  lib/Fuzzer/FuzzerMutate.cpp
  lib/Fuzzer/FuzzerUtil.cpp
  lib/Fuzzer/README.txt
  lib/Fuzzer/test/ExactTest.cpp
  lib/Fuzzer/test/InfiniteTest.cpp
  lib/Fuzzer/test/NullDerefTest.cpp
  lib/Fuzzer/test/SimpleTest.cpp
  lib/Fuzzer/test/TestFuzzerCrossOver.cpp
  lib/Fuzzer/test/TimeoutTest.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7184.18780.patch
Type: text/x-patch
Size: 27215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150126/a94de9a2/attachment.bin>


More information about the llvm-commits mailing list