cargo-fuzz icon indicating copy to clipboard operation
cargo-fuzz copied to clipboard

Docs: Visualizing Coverage

Open kpcyrd opened this issue 7 years ago • 1 comments

It seems it's possible to visualize corpus coverage with libfuzzer and clang coverage:

https://github.com/google/fuzzer-test-suite/blob/master/tutorial/libFuzzerTutorial.md#visualizing-coverage

It would be interesting to have instructions on how to do this with cargo-fuzz so I can see if I'm currently missing any important branches.

kpcyrd avatar Oct 09 '18 22:10 kpcyrd

I tried using cargo fuzz with the -Zinstrument-coverage rustc option, but I got "symbols defined in discarded section" error during linking.

yshui avatar Nov 12 '20 12:11 yshui