From 4902bb91d259e128afff3cb135830e486740ddb3 Mon Sep 17 00:00:00 2001 From: llzmb <46303940+llzmb@users.noreply.github.com> Date: Thu, 20 Jan 2022 20:59:36 +0100 Subject: Fix links and spelling of Redqueen --- instrumentation/README.cmplog.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'instrumentation') diff --git a/instrumentation/README.cmplog.md b/instrumentation/README.cmplog.md index a2caca4f..8a9fd372 100644 --- a/instrumentation/README.cmplog.md +++ b/instrumentation/README.cmplog.md @@ -4,9 +4,8 @@ The CmpLog instrumentation enables logging of comparison operands in a shared memory. These values can be used by various mutators built on top of it. At the moment, -we support the RedQueen mutator (input-2-state instructions only), for details -see -[the RedQueen paper](https://www.syssec.ruhr-uni-bochum.de/media/emma/veroeffentlichungen/2018/12/17/NDSS19-Redqueen.pdf). +we support the Redqueen mutator (input-2-state instructions only), for details +see [the Redqueen paper](https://github.com/RUB-SysSec/redqueen). ## Build -- cgit 1.4.1 From 28a176578172a572a03dfcbebf6479e3dcf69944 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Tue, 25 Jan 2022 12:41:22 +0100 Subject: fix atexit for rt --- instrumentation/afl-compiler-rt.o.c | 1 + 1 file changed, 1 insertion(+) (limited to 'instrumentation') 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); } -- cgit 1.4.1 From 0fd6315dfb45dcc058dcf891efb8fb83eb1de225 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Tue, 25 Jan 2022 13:32:45 +0100 Subject: nit --- instrumentation/afl-compiler-rt.o.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'instrumentation') diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c index af8c3218..59839750 100644 --- a/instrumentation/afl-compiler-rt.o.c +++ b/instrumentation/afl-compiler-rt.o.c @@ -154,7 +154,13 @@ static int __afl_dummy_fd[2] = {2, 2}; static void at_exit(int signal) { - if (child_pid > 0) { kill(child_pid, SIGKILL); } + if (unlikely(child_pid > 0)) { + + kill(child_pid, SIGKILL); + child_pid = -1; + + } + _exit(0); } -- cgit 1.4.1