aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2020-02-21 20:05:43 +0100
committerAndrea Fioraldi <andreafioraldi@gmail.com>2020-02-21 20:05:43 +0100
commitde4f88b4cb53733456bccafe85b945625e2475be (patch)
tree2e8db7d7bc808a17c880b47d75ded808d50161db /test
parent00c1c26bf85e3232ee6cf93e2bf4c8ccc49b4c85 (diff)
downloadafl++-de4f88b4cb53733456bccafe85b945625e2475be.tar.gz
improve redqueen not looking in orig buf
Diffstat (limited to 'test')
-rw-r--r--test/test-compcov.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test-compcov.c b/test/test-compcov.c
index 978d5551..b1711586 100644
--- a/test/test-compcov.c
+++ b/test/test-compcov.c
@@ -22,7 +22,9 @@ int main(int argc, char** argv) {
strcat(buf, input);
printf("This will only crash with libdislocator: %s\n", buf);
return 0;
- } else
+ } else if (*(unsigned int*)input == 0xabadcafe)
+ printf("GG you eat cmp tokens for breakfast!\n");
+ else
printf("I do not know your string\n");
return 0;