diff options
author | van Hauser <vh@thc.org> | 2021-08-20 23:54:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-20 23:54:59 +0200 |
commit | 2e15661f184c77ac1fbb6f868c894e946cbb7f17 (patch) | |
tree | 665b9368d2c1908cf71dbc4a76517f88c5317d9a /test/test-compcov.c | |
parent | 32a0d6ac31554a47dca591f8978982758fb87677 (diff) | |
parent | ca9c87dd45d8b9a746a212cbc6ce85b78b637d8c (diff) | |
download | afl++-2e15661f184c77ac1fbb6f868c894e946cbb7f17.tar.gz |
Merge pull request #1074 from AFLplusplus/dev
push to stable
Diffstat (limited to 'test/test-compcov.c')
-rw-r--r-- | test/test-compcov.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-compcov.c b/test/test-compcov.c index 4959c39c..24e4c9f2 100644 --- a/test/test-compcov.c +++ b/test/test-compcov.c @@ -33,6 +33,8 @@ int main(int argc, char **argv) { printf("your string was avocado\n"); else if (strncasecmp(input, "Grapes", argc > 2 ? atoi(argv[2]) : 3) == 0) printf("your string was a prefix of Grapes\n"); + else if (strstr(input, "tsala") != NULL) + printf("your string is a fruit salad\n"); else if (strcmp(input, "BUFFEROVERFLOW") == 0) { buf = (char *)malloc(16); @@ -41,7 +43,6 @@ int main(int argc, char **argv) { printf("This will only crash with libdislocator: %s\n", buf); } else if (*(unsigned int *)input == 0xabadcafe) - printf("GG you eat cmp tokens for breakfast!\n"); else if (memcmp(cmpval, input, 8) == 0) printf("local var memcmp works!\n"); |