unplugged-system/external/AFLplusplus/utils
2025-10-06 13:59:42 +00:00
..
afl_network_proxy Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
afl_proxy Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
afl_untracer Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
aflpp_driver Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
analysis_scripts Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
argv_fuzzing Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
asan_cgroups Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
bash_shellshock Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
canvas_harness Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
clang_asm_normalize Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
crash_triage Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
defork Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
distributed_fuzzing Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
libdislocator Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
libpng_no_checksum Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
libtokencap Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
persistent_mode Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
plot_ui Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
qbdi_mode Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
qemu_persistent_hook Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
socket_fuzzing Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

AFL++ Examples

Here's a quick overview of the stuff you can find in this directory:

  • aflpp_driver - easily instrument LLVMFuzzerTestOneInput() harnesses.

  • afl_network_proxy - fuzz a target over the network: afl-fuzz on a host, target on an embedded system.

  • plot_ui - simple UI window utility to display the plots generated by afl-plot

  • afl_proxy - skeleton file example to show how to fuzz something where you gather coverage data via different means, e.g., hw debugger

  • afl_untracer - fuzz binary-only libraries much faster but with less coverage than QEMU mode

  • analysis_scripts - random -o out analysis scripts

  • argv_fuzzing - a simple wrapper to allow cmdline to be fuzzed (e.g., to test setuid programs).

  • asan_cgroups - a contributed script to simplify fuzzing ASAN binaries with robust memory limits on Linux.

  • autodict_ql - generate dictionary files from source code.

  • bash_shellshock - a simple hack used to find a bunch of post-Shellshock bugs in bash.

  • canvas_harness - a test harness used to find browser bugs with a corpus generated using simple image parsing binaries & afl-fuzz.

  • clang_asm_normalize - a script that makes it easy to instrument hand-written assembly, provided that you have clang.

  • crash_triage - a very rudimentary example of how to annotate crashes with additional gdb metadata.

  • custom_mutators - examples for the AFL++ custom mutator interface in C and Python. Note: They were moved to ../custom_mutators/examples/

  • defork - intercept fork() in targets

  • distributed_fuzzing - a sample script for synchronizing fuzzer instances across multiple machines.

  • libdislocator - like ASAN but lightweight.

  • libtokencap - collect string tokens for a dictionary.

  • libpng_no_checksum - a sample patch for removing CRC checks in libpng.

  • optimin - An optimal corpus minimizer.

  • persistent_mode - an example of how to use the LLVM persistent process mode to speed up certain fuzzing jobs.

  • qemu_persistent_hook - persistent mode support module for qemu.

  • socket_fuzzing - a LD_PRELOAD library 'redirects' a socket to stdin for fuzzing access with AFL++

Note that the minimize_corpus.sh tool has graduated from the utils/ directory and is now available as ../afl-cmin. The LLVM mode has likewise graduated to ../instrumentation/*.

Most of the tools in this directory are meant chiefly as examples that need to be tweaked for your specific needs. They come with some basic documentation, but are not necessarily production-grade.