AFL Runner can be installed in two ways: directly from crates.io usingDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/0xricksanchez/AFL_Runner/llms.txt
Use this file to discover all available pages before exploring further.
cargo install, or built locally from source. Both methods produce the same aflr binary. The crates.io path is the fastest route for most users; building from source gives you access to unreleased changes or lets you customize the feature flags.
Prerequisites
Ensure the following dependencies are present on your system before installing AFL Runner.| Dependency | Version | Required? | Purpose |
|---|---|---|---|
| Rust toolchain | v1.85.0 | Required | Compiling aflr |
| AFLPlusPlus | Latest | Required | The underlying fuzzer |
| pgrep | Any | Required | Process lookup for session management |
| tmux or screen | Any | Optional | Session creation and window layout |
| LLVM | Any | Optional | Coverage collection and report generation |
tmux or screen is required if you want AFL Runner to automatically create a multiplexed terminal session and lay out fuzzer panes. Without either, you can still generate commands (aflr gen) or run campaigns in detached mode.Install from crates.io
Installing from crates.io is the recommended approach for most users. It pulls the latest stable release and compiles it with your local Rust toolchain.Verify the installation
Confirm that the You should see the subcommand listing for
aflr binary is on your PATH and prints the help output:gen, run, cov, tui, kill, and add-seed.(Optional) Install with shell completion support
To enable tab-completion for tmux session names in the After installation, generate the completion scripts and source them in your shell. See the Shell Completion section below for per-shell setup instructions.
kill subcommand, install with the completion feature flag:Build from Source
Building from source is useful when you want the latest unreleased changes from themain branch or when you need to modify AFL Runner itself.
Build the release binary
./target/release/aflr. The release profile enables LTO, opt-level = 3, and codegen-units = 1 for a fully optimized build.Verify the build
Run the binary directly from the build output:Optionally, copy or symlink the binary to a directory on your
PATH:Side-by-Side Comparison
Shell Completion
Once you have built or installed AFL Runner with thecompletion feature, configure your shell to load the generated scripts.
Zsh
<Tab> after aflr kill will suggest the names of all running tmux sessions.