Skip to content

Conversation

@PsiACE
Copy link
Contributor

@PsiACE PsiACE commented Jan 1, 2022

Fixes: #61

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

PaulGrandperrin and others added 8 commits March 3, 2021 17:40
Better error message when version of honggfuzz bin and lib do not match
deps: replace unmaintained memmap (RUSTSEC-2020-0077)
Signed-off-by: Chojan Shang <psiace@outlook.com>
Signed-off-by: Chojan Shang <psiace@outlook.com>
@taiki-e
Copy link

taiki-e commented Jan 4, 2022

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

@PsiACE
Copy link
Contributor Author

PsiACE commented Jan 4, 2022

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)

Signed-off-by: Chojan Shang <psiace@outlook.com>
@PsiACE
Copy link
Contributor Author

PsiACE commented Jan 4, 2022

cc @taiki-e , Done!

@PaulGrandperrin PaulGrandperrin merged commit 903bbfa into rust-fuzz:master Aug 16, 2022
@PaulGrandperrin
Copy link
Member

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

And sorry for the looong delay :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

failed to run LLVM passes: unknown pass name 'sancov' when running hfuzz with rustc 1.57.0

4 participants