mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-23 22:35:19 +00:00
added whitelist+blacklist to all llvm_mode passes
This commit is contained in:
16
test/test.sh
16
test/test.sh
@ -153,10 +153,10 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" && {
|
||||
../afl-cmin -i in -o in2 -- ./test-instr.plain > /dev/null
|
||||
CNT=`ls in2/ | wc -l`
|
||||
case "$CNT" in
|
||||
1| *1) $ECHO "$GREEN[+] afl-cmin correctly minimized the number of testcases" ;;
|
||||
*) $ECHO "$RED[!] afl-cmin did not correctly minimizethe number of testcases"
|
||||
CODE=1
|
||||
;;
|
||||
*1) $ECHO "$GREEN[+] afl-cmin correctly minimized the number of testcases" ;;
|
||||
*) $ECHO "$RED[!] afl-cmin did not correctly minimize the number of testcases"
|
||||
CODE=1
|
||||
;;
|
||||
esac
|
||||
../afl-tmin -i in/in2 -o in2/in2 -- ./test-instr.plain > /dev/null 2>&1
|
||||
SIZE=`ls -l in2/in2 2> /dev/null | awk '{print$5}'`
|
||||
@ -259,10 +259,10 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && {
|
||||
../afl-cmin -i in -o in2 -- ./test-instr.plain > /dev/null
|
||||
CNT=`ls in2/ | wc -l`
|
||||
case "$CNT" in
|
||||
1| *1) $ECHO "$GREEN[+] afl-cmin correctly minimized the number of testcases" ;;
|
||||
*) $ECHO "$RED[!] afl-cmin did not correctly minimize the number of testcases"
|
||||
CODE=1
|
||||
;;
|
||||
*1) $ECHO "$GREEN[+] afl-cmin correctly minimized the number of testcases" ;;
|
||||
*) $ECHO "$RED[!] afl-cmin did not correctly minimize the number of testcases"
|
||||
CODE=1
|
||||
;;
|
||||
esac
|
||||
../afl-tmin -i in/in2 -o in2/in2 -- ./test-instr.plain > /dev/null 2>&1
|
||||
SIZE=`ls -l in2/in2 2> /dev/null | awk '{print$5}'`
|
||||
|
Reference in New Issue
Block a user