about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCodeLogicError <97520427+CodeLogicError@users.noreply.github.com>2022-09-07 19:59:20 +0800
committerGitHub <noreply@github.com>2022-09-07 19:59:20 +0800
commitd06f8b2a93e47094a5a2a909f0fa0c0e6e029705 (patch)
treed3c1446386049a224105faa2ce364361d0092d3a /src
parent147654f8715d237fe45c1657c87b2fe36c4db22a (diff)
downloadafl++-d06f8b2a93e47094a5a2a909f0fa0c0e6e029705.tar.gz
analyze_run_target return dataconversion
analyze_run_target create u64 data and return u32
Diffstat (limited to 'src')
-rw-r--r--src/afl-analyze.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-analyze.c b/src/afl-analyze.c
index d4822341..a21f014f 100644
--- a/src/afl-analyze.c
+++ b/src/afl-analyze.c
@@ -203,7 +203,7 @@ static void read_initial_file(void) {
 /* Execute target application. Returns exec checksum, or 0 if program
    times out. */
 
-static u32 analyze_run_target(u8 *mem, u32 len, u8 first_run) {
+static u64 analyze_run_target(u8 *mem, u32 len, u8 first_run) {
 
   afl_fsrv_write_to_testcase(&fsrv, mem, len);
   fsrv_run_result_t ret = afl_fsrv_run_target(&fsrv, exec_tmout, &stop_soon);
@@ -528,7 +528,7 @@ static void analyze() {
 
   for (i = 0; i < in_len; i++) {
 
-    u32 xor_ff, xor_01, sub_10, add_10;
+    u64 xor_ff, xor_01, sub_10, add_10;
     u8  xff_orig, x01_orig, s10_orig, a10_orig;
 
     /* Perform walking byte adjustments across the file. We perform four