about summary refs log tree commit diff
path: root/include/sharedmem.h
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2024-11-25 14:53:28 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-11-25 14:53:28 +0900
commit943b8a3d7ab56a393fe2fe3060a584b35beba1eb (patch)
tree39f48b4c9d54cceba5254c522ed520190b69144c /include/sharedmem.h
parent82752fe38db590184f7f1725954f906da397d91c (diff)
downloadafl++-943b8a3d7ab56a393fe2fe3060a584b35beba1eb.tar.gz
Pass dataflow map shm to fork server
Diffstat (limited to 'include/sharedmem.h')
-rw-r--r--include/sharedmem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sharedmem.h b/include/sharedmem.h
index 036fa560..ea03205a 100644
--- a/include/sharedmem.h
+++ b/include/sharedmem.h
@@ -38,15 +38,19 @@ typedef struct sharedmem {
   /* ================ Proteas ================ */
   int  g_shm_fd;
   char g_shm_file_path[L_tmpnam];
+  int  dfg_g_shm_fd;
+  char dfg_g_shm_file_path[L_tmpnam];
   int  cmplog_g_shm_fd;
   char cmplog_g_shm_file_path[L_tmpnam];
 /* ========================================= */
 #else
   s32 shm_id;                          /* ID of the SHM region              */
+  s32 dfg_shm_id;                      /* ID of the DFG SHM region          */
   s32 cmplog_shm_id;
 #endif
 
   u8 *map;                                          /* shared memory region */
+  u32 *dfg_map;                                 /* DFG shared memory region */
 
   size_t map_size;                                 /* actual allocated size */