diff options
author | van Hauser <vh@thc.org> | 2023-07-10 09:16:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-10 09:16:48 +0200 |
commit | e10e0e01e90632be51859758521c4e49fe044c97 (patch) | |
tree | 6365b7bcf0b439d4660b97484fc099556bcae6f8 | |
parent | 20dcb40c53811e36a3ace91a66a70cfddc4b3f1c (diff) | |
parent | a560e42a4d4a41ca132cbc3d7d06c567c1f992a8 (diff) | |
download | afl++-e10e0e01e90632be51859758521c4e49fe044c97.tar.gz |
Merge pull request #1804 from WorksButNotTested/frida-fix
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 { |