Show HN: Autarkie – Instant Grammar Fuzzing Using Rust Macros
Published on: 2025-08-11 10:30:14
Autarkie - Instant Grammar Fuzzing Using Rust Macros
Autarkie is a native grammar fuzzer built in Rust. Using procedural macros, it (almost completely) automatically creates a grammar fuzzer. Autarkie is heavily inspired by nautilus.
Features
Essentially a drop-in replacement for arbitrary
Actual grammar fuzzing - not "structure aware"
Supports both AFL++ (Forkserver) and cargo-fuzz (Inprocess).
As long as the grammar is defined using Rust, you can fuzz C/C++ too (using AFL++ forkserver)
Really easy to use, complexity is abstracted for you.
Trivial to integrate with other fuzzers.
Niche features
Autarkie has several features that other grammar fuzzers do not have:
No grammar maintenance; because the grammar is part of the code, if the project is updated, the grammar updates too.
Grammar is completely exhaustive; the compiler will make sure that every necessary type is included. No more guesswork.
Corpus is re-usable. If you stop the fuzzer, you can re-start it and it will
... Read full article.