diff options
author | Karl Schimpf <kschimpf@google.com> | 2015-08-31 17:55:32 +0000 |
---|---|---|
committer | Karl Schimpf <kschimpf@google.com> | 2015-08-31 17:55:32 +0000 |
commit | b9c2c71d09ee49e43618901cc9803fdc637c15c9 (patch) | |
tree | d597b2eaad99175c7d7d42e66b3637313a5ba9e8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 86dbd923347c5946c7cee8d5e60387c39e32c758 (diff) | |
download | bcm5719-llvm-b9c2c71d09ee49e43618901cc9803fdc637c15c9.tar.gz bcm5719-llvm-b9c2c71d09ee49e43618901cc9803fdc637c15c9.zip |
Build a lib/Fuzzer version for llvm-as.
Summary:
This CL is associated with a fuzzing effort to find bugs in LLVM. The
first step is to fuzz llvm-as to find potential issues in generating
IR. Both afl-fuzz and LLVM's lib/Fuzzer are being used.
This CL introduces the executable that implements the in-process
fuzzer using LLVM's lib/Fuzzer. The motivation for using lib/Fuzzer is
based on time comparisons between afl-fuzz and lib/Fuzzer. Early
results show that per-process, the lib/Fuzzer implemenation of llvm-as
(i.e. this CL) generates over 30 times the number of mutations found
by afl-fuzz, per hour runtime. The speedup is due to the removal of
overhead of forking a process, and loading the executable into memory.
I placed this under the tools directory, since it is an executable. It
is also only conditionally built if (using cmake) the flag
LLVM_USEE_SANITIZE_COVERAGE is used, so that it isn't built by
default.
Reviewers: kcc, filcab
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D12438
llvm-svn: 246458
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions