Lines Matching +full:fuzz +full:- +full:seconds
3 . ./test-pre.sh
6 test -d ../unicorn_mode/unicornafl -a -e ../unicorn_mode/unicornafl/Makefile && {
7 …test -e ../unicorn_mode/samples/python_simple/simple_target.bin -a -e ../unicorn_mode/samples/comp…
13 PYTHONS="`command -v python3` `command -v python` `command -v python2`"
17 if $PYTHON -c "import setuptools" ; then
28 … echo "[-] Error: Python setup-tools not found. Run 'sudo apt-get install python-setuptools'."
36 … $ECHO "$GREY[*] running afl-fuzz for unicorn_mode (persistent), this will take approx 25 seconds"
37 …AFL_DEBUG_CHILD=1 ../../../afl-fuzz -m none -V15 -U -i sample_inputs -o out -d -- ./harness @@ >>e…
38 test -n "$( ls out/default/queue/id:000002* 2>/dev/null )" && {
39 $ECHO "$GREEN[+] afl-fuzz is working correctly with unicorn_mode (persistent)"
41 echo CUT------------------------------------------------------------------CUT
43 echo CUT------------------------------------------------------------------CUT
44 $ECHO "$RED[!] afl-fuzz is not working correctly with unicorn_mode (persistent)"
48 rm -rf out errors >/dev/null
53 test "$PY" = "/opt/pyenv/shims/python" -a -x /usr/bin/python && PY=/usr/bin/python
54 mkdir -p in
57 if ! $PY -c 'import unicornafl' 2>/dev/null ; then
58 $ECHO "$YELLOW[-] we cannot test unicorn_mode for python because it is not present"
62 … $ECHO "$GREY[*] running afl-fuzz for unicorn_mode in python, this will take approx 25 seconds"
64 …../afl-fuzz -m ${MEM_LIMIT} -V15 -U -i in -o out -d -- "$PY" ../unicorn_mode/samples/python_simple…
66 test -n "$( ls out/default/queue/id:000002* 2>/dev/null )" && {
67 $ECHO "$GREEN[+] afl-fuzz is working correctly with unicorn_mode"
69 echo CUT------------------------------------------------------------------CUT
71 echo CUT------------------------------------------------------------------CUT
72 $ECHO "$RED[!] afl-fuzz is not working correctly with unicorn_mode"
75 rm -f errors
80 $ECHO "$GREY[*] running afl-fuzz for unicorn_mode compcov, this will take approx 35 seconds"
83 …../afl-fuzz -m ${MEM_LIMIT} -V15 -U -i in -o out -d -- "$PY" ../unicorn_mode/samples/compcov_x64/c…
86 test -n "$( ls out/default/queue/id:000001* 2>/dev/null )" && {
87 $ECHO "$GREEN[+] afl-fuzz is working correctly with unicorn_mode compcov"
89 echo CUT------------------------------------------------------------------CUT
91 echo CUT------------------------------------------------------------------CUT
92 $ECHO "$RED[!] afl-fuzz is not working correctly with unicorn_mode compcov"
95 rm -rf in out errors
103 $ECHO "$RED[!] missing sample binaries in unicorn_mode/samples/ - what is going on??"
108 $ECHO "$YELLOW[-] unicorn_mode is not compiled, cannot test"
112 . ./test-post.sh