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
Differential D49526
Updated llvm-proto-fuzzer to execute the compiled code emmettneyman on Jul 18 2018, 5:43 PM. Authored by
Details Made changes to the llvm-proto-fuzzer
Diff Detail
Event TimelineComment Actions The files Object.h Object.cpp llvm-objcopy.h are from llvm/tools/llvm-obj-copy with only slight modifications, mostly deleting irrelevant parts.
Comment Actions You can probably get rid of the llvm-objcopy code and make this a lot simpler with something like:
Comment Actions Cleaned up code Tried to get rid of ParseCommandLineOptions() call but could not figure out
Comment Actions Do we need to parse the arguments for opt-level, or can we just hardcode -O2 and remove the argument parsing code?
Comment Actions I have the argument parsing code since the original clang-proto-fuzzer code had it and @kcc mentioned we might want to change the command line arguments in the future.
|
Unnecessary llvm::