This commit is contained in:
vanhauser-thc
2023-07-10 18:29:21 +02:00
parent b547a6ab0d
commit a46d27fad5
4 changed files with 7 additions and 7 deletions

View File

@ -1740,7 +1740,7 @@ bool SplitComparesTransform::runOnModule(Module &M) {
if (!be_quiet && !debug) { if (!be_quiet && !debug) {
errs() << "Split-floatingpoint-compare-pass: " << count errs() << "Split-floatingpoint-compare-pass: " << count
<< " FP comparisons splitted\n"; << " FP comparisons split\n";
} }

View File

@ -403,7 +403,7 @@ u8 *find_binary(u8 *fname) {
FATAL( FATAL(
"Unexpected overflow when processing ENV. This should never " "Unexpected overflow when processing ENV. This should never "
"happend."); "happened.");
} }

View File

@ -667,13 +667,13 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
switch (fsrv->nyx_handlers->nyx_exec(fsrv->nyx_runner)) { switch (fsrv->nyx_handlers->nyx_exec(fsrv->nyx_runner)) {
case Abort: case Abort:
NYX_PRE_FATAL(fsrv, "Error: Nyx abort occured..."); NYX_PRE_FATAL(fsrv, "Error: Nyx abort occurred...");
break; break;
case IoError: case IoError:
NYX_PRE_FATAL(fsrv, "Error: QEMU-Nyx has died..."); NYX_PRE_FATAL(fsrv, "Error: QEMU-Nyx has died...");
break; break;
case Error: case Error:
NYX_PRE_FATAL(fsrv, "Error: Nyx runtime error has occured..."); NYX_PRE_FATAL(fsrv, "Error: Nyx runtime error has occurred...");
break; break;
default: default:
break; break;
@ -1581,7 +1581,7 @@ afl_fsrv_run_target(afl_forkserver_t *fsrv, u32 timeout,
FATAL("FixMe: Nyx InvalidWriteToPayload handler is missing"); FATAL("FixMe: Nyx InvalidWriteToPayload handler is missing");
break; break;
case Abort: case Abort:
FATAL("Error: Nyx abort occured..."); FATAL("Error: Nyx abort occurred...");
case IoError: case IoError:
if (*stop_soon_p) { if (*stop_soon_p) {
@ -1595,7 +1595,7 @@ afl_fsrv_run_target(afl_forkserver_t *fsrv, u32 timeout,
break; break;
case Error: case Error:
FATAL("Error: Nyx runtime error has occured..."); FATAL("Error: Nyx runtime error has occurred...");
break; break;
} }

View File

@ -5,7 +5,7 @@
test -z "$AFL_CC" && unset AFL_CC test -z "$AFL_CC" && unset AFL_CC
$ECHO "$BLUE[*] Testing: shared library extensions" $ECHO "$BLUE[*] Testing: shared library extensions"
cc $CFLAGS -o test-compcov test-compcov.c > /dev/null 2>&1 cc $CFLAGS -O0 -o test-compcov test-compcov.c > /dev/null 2>&1
test -e ../libtokencap.so && { test -e ../libtokencap.so && {
AFL_TOKEN_FILE=token.out LD_PRELOAD=../libtokencap.so DYLD_INSERT_LIBRARIES=../libtokencap.so DYLD_FORCE_FLAT_NAMESPACE=1 ./test-compcov foobar > /dev/null 2>&1 AFL_TOKEN_FILE=token.out LD_PRELOAD=../libtokencap.so DYLD_INSERT_LIBRARIES=../libtokencap.so DYLD_FORCE_FLAT_NAMESPACE=1 ./test-compcov foobar > /dev/null 2>&1
grep -q BUGMENOT token.out > /dev/null 2>&1 && { grep -q BUGMENOT token.out > /dev/null 2>&1 && {