fuzzbench icon indicating copy to clipboard operation
fuzzbench copied to clipboard

Wrap LLVMFuzzerTestOneInput

Open jonathanmetzman opened this issue 5 years ago • 1 comments

Wrap LLVMFuzzerTestOneInput.

This can be used as a proof of concept for sampling. It may not work with all benchmarks such as bloaty. That is because some benchmarks depend on FUZZER_LIB being an actual library rather than CFLAGS.

An alternative approach is to use sed and awk to rewrite source files containing LLVMFuzzerTestOneInput.

jonathanmetzman avatar Oct 16 '20 15:10 jonathanmetzman

Wow looks like every standard benchmark builds with the wrapped LLVMFuzzerTestOneInput.

jonathanmetzman avatar Oct 16 '20 16:10 jonathanmetzman