afl 0.15.11

Fuzzing Rust code with american-fuzzy-lop
Documentation
1
2
3
4
5
6
7
8
9
#![allow(clippy::manual_assert)]

fn main() {
    afl::fuzz!(|data: &[u8]| {
        if data.first() == Some(&b'a') {
            panic!("Crash!");
        }
    });
}