diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-07-27 10:09:00 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-07-27 10:09:00 +0200 |
commit | b508532c78d27fdfe2673652222551123491e61c (patch) | |
tree | b11b2218de572a474935b20e391b51efbd756e93 /qemu_mode/patches/afl-qemu-cpu-inl.h | |
parent | fb9888a068f532db789c84113587596cd7ca6ebe (diff) | |
download | afl++-b508532c78d27fdfe2673652222551123491e61c.tar.gz |
format
Diffstat (limited to 'qemu_mode/patches/afl-qemu-cpu-inl.h')
-rw-r--r-- | qemu_mode/patches/afl-qemu-cpu-inl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qemu_mode/patches/afl-qemu-cpu-inl.h b/qemu_mode/patches/afl-qemu-cpu-inl.h index 07da9324..63b7581d 100644 --- a/qemu_mode/patches/afl-qemu-cpu-inl.h +++ b/qemu_mode/patches/afl-qemu-cpu-inl.h @@ -621,7 +621,12 @@ static void afl_wait_tsl(CPUState *cpu, int fd) { last_tb = tb_htable_lookup(cpu, c.last_tb.pc, c.last_tb.cs_base, c.last_tb.flags, c.cf_mask); #define TB_JMP_RESET_OFFSET_INVALID 0xffff - if (last_tb && (last_tb->jmp_reset_offset[c.tb_exit] != TB_JMP_RESET_OFFSET_INVALID)) { tb_add_jump(last_tb, c.tb_exit, tb); } + if (last_tb && (last_tb->jmp_reset_offset[c.tb_exit] != + TB_JMP_RESET_OFFSET_INVALID)) { + + tb_add_jump(last_tb, c.tb_exit, tb); + + } } |