]> granicus.if.org Git - clang/commit
Updated llvm-proto-fuzzer to execute the compiled code
authorEmmett Neyman <eneyman@google.com>
Thu, 26 Jul 2018 22:23:25 +0000 (22:23 +0000)
committerEmmett Neyman <eneyman@google.com>
Thu, 26 Jul 2018 22:23:25 +0000 (22:23 +0000)
commit034aa09eac02832e77c7dc4fc638e53cf0f8aed3
treefaa9c5a108757abac3e2975970a4fc1c542967e5
parent7d295a322620d385499f7f704a3117e28a2d8fcd
Updated llvm-proto-fuzzer to execute the compiled code

Summary:
Made changes to the llvm-proto-fuzzer
- Added loop vectorizer optimization pass in order to have two IR versions
- Updated old fuzz target to handle two different IR versions
- Wrote code to execute both versions in memory

Reviewers: morehouse, kcc, alexshap

Reviewed By: morehouse

Subscribers: pcc, mgorny, cfe-commits, llvm-commits

Differential Revision: https://reviews.llvm.org/D49526

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338077 91177308-0d34-0410-b5e6-96231b3b80d8
tools/clang-fuzzer/fuzzer-initialize/fuzzer_initialize.cpp
tools/clang-fuzzer/handle-llvm/CMakeLists.txt
tools/clang-fuzzer/handle-llvm/handle_llvm.cpp