Merge pull request #1509 from CodeLogicError/stable

analyze_run_target return dataconversion
This commit is contained in:
van Hauser 2022-09-07 17:07:15 +02:00 committed by GitHub
commit 6bb2500707
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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