afl-showmap(8)
π afl-showmap(8) β System Manager's Manual π
okay so bestie, welcome to afl-showmap from the AFL++ family β this is the little tool that shows you the raw tuple data your target's AFL instrumentation captured. think of it as a vibe check for your coverage map π
β¨ NAME β¨
afl-showmap β the icon of showing you what edges your program actually hit, no cap π
πΈ SYNOPSIS πΈ
afl-showmap [ options ] -- /path/to/target_app [ ... ]
yep that's the whole shape of it: your options first, then --, then the target and whatever args you wanna feed it π«Ά
π OPTIONS π
π Required parameters π
-o fileβ the file where the trace data gets written. lowkey required β except when you're using-S, then it's not needed at all.
π₯ Execution control settings π₯
-t msecβ timeout for each run, in milliseconds (default:1000ms)-m megsβ memory limit for the child process (default:none)-Oβ use binary-only instrumentation, aka FRIDA mode-Qβ use binary-only instrumentation, aka QEMU mode-Uβ use Unicorn-based instrumentation, aka Unicorn mode-Wβ use qemu-based instrumentation with Wine, aka Wine mode (not necessary, it's here for consistency with the otherafl-*tools β cute of them honestly)-Xβ use Nyx mode π
β Other settings β
-f fileβ the input file read by the tested program-Sβ streaming mode: reads test cases from stdin and writes coverage to stdout using a length-value protocol. this is the slay part that lets you useafl-showmapas a coverage proxy so you can leverage the AFL++ forkserver without implementing it yourself, iykyk π«
Protocol β input side:
[u32 len][data]
Protocol β output side:
[u16 status][u32 edges][(u32,u8)*]
[u32 stdout_len][stdout_data*]
[u32 stderr_len][stderr_data*]
Status bits explained:
bits [0:1] = exit (0=ok, 1=timeout, 2=crash)
bits [2:7] = reserved (0)
bits [8:15] = exit code (ok) or signal (crash)
heads up bestie π«Άstdout_len/stderr_lenare currently always 0 β output capture is not yet implemented. don't come for me, it's on the way π
-i dirβ process all files below this directory. must be combined with-o. with-C,-ois a file; without-Cit must be a directory, and each bitmap gets written there individually π-I filelistβ instead of-i, you hand it a list of files-Cβ collect coverage, writes all edges to-oand gives you a summary. must be combined with-i.-qβ sink the program's output and don't show messages (silence is golden β¨)-eβ show edge coverage only, ignore hit counts-rβ show real tuple values instead of AFL filter values-sβ do not classify the map-cβ allow core dumps
π¦ the whole point π¦
this tool displays the raw tuple data captured by AFL instrumentation. for additional help, consult docs/README.md π§
if you're using -i/-I mode, then custom mutator post_process send/send functionality is supported. literally built for the group chat π
π Environment variables used π
LD_BIND_LAZYβ do not set theLD_BIND_NOWenv var for the targetAFL_CMIN_CRASHES_ONLYβ (cmin_mode) only write tuples for crashing inputsAFL_CMIN_ALLOW_ANYβ (cmin_mode) write tuples for crashing and timeout inputs tooAFL_CRASH_EXITCODEβ optional child exit code to be interpreted as a crashAFL_DEBUGβ enable extra developer output π©βπ»AFL_FORKSRV_INIT_TMOUTβ time spent waiting for the forkserver during startup (in milliseconds)AFL_KILL_SIGNALβ signal ID delivered to child processes on timeout, etc. (default:SIGKILL)AFL_FORK_SERVER_KILL_SIGNALβ kill signal for the fork server on termination (default:SIGTERM). if unset andAFL_KILL_SIGNALis set, that value will be used.AFL_MAP_SIZEβ the shared memory size for that target. must be>=the size the target was compiled for π¨AFL_PRELOADβLD_PRELOAD/DYLD_INSERT_LIBRARIESsettings for the targetAFL_INPUT_PLACEHOLDERβ custom placeholder for the input file (default:@@)AFL_PRINT_FILENAMESβ print the queue entry currently processed to stdoutAFL_QUIETβ do not print extra informational output π€«AFL_NO_FORKSRVβ run the target viaexecveinstead of using the forkserver
π AUTHOR π
AFL++ was written by Michal "lcamtuf" Zalewski and is maintained by Marc "van Hauser" Heuse <mh@mh-sec.de>, Dominik Maier <domenukk@gmail.com>, Andrea Fioraldi <andreafioraldi@gmail.com> and Heiko "hexcoder-" Eissfeldt <heiko.eissfeldt@hexco.de>. the homepage of AFL++ is: https://github.com/AFLplusplus/AFLplusplus β go follow the icons π
π LICENSE π
AFL++ is licensed under AGPL-3.0-or-later, with original components under Apache-2.0; an optional commercial license is available. see https://github.com/AFLplusplus/AFLplusplus/blob/stable/LICENSING.md π«Ά
and that's the whole page, bestie β¨ β this edition of <pink>AFL++</pink> dropped on 2026-06-05 and honestly?? ate. no notes. bye babes π
ππ¦
π¦ where this page comes from
- arch rolling: afl++ 5.00c-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms