mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 17:21:33 +00:00
fix #261
This commit is contained in:
parent
cd7e234445
commit
2e4fda6d4c
@ -199,7 +199,12 @@ void HELPER(afl_cmplog_rtn)(CPUArchState *env) {
|
||||
|
||||
if (!area_is_mapped(ptr1, 32) || !area_is_mapped(ptr2, 32)) return;
|
||||
|
||||
#if defined(TARGET_X86_64) || defined(TARGET_I386)
|
||||
uintptr_t k = (uintptr_t)env->eip;
|
||||
#else
|
||||
uintptr_t k = 0;
|
||||
#endif
|
||||
|
||||
k = (k >> 4) ^ (k << 8);
|
||||
k &= CMP_MAP_W - 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user