rust-fuzz / cargo-fuzz

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

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

Closed jonboh closed 6 months ago

jonboh commented 6 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