about summary refs log tree commit diff
diff options
context:
space:
mode:
authornj00001 <42004790+nj00001@users.noreply.github.com>2024-05-14 18:23:53 +0800
committerGitHub <noreply@github.com>2024-05-14 18:23:53 +0800
commit831b8f35d5e01ef195d62c8377eb0458f2009d8f (patch)
tree2e76fe58b9c22751bbbb93d779572423fb5cb7bf
parent0892a2245e9a7188e33c16444499c47942d1e56f (diff)
downloadafl++-831b8f35d5e01ef195d62c8377eb0458f2009d8f.tar.gz
Keep a backup of max_length in the afl_forkserver_t structure
-rw-r--r--include/forkserver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/forkserver.h b/include/forkserver.h
index 68907376..593e34a2 100644
--- a/include/forkserver.h
+++ b/include/forkserver.h
@@ -188,6 +188,8 @@ typedef struct afl_forkserver {
 
   u8 persistent_mode;
 
+  u32 max_length;
+
 #ifdef __linux__
   nyx_plugin_handler_t *nyx_handlers;
   char                 *out_dir_path;    /* path to the output directory     */