aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-04-17 11:39:38 +0200
committervan Hauser <vh@thc.org>2020-04-17 11:39:38 +0200
commit1931838a112a23567b41ac0f018ae811ef7fbe1c (patch)
treea443927d5a7d86dd1a29b40f8f937006169b6a15 /include
parent6bd49b1d5cb3cde01dbb8f933fd9598921a9bfb9 (diff)
downloadafl++-1931838a112a23567b41ac0f018ae811ef7fbe1c.tar.gz
remove unnecessary map_size variables
Diffstat (limited to 'include')
-rw-r--r--include/afl-fuzz.h2
-rw-r--r--include/sharedmem.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h
index beef3d58..f6912aea 100644
--- a/include/afl-fuzz.h
+++ b/include/afl-fuzz.h
@@ -325,8 +325,6 @@ typedef struct afl_env_vars {
*afl_python_module, *afl_path, *afl_hang_tmout, *afl_skip_crashes,
*afl_preload;
- uint32_t map_size;
-
} afl_env_vars_t;
struct afl_pass_stat {
diff --git a/include/sharedmem.h b/include/sharedmem.h
index 57ab6cf0..6aef4b84 100644
--- a/include/sharedmem.h
+++ b/include/sharedmem.h
@@ -44,8 +44,7 @@ typedef struct sharedmem {
u8 *map; /* shared memory region */
- size_t size_alloc; /* actual allocated size */
- size_t size_used; /* in use by shmem app */
+ size_t map_size; /* actual allocated size */
int cmplog_mode;
struct cmp_map *cmp_map;