diff options
author | Your Name <you@example.com> | 2023-07-10 07:31:19 +0100 |
---|---|---|
committer | Your Name <you@example.com> | 2023-07-10 07:31:19 +0100 |
commit | a560e42a4d4a41ca132cbc3d7d06c567c1f992a8 (patch) | |
tree | 6365b7bcf0b439d4660b97484fc099556bcae6f8 | |
parent | 20dcb40c53811e36a3ace91a66a70cfddc4b3f1c (diff) | |
download | afl++-a560e42a4d4a41ca132cbc3d7d06c567c1f992a8.tar.gz |
Increase dummy map size
-rw-r--r-- | frida_mode/src/instrument/instrument_arm32.c | 2 | ||||
-rw-r--r-- | frida_mode/src/instrument/instrument_arm64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/frida_mode/src/instrument/instrument_arm32.c b/frida_mode/src/instrument/instrument_arm32.c index 51f78a35..2e123247 100644 --- a/frida_mode/src/instrument/instrument_arm32.c +++ b/frida_mode/src/instrument/instrument_arm32.c @@ -15,7 +15,7 @@ static GHashTable *coverage_blocks = NULL; extern __thread guint64 instrument_previous_pc; -__attribute__((aligned(0x1000))) static guint8 area_ptr_dummy[MAP_SIZE]; +__attribute__((aligned(0x1000))) static guint8 area_ptr_dummy[2UL << 20]; #pragma pack(push, 1) typedef struct { diff --git a/frida_mode/src/instrument/instrument_arm64.c b/frida_mode/src/instrument/instrument_arm64.c index 131eb4c5..a8d30dc1 100644 --- a/frida_mode/src/instrument/instrument_arm64.c +++ b/frida_mode/src/instrument/instrument_arm64.c @@ -22,7 +22,7 @@ gboolean instrument_cache_enabled = FALSE; gsize instrument_cache_size = 0; static GHashTable *coverage_blocks = NULL; -__attribute__((aligned(0x1000))) static guint8 area_ptr_dummy[MAP_SIZE]; +__attribute__((aligned(0x1000))) static guint8 area_ptr_dummy[2UL << 20]; #pragma pack(push, 1) typedef struct { |