diff options
author | vanhauser-thc <vh@thc.org> | 2022-01-01 00:49:17 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-01-01 00:49:17 +0100 |
commit | e1082f2548a2497690d48a23b366362d478afdb6 (patch) | |
tree | 250e5c51fc64d3fad711a9bfa33051eba49c4106 /src/afl-fuzz-redqueen.c | |
parent | 128413690e4ffbf107c66965d51db96201ad7db0 (diff) | |
download | afl++-e1082f2548a2497690d48a23b366362d478afdb6.tar.gz |
welcome 2022
Diffstat (limited to 'src/afl-fuzz-redqueen.c')
-rw-r--r-- | src/afl-fuzz-redqueen.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/afl-fuzz-redqueen.c b/src/afl-fuzz-redqueen.c index e363dffd..982fcf09 100644 --- a/src/afl-fuzz-redqueen.c +++ b/src/afl-fuzz-redqueen.c @@ -11,7 +11,7 @@ Andrea Fioraldi <andreafioraldi@gmail.com> Copyright 2016, 2017 Google Inc. All rights reserved. - Copyright 2019-2020 AFLplusplus Project. All rights reserved. + Copyright 2019-2022 AFLplusplus Project. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -989,10 +989,10 @@ static u8 cmp_extend_encoding(afl_state_t *afl, struct cmp_header *h, } - // test for to lowercase, eg. "new_val = (user_val | 0x2020) ..." + // test for to lowercase, eg. "new_val = (user_val | 0x2022) ..." if (*status != 1) { - if ((b_val | (0x2020202020202020 & mask)) == (pattern & mask)) { + if ((b_val | (0x2022202020202020 & mask)) == (pattern & mask)) { diff = 1; @@ -1002,7 +1002,7 @@ static u8 cmp_extend_encoding(afl_state_t *afl, struct cmp_header *h, } - if ((o_b_val | (0x2020202020202020 & mask)) == (o_pattern & mask)) { + if ((o_b_val | (0x2022202020202020 & mask)) == (o_pattern & mask)) { o_diff = 1; @@ -1070,7 +1070,7 @@ static u8 cmp_extend_encoding(afl_state_t *afl, struct cmp_header *h, // this could be a lower to upper - u64 new_repl = (repl | (0x2020202020202020 & mask)); + u64 new_repl = (repl | (0x2022202020202020 & mask)); // fprintf(stderr, "SAME DIFF %llx->%llx\n", repl, new_repl); if (unlikely(cmp_extend_encoding( |