aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-07-30 08:33:18 +0200
committervanhauser-thc <vh@thc.org>2021-07-30 08:33:18 +0200
commitc3fbf5dca309e80e91f9bee9ff6d13f6aa240427 (patch)
treedf62913972211fbafe36ab5acd71340111a640d7 /test
parentbcdb69289f4a5304b1aee641d5f5a32437b91729 (diff)
downloadAFLplusplus-c3fbf5dca309e80e91f9bee9ff6d13f6aa240427.tar.gz
add more string functions for dictionary features
Diffstat (limited to 'test')
-rw-r--r--test/test-compcov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-compcov.c b/test/test-compcov.c
index 4959c39c..ae63ca45 100644
--- a/test/test-compcov.c
+++ b/test/test-compcov.c
@@ -29,6 +29,8 @@ int main(int argc, char **argv) {
printf("your string was APRI\n");
else if (strcasecmp(input, "Kiwi") == 0)
printf("your string was Kiwi\n");
+ else if (strstr(input, "tsala") == 0)
+ printf("your string is a fruit salad\n");
else if (strncasecmp(input, "avocado", 9) == 0)
printf("your string was avocado\n");
else if (strncasecmp(input, "Grapes", argc > 2 ? atoi(argv[2]) : 3) == 0)