diff options
author | hexcoder- <heiko@hexco.de> | 2020-12-08 21:54:18 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-12-08 21:54:18 +0100 |
commit | 5bb51688e4187629b500842a14b9740d12d9829a (patch) | |
tree | 27143c83e5970f88c76f9118686d5bd11f2f427d | |
parent | 6e61b2345cc35f101bac7594089dc57999f33b89 (diff) | |
download | afl++-5bb51688e4187629b500842a14b9740d12d9829a.tar.gz |
small fixes
-rw-r--r-- | src/afl-forkserver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/afl-forkserver.c b/src/afl-forkserver.c index b1c29ba6..38cd529f 100644 --- a/src/afl-forkserver.c +++ b/src/afl-forkserver.c @@ -62,6 +62,7 @@ static void fsrv_exec_child(afl_forkserver_t *fsrv, char **argv) { execv(fsrv->target_path, argv); + WARNF("Execv failed in forkserver."); } /* Initializes the struct */ @@ -526,8 +527,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv, falling through. */ *(u32 *)fsrv->trace_bits = EXEC_FAIL_SIG; - fprintf(stderr, "Error: execv to target failed\n"); - exit(1); + FATAL("Error: execv to target failed\n"); } @@ -916,7 +916,7 @@ void afl_fsrv_start(afl_forkserver_t *fsrv, char **argv, " estimate the required amount of virtual memory for the " "binary.\n\n" - " - the target was compiled with afl-clang-lto and a constructor " + " - The target was compiled with afl-clang-lto and a constructor " "was\n" " instrumented, recompiling without AFL_LLVM_MAP_ADDR might solve " "your \n" |