[PATCH] D49526: Updated llvm-proto-fuzzer to execute the compiled code

Peter Collingbourne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 18 17:52:42 PDT 2018


pcc added inline comments.


================
Comment at: clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp:209
+
+// Helper function that converts ELF relocatable into raw machine code that
+// can be executed in memory. Returns size of machine code.
----------------
Did you look at using LLVM's JIT infrastructure to do this?


Repository:
  rC Clang

https://reviews.llvm.org/D49526





More information about the cfe-commits mailing list