aboutsummaryrefslogtreecommitdiff
path: root/instrumentation
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-09 11:07:14 +0100
committervan Hauser <vh@thc.org>2020-12-09 11:07:14 +0100
commit39a4fac941177387578ec856aacea2187588fc13 (patch)
treecef83df4ebfb797eb9f49066c0007a92baa4b035 /instrumentation
parent2641082a76ca33e22f0edcededa006f437b646ea (diff)
downloadAFLplusplus-39a4fac941177387578ec856aacea2187588fc13.tar.gz
better examples
Diffstat (limited to 'instrumentation')
-rw-r--r--instrumentation/afl-compiler-rt.o.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index c29861e6..99dcbb67 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -174,8 +174,8 @@ static void __afl_map_shm_fuzz() {
u8 *map = NULL;
#ifdef USEMMAP
- const char * shm_file_path = id_str;
- int shm_fd = -1;
+ const char *shm_file_path = id_str;
+ int shm_fd = -1;
/* create the shared memory segment as if it was a file */
shm_fd = shm_open(shm_file_path, O_RDWR, 0600);
@@ -414,8 +414,8 @@ static void __afl_map_shm(void) {
if (id_str) {
#ifdef USEMMAP
- const char * shm_file_path = id_str;
- int shm_fd = -1;
+ const char * shm_file_path = id_str;
+ int shm_fd = -1;
struct cmp_map *shm_base = NULL;
/* create the shared memory segment as if it was a file */