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 --- qemu_mode/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qemu_mode') diff --git a/qemu_mode/README.md b/qemu_mode/README.md index a045ef4f..3ebfc54c 100644 --- a/qemu_mode/README.md +++ b/qemu_mode/README.md @@ -135,7 +135,7 @@ Recommended, but not as good as CMPLOG mode (see below). ## 8) CMPLOG mode -Another new feature is CMPLOG, which is based on the redqueen project. Here all +Another new feature is CMPLOG, which is based on the Redqueen project. Here all immediates in CMP instructions are learned and put into a dynamic dictionary and applied to all locations in the input that reached that CMP, trying to solve and pass it. This is a very effective feature and it is available for x86, x86_64, -- cgit 1.4.1 From 7270cbe756113c4adf64a89dab364c32c6f6e55a Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Mon, 24 Jan 2022 10:28:48 +0100 Subject: try fix --- qemu_mode/qemuafl | 2 +- src/afl-fuzz.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'qemu_mode') diff --git a/qemu_mode/qemuafl b/qemu_mode/qemuafl index ce65a734..8809a2b2 160000 --- a/qemu_mode/qemuafl +++ b/qemu_mode/qemuafl @@ -1 +1 @@ -Subproject commit ce65a7349e7156e052b37a660422cad8346764d0 +Subproject commit 8809a2b2ebf089d3427dd8f6a0044bcc2e13b389 diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index e322ee57..06bff2be 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -50,14 +50,14 @@ static void at_exit() { char *list[4] = {SHM_ENV_VAR, SHM_FUZZ_ENV_VAR, CMPLOG_SHM_ENV_VAR, NULL}; char *ptr; - ptr = getenv(CPU_AFFINITY_ENV_VAR); - if (ptr && *ptr) unlink(ptr); + ptr = getenv("__AFL_TARGET_PID2"); + if (ptr && *ptr && (pid2 = atoi(ptr)) > 0) kill(pid2, SIGTERM); ptr = getenv("__AFL_TARGET_PID1"); if (ptr && *ptr && (pid1 = atoi(ptr)) > 0) kill(pid1, SIGTERM); - ptr = getenv("__AFL_TARGET_PID2"); - if (ptr && *ptr && (pid2 = atoi(ptr)) > 0) kill(pid2, SIGTERM); + ptr = getenv(CPU_AFFINITY_ENV_VAR); + if (ptr && *ptr) unlink(ptr); i = 0; while (list[i] != NULL) { -- cgit 1.4.1 From 605b0e6465849ebb79714bef87041d7dacacec4b Mon Sep 17 00:00:00 2001 From: Andrea Fioraldi Date: Mon, 24 Jan 2022 18:35:16 +0100 Subject: fix libqasan repeated line --- qemu_mode/libqasan/libqasan.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'qemu_mode') diff --git a/qemu_mode/libqasan/libqasan.c b/qemu_mode/libqasan/libqasan.c index 13e48c75..f4d590bd 100644 --- a/qemu_mode/libqasan/libqasan.c +++ b/qemu_mode/libqasan/libqasan.c @@ -72,8 +72,6 @@ __attribute__((constructor)) void __libqasan_init() { if (getenv("AFL_INST_LIBS") || getenv("QASAN_HOTPACH")) __libqasan_hotpatch(); - if (getenv("AFL_INST_LIBS") || getenv("QASAN_HOTPACH")) __libqasan_hotpatch(); - #ifdef DEBUG __qasan_debug = getenv("QASAN_DEBUG") != NULL; #endif -- cgit 1.4.1 From 3a78db2aded30302416039b694dbf0bd198e1fc0 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Tue, 25 Jan 2022 09:11:06 +0100 Subject: update sub gits --- coresight_mode/coresight-trace | 2 +- qemu_mode/qemuafl | 2 +- unicorn_mode/UNICORNAFL_VERSION | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'qemu_mode') diff --git a/coresight_mode/coresight-trace b/coresight_mode/coresight-trace index ec0fd610..fe8b26ea 160000 --- a/coresight_mode/coresight-trace +++ b/coresight_mode/coresight-trace @@ -1 +1 @@ -Subproject commit ec0fd6104720ac0b59967616363dc18209adc02e +Subproject commit fe8b26ea4b07fafa6f24e77c84dad0f3925d47d8 diff --git a/qemu_mode/qemuafl b/qemu_mode/qemuafl index 8809a2b2..ce65a734 160000 --- a/qemu_mode/qemuafl +++ b/qemu_mode/qemuafl @@ -1 +1 @@ -Subproject commit 8809a2b2ebf089d3427dd8f6a0044bcc2e13b389 +Subproject commit ce65a7349e7156e052b37a660422cad8346764d0 diff --git a/unicorn_mode/UNICORNAFL_VERSION b/unicorn_mode/UNICORNAFL_VERSION index ba9a4d9c..4697a492 100644 --- a/unicorn_mode/UNICORNAFL_VERSION +++ b/unicorn_mode/UNICORNAFL_VERSION @@ -1 +1 @@ -468798455a9f9790d2da369a18ed49fda3a64e8c +46879845 -- cgit 1.4.1