diff options
author | van Hauser <vh@thc.org> | 2022-09-07 17:07:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 17:07:15 +0200 |
commit | 6bb2500707c96b0f0f447254d66df69d1cf511ce (patch) | |
tree | 23e974595dd368abb4bf04b6f362f2f5eb173a36 /src | |
parent | 0fe39e47680c8997ee9149bdc71acdf6b1af1b53 (diff) | |
parent | d06f8b2a93e47094a5a2a909f0fa0c0e6e029705 (diff) | |
download | afl++-6bb2500707c96b0f0f447254d66df69d1cf511ce.tar.gz |
Merge pull request #1509 from CodeLogicError/stable
analyze_run_target return dataconversion
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-analyze.c | 4 |
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 |