This commit is contained in:
vanhauser-thc
2023-01-18 14:21:44 +01:00
parent 70f4b456fa
commit 0db662db7b

View File

@ -851,6 +851,8 @@ extern "C" my_mutator_t *afl_custom_init(afl_state *afl, unsigned int seed) {
// set common whitespace tokens
// we deliberately do not put uncommon ones here to these will count as
// identifier tokens.
if (!alternative_tokenize) {
token_to_id[" "] = current_id;
id_to_token[current_id] = " ";
++current_id;
@ -889,6 +891,8 @@ extern "C" my_mutator_t *afl_custom_init(afl_state *afl, unsigned int seed) {
++current_id;
whitespace_ids = current_id;
}
return data;
}