rust-fuzz / honggfuzz-rs

Fuzz your Rust code with Google-developed Honggfuzz !
https://crates.io/crates/honggfuzz
Apache License 2.0
448 stars 40 forks source link

fix: pass sancov or sancov-module #63

Closed PsiACE closed 2 years ago

PsiACE commented 2 years ago

Fixes: #61

The fix for now is to pass -C passes=sancov-module to compilers for which the LLVM version is >= 13.

taiki-e commented 2 years ago

Note that this is currently only needed for the nightly compiler: https://github.com/rust-fuzz/afl.rs/pull/197

PsiACE commented 2 years ago

Note that this is currently only needed for the nightly compiler: rust-fuzz/afl.rs#197

ok, I will change to version_meta.channel == rustc_version::Channel::Nightly && version_meta.llvm_version.map_or(true, |v| v.major >= 13)

PsiACE commented 2 years ago

cc @taiki-e , Done!

PaulGrandperrin commented 2 years ago

Thanks @taiki-e and @PsiACE for this patch!

And sorry for the looong delay :/