rust-fuzz / cargo-fuzz

Command line helpers for fuzzing
https://rust-fuzz.github.io/book/cargo-fuzz.html
Apache License 2.0
1.55k stars 110 forks source link

Add option to provide `llvm-path` in `cargo fuzz coverage` #353

Closed jonboh closed 10 months ago

jonboh commented 10 months ago

It would be good if you could provide cargo-fuzz with the location of an already installed instance of llvm-profdata to run on cargo fuzz coverage. In the case the user does not provide an installation the current logic of falling back to rustc llvm-tools-preview can be used by default.

grcov already provides this option as llvm-path