mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-27 07:59:35 +01:00
15 lines
196 B
Bash
15 lines
196 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
if [ ! -d "$1" ] ; then
|
||
|
echo "I need a directory"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
which=`basename "$1"`
|
||
|
|
||
|
mkdir "$1.out"
|
||
|
afl-cmin -i "$1" -o "$1.out" -m none "./src/test/fuzz/fuzz-${which}"
|
||
|
|