This commit is contained in:
vanhauser-thc
2023-04-27 18:57:28 +02:00
parent 6172bc7312
commit 6cad585bdc
2 changed files with 2 additions and 2 deletions

View File

@ -1287,7 +1287,7 @@ int main(int argc, char **argv_orig, char **envp) {
break; break;
case 'Y': // fallthough case 'Y': // fallthrough
#ifdef __linux__ #ifdef __linux__
case 'X': /* NYX mode */ case 'X': /* NYX mode */

View File

@ -263,7 +263,7 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && {
{ {
mkdir -p in mkdir -p in
echo 00000000000000000000000000000000 > in/in echo 00000000000000000000000000000000 > in/in
AFL_BENCH_UNTIL_CRASH=1 ../afl-fuzz -m none -V15 -i in -o out -c./test-cmplog -- ./test-c >>errors 2>&1 AFL_BENCH_UNTIL_CRASH=1 ../afl-fuzz -m none -V30 -i in -o out -c./test-cmplog -- ./test-c >>errors 2>&1
} >>errors 2>&1 } >>errors 2>&1
test -n "$( ls out/default/crashes/id:000000* out/default/hangs/id:000000* 2>/dev/null )" && { test -n "$( ls out/default/crashes/id:000000* out/default/hangs/id:000000* 2>/dev/null )" && {
$ECHO "$GREEN[+] afl-fuzz is working correctly with llvm_mode cmplog" $ECHO "$GREEN[+] afl-fuzz is working correctly with llvm_mode cmplog"