aboutsummaryrefslogtreecommitdiff
path: root/frida_mode
diff options
context:
space:
mode:
authorYour Name <you@example.com>2022-02-01 08:13:28 +0000
committerYour Name <you@example.com>2022-02-01 08:13:28 +0000
commit1c79b82ab85da06686bd00f65099d7553d05a802 (patch)
treed14cc6ce9cffde80ce0412a34cf25adfc2c1cdb9 /frida_mode
parentc38b05c80a51284b72e8dffb6fb1f703b237ff15 (diff)
downloadAFLplusplus-1c79b82ab85da06686bd00f65099d7553d05a802.tar.gz
Add AARCH64 support for setting ic_entries
Diffstat (limited to 'frida_mode')
-rw-r--r--frida_mode/src/stalker.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/frida_mode/src/stalker.c b/frida_mode/src/stalker.c
index 3a421867..80e4e707 100644
--- a/frida_mode/src/stalker.c
+++ b/frida_mode/src/stalker.c
@@ -100,7 +100,7 @@ void stalker_init(void) {
FOKF(cBLU "Stalker" cRST " - " cGRN "adjacent_blocks:" cYEL " [%u]",
stalker_adjacent_blocks);
-#if !(defined(__x86_64__) || defined(__i386__))
+#if !(defined(__x86_64__) || defined(__i386__) || defined(__aarch64__))
if (getenv("AFL_FRIDA_STALKER_IC_ENTRIES") != NULL) {
FFATAL("AFL_FRIDA_STALKER_IC_ENTRIES not supported");
@@ -134,6 +134,9 @@ void stalker_init(void) {
#if defined(__x86_64__) || defined(__i386__)
stalker = g_object_new(GUM_TYPE_STALKER, "ic-entries", stalker_ic_entries,
"adjacent-blocks", stalker_adjacent_blocks, NULL);
+#elif defined(__aarch64__)
+ stalker =
+ g_object_new(GUM_TYPE_STALKER, "ic-entries", stalker_ic_entries, NULL);
#else
stalker = gum_stalker_new();
#endif