[PATCH] D11072: Implement tool to convert bitcode to text.

Karl Schimpf kschimpf at google.com
Thu Jul 9 15:04:02 PDT 2015


kschimpf added a comment.

I guess I'm confused. I thought you were talking about a custom mutator.
One of the main goals is to allow it to use this API. The fuzzer would fuzz
the textual version. The custom mutator would then modify the fuzzed
bitcode into bitcode records using function readTextualBitcode, and then
reformat it to the binary form by calling writeBinaryBitcode.

This would allow the LLVM bitcode reader to work out of the box, without
having to change the code.

The tool llvm-bcconv just makes it convenient to build unit test cases for
LLVM, and to convert (assembled) llvm fuzzing test cases into the textual
form.

Karl Schimpf


http://reviews.llvm.org/D11072







More information about the llvm-commits mailing list