about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-11-29 17:38:06 +0000
committerYour Name <you@example.com>2021-11-29 17:38:06 +0000
commitaf2fcbc1d402c6e29e4a82af64b6cff9a6558459 (patch)
tree3a6b513cc9aaf1f1c302060d4b17ac213b6cd181
parenta699dc2d2d54d10c729466408925384f2e07819b (diff)
downloadafl++-af2fcbc1d402c6e29e4a82af64b6cff9a6558459.tar.gz
Fix transposed configuration options
-rw-r--r--frida_mode/src/stalker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frida_mode/src/stalker.c b/frida_mode/src/stalker.c
index b4dd5a47..4ef52ee9 100644
--- a/frida_mode/src/stalker.c
+++ b/frida_mode/src/stalker.c
@@ -61,9 +61,9 @@ void stalker_config(void) {
 
   backpatch_enable = (getenv("AFL_FRIDA_INST_NO_BACKPATCH") == NULL);
 
-  stalker_ic_entries = util_read_num("AFL_FRIDA_STALKER_ADJACENT_BLOCKS");
+  stalker_adjacent_blocks = util_read_num("AFL_FRIDA_STALKER_ADJACENT_BLOCKS");
 
-  stalker_adjacent_blocks = util_read_num("AFL_FRIDA_STALKER_IC_ENTRIES");
+  stalker_ic_entries = util_read_num("AFL_FRIDA_STALKER_IC_ENTRIES");
 
   observer = g_object_new(GUM_TYPE_AFL_STALKER_OBSERVER, NULL);