about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-01-20 12:22:29 +0100
committervanhauser-thc <vh@thc.org>2023-01-20 12:22:29 +0100
commitbd2cb4cd1c2f07d5406875771cd41fb9a6e1f84d (patch)
treea21281a0a4a4f7ec8c547829df8c18980f2286a2
parent67cfe4f6d4a03c596a5c3e1aa97d64d79263746a (diff)
downloadafl++-bd2cb4cd1c2f07d5406875771cd41fb9a6e1f84d.tar.gz
more default tokens
-rw-r--r--custom_mutators/autotokens/autotokens.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/custom_mutators/autotokens/autotokens.cpp b/custom_mutators/autotokens/autotokens.cpp
index 16ee8109..f9b5bd2e 100644
--- a/custom_mutators/autotokens/autotokens.cpp
+++ b/custom_mutators/autotokens/autotokens.cpp
@@ -1105,6 +1105,12 @@ extern "C" my_mutator_t *afl_custom_init(afl_state *afl, unsigned int seed) {
     id_to_token[current_id] = "\n\n\n\n";
     ++current_id;
     whitespace_ids = current_id;
+    token_to_id["\""] = current_id;
+    id_to_token[current_id] = "\"";
+    ++current_id;
+    token_to_id["'"] = current_id;
+    id_to_token[current_id] = "'";
+    ++current_id;
 
   }