4 ms·
This is what I'm striving for: #[fuzz] fn test_fuzz(bytes: Vec<u8>) { ... } This would live alongside other test cases and everytime fuzzi
by frewsxcv 10y ago
This is what I'm striving for:
#[fuzz]
fn test_fuzz(bytes: Vec<u8>) {
...
}
This would live alongside other test cases and everytime fuzzing is desired, one could just do `cargo fuzz`. Relevant issues and a pull request:
https://github.com/frewsxcv/afl.rs/issues/24 https://github.com/frewsxcv/afl.rs/issues/24
https://github.com/frewsxcv/afl.rs/issues/31 https://github.com/frewsxcv/afl.rs/issues/31
https://github.com/frewsxcv/afl.rs/pull/46 https://github.com/frewsxcv/afl.rs/pull/46
There's still a little more work to do though. Mainly, I want to compile AFL as a part of the workflow (see the afl-sys crate in the repo) so the user doesn't need to manually install AFL to use `cargo fuzz`.