When you runDocumentation 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.
aflr run, AFL Runner creates a terminal multiplexer session — tmux by default, or GNU screen — and launches every afl-fuzz instance inside it. Each fuzzer gets its own pane so you can attach and inspect individual runners at any time. The session persists in the background so your campaign survives terminal disconnections, and AFL Runner tracks all spawned PIDs in a file so it can perform a clean shutdown on demand.
tmux and screen are optional dependencies. They are only required for the
aflr run session-management features. If you only use aflr gen to print commands or aflr tui to observe an already-running campaign, neither multiplexer needs to be installed.Session backends
AFL Runner supports two multiplexer backends, selected with--session-runner:
| Backend | Default | Kill command | Check command | Attach command |
|---|---|---|---|---|
tmux | ✅ | tmux kill-session -t <name> | tmux has-session -t <name> | tmux attach-session -t <name> |
screen | ❌ | screen -S <name> -X kill | screen -list <name> | screen -r <name> |
--session-runner on the command line or setting runner in the [session] section of your config file:
Session naming
AFL Runner supports both explicit and auto-generated session names. Custom name — pass--session-name to choose a memorable identifier:
--session-name is omitted, AFL Runner derives a deterministic 6-digit hash from the combination of the target binary filename, the input directory name, and any target arguments, then formats it as:
aflr gen (the name is printed) or simply run tmux ls / screen -ls after launch.
Session lifecycle
Create and start
aflr run generates all afl-fuzz commands, writes them into a shell script, and executes it to create the multiplexer session. A PID file is written to:afl-fuzz PID spawned during the session and is used by aflr kill for clean process cleanup.Attach or monitor
After creation, AFL Runner’s behaviour depends on which attachment mode was requested:
| Flag | Behaviour |
|---|---|
| (none) | Attaches directly to the multiplexer session after launch |
--tui | Launches the built-in stats TUI instead of the raw session view |
--detached | Starts the session and exits immediately — fuzzers run fully in the background |
--tui and --detached are mutually exclusive. AFL Runner will exit with an error if both are specified.You can reconnect the TUI at any time, even from a different terminal, by pointing it at the output directory:Practical examples
The auto-generated session name is deterministic but only unique per (target, corpus, args) tuple. If you run two campaigns against the same target with the same corpus in different output directories, they will collide on the same auto-generated name. Use
--session-name to disambiguate concurrent campaigns targeting the same binary.