Add --use-libafl toggle#426
Conversation
This toggle uses the libfuzzer-sys-compatible libafl implementation instead of libfuzzer.
|
Heyo, maintainer of Our solution works, but because we are written in Rust and require different sanitizer flags, it is rather unstable as we need to do quite a bit that assumes things about compiler output. If we had better support from Rust in these features, I'd feel more comfortable with trying to make a "stable" replacement. |
|
Adding an option seems fine by me. I would be wary of changing the default, at least initially, and without knowing more about the project. It is very important that binaries built with That said, without having actually looked at the changes yet, I'd expect the changes to be limited to |
fitzgen
left a comment
There was a problem hiding this comment.
Ah this is just for the project initialization. Sure, seems fine by me.
Yeah that's one of our long-term goals, but we want to make linkage nice and friendly first... we don't/can't test a lot of targets, yet. It could be nice to dogfood (well, kinda) fuzzing for Rust at some point. |
I recently came across this issue from 2023: #330
Is there any interest in making libafl the default fuzzer for cargo fuzz? From what I can tell it’s faster/better than libfuzzer and is still being actively developed.
cc @Manishearth @fitzgen @addisoncrump @domenukk @frewsxcv
Stacked on #425.