about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaik Betka <9078425+voidptr127@users.noreply.github.com>2023-04-17 17:09:48 +0200
committerMaik Betka <9078425+voidptr127@users.noreply.github.com>2023-04-17 17:09:48 +0200
commita3bc8d3440acefb7168c849337e4a4841bf11c3d (patch)
tree4069361ad9c81505b6ae758fcd0c6dd7fce9b971
parent70e30958649f44e104330431cde31e80fbd8557f (diff)
downloadafl++-a3bc8d3440acefb7168c849337e4a4841bf11c3d.tar.gz
fixed wrong implementation of control bits in atnwalk.c
-rw-r--r--custom_mutators/atnwalk/atnwalk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/custom_mutators/atnwalk/atnwalk.c b/custom_mutators/atnwalk/atnwalk.c
index 483ae542..cc9f9618 100644
--- a/custom_mutators/atnwalk/atnwalk.c
+++ b/custom_mutators/atnwalk/atnwalk.c
@@ -16,10 +16,10 @@ const uint8_t SERVER_ARE_YOU_ALIVE = 42;
 const uint8_t SERVER_YES_I_AM_ALIVE = 213;
 
 // control bits
-const uint8_t SERVER_DECODE_BIT = 0b00000001;
-const uint8_t SERVER_ENCODE_BIT = 0b00000010;
-const uint8_t SERVER_MUTATE_BIT = 0b00000100;
-const uint8_t SERVER_CROSSOVER_BIT = 0b00001000;
+const uint8_t SERVER_CROSSOVER_BIT = 0b00000001;
+const uint8_t SERVER_MUTATE_BIT = 0b00000010;
+const uint8_t SERVER_DECODE_BIT = 0b00000100;
+const uint8_t SERVER_ENCODE_BIT = 0b00001000;
 
 
 typedef struct atnwalk_mutator {