honggfuzz-rs icon indicating copy to clipboard operation
honggfuzz-rs copied to clipboard

fix: pass sancov or sancov-module

Open PsiACE opened this issue 3 years ago • 3 comments

Fixes: #61

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

PsiACE avatar Jan 01 '22 02:01 PsiACE

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

taiki-e avatar Jan 04 '22 02:01 taiki-e

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 avatar Jan 04 '22 03:01 PsiACE

cc @taiki-e , Done!

PsiACE avatar Jan 04 '22 05:01 PsiACE

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

And sorry for the looong delay :/

PaulGrandperrin avatar Aug 16 '22 21:08 PaulGrandperrin