Skip to content

fix: pass sancov or sancov-module #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Aug 16, 2022
Merged

fix: pass sancov or sancov-module #63

merged 10 commits into from
Aug 16, 2022

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.

@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 <[email protected]>
@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