Autarkie: Instant Grammar Fuzzing with Rust Macros
2025-04-28
Autarkie is a native grammar fuzzer written in Rust that leverages procedural macros to almost automatically generate grammar fuzzers. Supporting both AFL++ and cargo-fuzz, it can fuzz C/C++ and Rust projects. Autarkie's unique features include self-maintaining grammar, exhaustive grammar coverage, reusable corpus, and the ability to learn from other fuzzers (under development). Two examples demonstrate fuzzing SQLite3 and Solana's sbpf interpreter, highlighting its ease of use and efficiency. Currently in beta and requires a nightly Rust compiler.
Development
grammar