-
Notifications
You must be signed in to change notification settings - Fork 110
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
Add --sanitizer=none #129
Comments
This isn't possible, you must use a sanitizer to get the fuzzing instrumentation to work. This could perhaps be fixed by a PR to upstream rust. |
In C it's possible to get Is that not possible here? |
It's true that right now, building without a sanitizer (by building your own version of cargo-fuzz) produces non-working targets but that shouldn't be the case. |
for the record: https://github.com/rust-fuzz/libfuzzer-sys/issues/29 |
Another use case for this is building with musl for a static library. This makes it really easy to ship a fuzzer to multiple machines. Right now none of the sanitizers are supported for musl. If I could build without sanitizers I believe I could build with musl. |
This is supported now. |
Currently it is impossible to make cargo-fuzz NOT use a sanitizer. This is usually worked around by using threadsan, as it doesn't do much for most programs, but I'm pretty sure that incurs some runtime cost.
I want to compile in release mode with no sanitizers to achieve maximum performance while looking for panics, as Rust eliminates most errors the sanitizers are made to detect.
The text was updated successfully, but these errors were encountered: