Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhauser-thc committed Jul 10, 2023
1 parent b547a6a commit a46d27f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion instrumentation/split-compares-pass.so.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,7 @@ bool SplitComparesTransform::runOnModule(Module &M) {
if (!be_quiet && !debug) {

errs() << "Split-floatingpoint-compare-pass: " << count
<< " FP comparisons splitted\n";
<< " FP comparisons split\n";

}

Expand Down
2 changes: 1 addition & 1 deletion src/afl-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ u8 *find_binary(u8 *fname) {

FATAL(
"Unexpected overflow when processing ENV. This should never "
"happend.");
"happened.");

}

Expand Down
8 changes: 4 additions & 4 deletions src/afl-forkserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,13 +667,13 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv,
switch (fsrv->nyx_handlers->nyx_exec(fsrv->nyx_runner)) {

case Abort:
NYX_PRE_FATAL(fsrv, "Error: Nyx abort occured...");
NYX_PRE_FATAL(fsrv, "Error: Nyx abort occurred...");
break;
case IoError:
NYX_PRE_FATAL(fsrv, "Error: QEMU-Nyx has died...");
break;
case Error:
NYX_PRE_FATAL(fsrv, "Error: Nyx runtime error has occured...");
NYX_PRE_FATAL(fsrv, "Error: Nyx runtime error has occurred...");
break;
default:
break;
Expand Down Expand Up @@ -1581,7 +1581,7 @@ afl_fsrv_run_target(afl_forkserver_t *fsrv, u32 timeout,
FATAL("FixMe: Nyx InvalidWriteToPayload handler is missing");
break;
case Abort:
FATAL("Error: Nyx abort occured...");
FATAL("Error: Nyx abort occurred...");
case IoError:
if (*stop_soon_p) {

Expand All @@ -1595,7 +1595,7 @@ afl_fsrv_run_target(afl_forkserver_t *fsrv, u32 timeout,

break;
case Error:
FATAL("Error: Nyx runtime error has occured...");
FATAL("Error: Nyx runtime error has occurred...");
break;

}
Expand Down
2 changes: 1 addition & 1 deletion test/test-libextensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
test -z "$AFL_CC" && unset AFL_CC

$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 && {
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 && {
Expand Down

0 comments on commit a46d27f

Please sign in to comment.