about summary refs log tree commit diff
path: root/src/afl-analyze.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-12 16:33:20 +0200
committervan Hauser <vh@thc.org>2020-06-12 16:33:20 +0200
commit40aca0b6b398d8de0ecc17cf075e0eb79ec15d81 (patch)
tree658ee93327c9bcb29fad4e038c6b1c960e28d303 /src/afl-analyze.c
parenta632c00b0d023b8a40d09839fbb2662da1cb5d37 (diff)
downloadafl++-40aca0b6b398d8de0ecc17cf075e0eb79ec15d81.tar.gz
fix for checksums
Diffstat (limited to 'src/afl-analyze.c')
-rw-r--r--src/afl-analyze.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-analyze.c b/src/afl-analyze.c
index 60ea0968..f1c141d5 100644
--- a/src/afl-analyze.c
+++ b/src/afl-analyze.c
@@ -66,11 +66,12 @@ static u8 *in_file,                    /* Analyzer input test case          */
 static u8 *in_data;                    /* Input data for analysis           */
 
 static u32 in_len,                     /* Input data length                 */
-    orig_cksum,                        /* Original checksum                 */
     total_execs,                       /* Total number of execs             */
     exec_hangs,                        /* Total number of hangs             */
     exec_tmout = EXEC_TIMEOUT;         /* Exec timeout (ms)                 */
 
+static u64 orig_cksum;                 /* Original checksum                 */
+
 static u64 mem_limit = MEM_LIMIT;      /* Memory limit (MB)                 */
 
 static s32 dev_null_fd = -1;           /* FD to /dev/null                   */