1
0
This commit is contained in:
sfan5
2023-09-17 23:40:31 +02:00
parent 679dfd3343
commit 4ca90e3dfd
5 changed files with 103 additions and 2 deletions

17
run.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
export AFL_SKIP_CPUFREQ=1
export AFL_TMPDIR=/dev/shm
opts=(
-t 100
-i sample_u/
-o out/
)
exe=./bin/Linux/LoadTexture
if ! [ -d sample_u ]; then
mkdir sample_u
afl-cmin.bash -i sample/ -o sample_u/ -- $exe @@
echo; echo
fi
exec afl-fuzz \
"${opts[@]}" "$@" \
-- $exe @@