用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/AeonDave/malskill --skill aflplusplus命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | aflplusplus |
| description | Auth/lab ref: Coverage-guided fuzzing framework for source and binary targets. |
| license | Apache-2.0 |
| compatibility | Linux, macOS, Windows (WSL/Cygwin paths vary). |
| metadata | {"author":"GitHub Copilot","version":"1.1"} |
AFL++ is a modern AFL fork with stronger instrumentation, mutation strategies, and binary-only options.
# Build target with AFL++ wrappers
CC=afl-cc CXX=afl-c++ ./configure --disable-shared --disable-werror
make -j"$(nproc)"
# Fuzz stdin target
afl-fuzz -i seeds -o out -- ./target_bin
# Fuzz file-based target
afl-fuzz -i seeds -o out -- ./target_bin @@
afl-clang-lto (or afl-clang-fast fallback).afl-cmin).-o dir.CMPLOG/Redqueen) in parallel.afl-tmin, replay under sanitizer, and bucket by stack/PC.| Flag | Description |
|---|---|
-i <dir> | Seed corpus directory |
-o <dir> | Output campaign directory |
-x <dict> | Dictionary for structured tokens |
-m <mb> | Memory limit |
-t <ms> | Per-exec timeout |
-M / -S | Parallel main/secondary instances |
-d | Skip deterministic stage (faster starts) |
Useful env variables in real campaigns:
AFL_USE_ASAN=1 / AFL_USE_UBSAN=1 for sanitizer build variants.AFL_LLVM_CMPLOG=1 for compare tracing binary used with -c.AFL_LLVM_LAF_ALL=1 for compare splitting (when needed).AFL_IMPORT_FIRST=1 to sync-import queue items early.AFL_TMPDIR=/dev/shm/... to reduce disk I/O pressure.# 1) Corpus cleanup
afl-cmin -i seeds -o seeds_min -- ./parser @@
# 2) Main instance
afl-fuzz -M main -i seeds_min -o out -- ./parser @@
# 3) Secondary instances (example)
afl-fuzz -S fast -i seeds_min -o out -p fast -- ./parser @@
afl-fuzz -S explore -i seeds_min -o out -p explore -- ./parser @@
# 4) Resume campaign later
afl-fuzz -i - -o out -- ./parser @@
# 5) Minimize crash for triage
afl-tmin -i out/default/crashes/id:000000* -o crash.min -- ./parser @@
FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION) to bypass blockers in harness builds.-m, -t) on unstable targets: noisy campaigns.