_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
A bit of prior work to be aware of:
There's something running under OSSFuzz already. I'm not super clear on what this is, how it works operationally, but definitely something to be aware of.
llvm-stress is an in tree tool for generating random IR. Not sure this has been actively maintained at all though.
If you're going to use a coverage guided fuzzer, you want to give some thought to your corpus choice. Will your corpus be IR? Bitcode? A random seed for llvm-stress? A random buffer replacing llvm-stress' RNG? Each has tradeoffs and will exercise different parts of the infrastructure.
It's also worth commenting that bugpoint's reduction strategy
tends to be a very effective mutation fuzzer in practice.
Personally, I'd approach it with something like the following:
The preceding is not super well thought out, just what occurred
to me in the moment.
Philip