aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--instrumentation/afl-compiler-rt.o.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index 32e4da85..c29861e6 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -176,7 +176,6 @@ static void __afl_map_shm_fuzz() {
#ifdef USEMMAP
const char * shm_file_path = id_str;
int shm_fd = -1;
- unsigned char *shm_base = NULL;
/* create the shared memory segment as if it was a file */
shm_fd = shm_open(shm_file_path, O_RDWR, 0600);
@@ -417,7 +416,7 @@ static void __afl_map_shm(void) {
#ifdef USEMMAP
const char * shm_file_path = id_str;
int shm_fd = -1;
- unsigned char *shm_base = NULL;
+ struct cmp_map *shm_base = NULL;
/* create the shared memory segment as if it was a file */
shm_fd = shm_open(shm_file_path, O_RDWR, 0600);