-
Notifications
You must be signed in to change notification settings - Fork 109
Unknown pass name 'sancov' #192
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
Comments
|
This error is caused by new LLVM pass manager, which sancov has a new name called "sancov-module". The fix should check llvm version to decide which name should be used. |
@smoelius The workaround could be passing -Znew-llvm-pass-manager=no to avoid new LLVM pass manager. |
Work around an issue due to new pass-manager, as mentioned here: <rust-fuzz/afl.rs#192 (comment)> This affords us some time (until LLVM 14 or 15 iirc) for a more permanent fix to appear upstream.
Work around an issue due to new pass-manager, as mentioned here: <rust-fuzz/afl.rs#192 (comment)> This affords us some time (until LLVM 14 or 15 iirc) for a more permanent fix to appear upstream.
@charlesxsh I'm sorry for having gotten sidetracked with #193. But your suggestion was very helpful, and I did actually make use it. Thank you very much. |
rust-fuzz/cargo-fuzz#276
afl.rs
suffers from this issue as well:afl.rs/src/bin/cargo-afl.rs
Line 307 in 2913404
afl.rs/src/bin/cargo-afl.rs
Line 326 in 2913404
There seem to be at least two options:
cargo-fuzz
does.I don't have a strong opinion. Does anyone else?
The text was updated successfully, but these errors were encountered: