-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# A trivial script that just runs multiple instances of afl-fuzz in the | ||
# background (as many as # the number of CPUs). Then it starts a master process | ||
# that actually displays the stats. Once you kill the master process (for | ||
# example) using CTR+C, the remaining processes are killed as well. | ||
# | ||
# USAGE: just like afl-fuzz | ||
# | ||
# AUTHOR: Jacek "d33tah" Wielemborek, licensed under WTFPL. | ||
|
||
|
||
for i in `seq 2 $(nproc)`; do | ||
afl-fuzz -S $RANDOM $@ >/dev/null 2>&1 & | ||
done | ||
afl-fuzz -M master $@ | ||
pkill afl-fuzz |