Skip to content

Instantly share code, notes, and snippets.

@y-ates
Created November 12, 2017 14:45
Show Gist options
  • Select an option

  • Save y-ates/1a411dee612d909bdba62f6e499c8ea0 to your computer and use it in GitHub Desktop.

Select an option

Save y-ates/1a411dee612d909bdba62f6e499c8ea0 to your computer and use it in GitHub Desktop.
for afl
#!/bin/bash
dirs=(queue crashes hangs)
for dir in ${dirs[*]}
do
printf "\n\n"
echo "##################################"
printf "# Using directory $dir \n"
echo "##################################"
printf "\n\n"
filenames=$(ls outputs/${dir})
for filename in $filenames
do
echo "Try $filename"
cat outputs/${dir}/$filename | ./simple
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment