Kostya Serebryany
4083d54675
[libFuzzer] experimental flag to tweak the corpus distribution. Seems to improve the situation dramatically on the png benchmark and make things worse on a number of micro-puzzles. Needs more A/B testing
...
llvm-svn: 315407
2017-10-11 01:44:26 +00:00
Max Moroz
330496c3fc
[libFuzzer] Disable experimental clang coverage support by default.
...
Summary:
It can be enabled via "-use_clang_coverage=1" flag. Reason for disabling:
libFuzzer resets Clang Counters and makes it impossible to generate coverage
report for a regular fuzz target (i.e. not standalone build).
Reviewers: kcc
Reviewed By: kcc
Subscribers: kcc
Differential Revision: https://reviews.llvm.org/D38604
llvm-svn: 315029
2017-10-05 22:41:03 +00:00
Kostya Serebryany
bcd78491ef
[libFuzzer] minor refactoring, NFC
...
llvm-svn: 313406
2017-09-15 22:10:36 +00:00
Kostya Serebryany
3a8e3c8336
[libFuzzer] refactoring: move reading the seed corpus closer to where it's consumed; NFC
...
llvm-svn: 311972
2017-08-29 02:05:01 +00:00
George Karpenkov
bebcbfb46d
[libFuzzer] Use custom allocators for STL containers in libFuzzer.
...
Avoids ODR violations causing spurious ASAN warnings.
Differential Revision: https://reviews.llvm.org/D37086
llvm-svn: 311866
2017-08-27 23:20:09 +00:00
George Karpenkov
24069a0424
Revert "[libFuzzer] Use custom allocators for STL containers in libFuzzer"
...
This reverts commit 3539efc2f2218dba2bcbd645d0fe276f2b5cf588.
llvm-svn: 311831
2017-08-26 17:50:35 +00:00
George Karpenkov
d50410bfb1
[libFuzzer] Use custom allocators for STL containers in libFuzzer
...
Avoids ODR violations causing spurious ASAN container overflow warnings.
Differential Revision: https://reviews.llvm.org/D37086
llvm-svn: 311830
2017-08-26 17:17:37 +00:00
Kostya Serebryany
2eef816e6e
[libFuzzer] add -print_funcs=1 (on bey default): print newly discovered functions during fuzzing
...
llvm-svn: 311797
2017-08-25 20:09:25 +00:00
George Karpenkov
10ab2ace13
Move libFuzzer to compiler_rt.
...
Resulting library binaries will be named libclang_rt.fuzzer*, and will
be placed in Clang toolchain, allowing redistribution.
Differential Revision: https://reviews.llvm.org/D36908
llvm-svn: 311407
2017-08-21 23:25:50 +00:00