summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--fuzz/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/fuzz/README.md b/fuzz/README.md
index 6b5f4ae..8bdfd11 100644
--- a/fuzz/README.md
+++ b/fuzz/README.md
@@ -40,3 +40,12 @@ You'll have to do this as root:
40``` 40```
41$ AFL_SKIP_CPUFREQ=1 afl-fuzz -i - -o fuzz/outputs -- ./zig-out/bin/fuzz 41$ AFL_SKIP_CPUFREQ=1 afl-fuzz -i - -o fuzz/outputs -- ./zig-out/bin/fuzz
42``` 42```
43
44# Debugging a crash
45
46If `afl-fuzz` finds a crash it will be added to `fuzz/outputs/default/crashes.XYZ`.
47
48To debug the crash you can run the fuzz binary and giving it the content of the crash via stdin, for example:
49```
50$ ./zig-out/bin/fuzz < 'fuzz/outputs/default/crashes.2021-12-31-12:43:12/id:000000,sig:06,src:000004,time:210548,execs:1011599,op:havoc,rep:2'
51```