diff options
author | vanhauser-thc <vh@thc.org> | 2022-01-25 12:41:22 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-01-25 12:41:22 +0100 |
commit | 28a176578172a572a03dfcbebf6479e3dcf69944 (patch) | |
tree | 7a368283c99614228a8b493e9fdf93f8c2208fb1 /instrumentation/afl-compiler-rt.o.c | |
parent | 0b5ad8ee84b237923738a5db104e612b039113bb (diff) | |
download | afl++-28a176578172a572a03dfcbebf6479e3dcf69944.tar.gz |
fix atexit for rt
Diffstat (limited to 'instrumentation/afl-compiler-rt.o.c')
-rw-r--r-- | instrumentation/afl-compiler-rt.o.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index a84f31e3..af8c3218 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -155,6 +155,7 @@ static int __afl_dummy_fd[2] = {2, 2}; static void at_exit(int signal) { if (child_pid > 0) { kill(child_pid, SIGKILL); } + _exit(0); } |