From d06f8b2a93e47094a5a2a909f0fa0c0e6e029705 Mon Sep 17 00:00:00 2001 From: CodeLogicError <97520427+CodeLogicError@users.noreply.github.com> Date: Wed, 7 Sep 2022 19:59:20 +0800 Subject: analyze_run_target return dataconversion analyze_run_target create u64 data and return u32 --- src/afl-analyze.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit 1.4.1