Lines Matching +full:fuzz +full:- +full:seconds
3 . ./test-pre.sh
8 test -e test-custom-mutator.c -a -e ${CUSTOM_MUTATOR_PATH}/example.c -a -e ${CUSTOM_MUTATOR_PATH}/e…
11 test -e ../afl-clang-fast && {
12 ../afl-clang-fast -o test-custom-mutator test-custom-mutator.c > /dev/null 2>&1
14 test -e ../afl-gcc-fast && {
15 ../afl-gcc-fast -o test-custom-mutator test-custom-mutator.c > /dev/null 2>&1
17 ../afl-gcc -o test-custom-mutator test-custom-mutator.c > /dev/null 2>&1
21 test -e ../afl-clang-fast && {
22 ../afl-clang-fast -o test-multiple-mutators test-multiple-mutators.c > /dev/null 2>&1
24 test -e ../afl-gcc-fast && {
25 ../afl-gcc-fast -o test-multiple-mutators test-multiple-mutators.c > /dev/null 2>&1
27 ../afl-gcc -o test-multiple-mutators test-multiple-mutators.c > /dev/null 2>&1
31 …cc -D_FIXED_CHAR=0x41 -g -fPIC -shared -I../include ../custom_mutators/examples/simple_example.c -…
32 …cc -D_FIXED_CHAR=0x42 -g -fPIC -shared -I../include ../custom_mutators/examples/simple_example.c -…
33 test -e test-custom-mutator -a -e ./libexamplemutator.so && {
35 mkdir -p in
38 # Run afl-fuzz w/ the C mutator
39 $ECHO "$GREY[*] running afl-fuzz for the C mutator, this will take approx 10 seconds"
41 …plemutator.so AFL_CUSTOM_MUTATOR_ONLY=1 ../afl-fuzz -V07 -m ${MEM_LIMIT} -i in -o out -d -- ./test…
45 test -n "$( ls out/default/crashes/id:000000* 2>/dev/null )" && { # TODO: update here
46 $ECHO "$GREEN[+] afl-fuzz is working correctly with the C mutator"
48 echo CUT------------------------------------------------------------------CUT
50 echo CUT------------------------------------------------------------------CUT
51 $ECHO "$RED[!] afl-fuzz is not working correctly with the C mutator"
56 rm -rf out errors core.*
58 # Run afl-fuzz w/ multiple C mutators
59 …$ECHO "$GREY[*] running afl-fuzz with multiple custom C mutators, this will take approx 10 seconds"
61 …mutator2.so" AFL_CUSTOM_MUTATOR_ONLY=1 ../afl-fuzz -V07 -m ${MEM_LIMIT} -i in -o out -d -- ./test-…
64 test -n "$( ls out/default/crashes/id:000000* 2>/dev/null )" && { # TODO: update here
65 $ECHO "$GREEN[+] afl-fuzz is working correctly with multiple C mutators"
67 echo CUT------------------------------------------------------------------CUT
69 echo CUT------------------------------------------------------------------CUT
70 $ECHO "$RED[!] afl-fuzz is not working correctly with multiple C mutators"
75 rm -rf out errors core.*
84 test "1" = "`../afl-fuzz | grep -i 'without python' >/dev/null; echo $?`" && {
85 test -e test-custom-mutator && {
86 # Run afl-fuzz w/ the Python mutator
87 $ECHO "$GREY[*] running afl-fuzz for the Python mutator, this will take approx 10 seconds"
91 …AFL_CUSTOM_MUTATOR_ONLY=1 ../afl-fuzz -V07 -m ${MEM_LIMIT} -i in -o out -- ./test-custom-mutator >…
97 test -n "$( ls out/default/crashes/id:000000* 2>/dev/null )" && { # TODO: update here
98 $ECHO "$GREEN[+] afl-fuzz is working correctly with the Python mutator"
100 echo CUT------------------------------------------------------------------CUT
102 echo CUT------------------------------------------------------------------CUT
103 $ECHO "$RED[!] afl-fuzz is not working correctly with the Python mutator"
108 rm -rf in out errors core.*
109 rm -rf ${CUSTOM_MUTATOR_PATH}/__pycache__/
110 rm -f test-multiple-mutators test-custom-mutator libexamplemutator.so libexamplemutator2.so
118 $ECHO "$YELLOW[-] no python support in afl-fuzz, cannot test"
122 make -C ../utils/custom_mutators clean > /dev/null 2>&1
123 rm -f test-custom-mutator test-custom-mutators
125 . ./test-post.sh