about summary refs log tree commit diff
path: root/qemu_mode/patches/afl-qemu-cpu-inl.h
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2019-08-27 14:02:48 +0200
committerAndrea Fioraldi <andreafioraldi@gmail.com>2019-08-27 14:02:48 +0200
commitb6f5e1635cbdcc3031c4af18ef3a877d2d7db77f (patch)
treec497613ac83cd999da6e94f8bbc2c1e313f2ef9b /qemu_mode/patches/afl-qemu-cpu-inl.h
parent6b45deaf97cbb437e445abd938b45e048cd07c17 (diff)
downloadafl++-b6f5e1635cbdcc3031c4af18ef3a877d2d7db77f.tar.gz
added afl++ patches authors to special thanks
Diffstat (limited to 'qemu_mode/patches/afl-qemu-cpu-inl.h')
-rw-r--r--qemu_mode/patches/afl-qemu-cpu-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu_mode/patches/afl-qemu-cpu-inl.h b/qemu_mode/patches/afl-qemu-cpu-inl.h
index d7bb4d25..04d9007d 100644
--- a/qemu_mode/patches/afl-qemu-cpu-inl.h
+++ b/qemu_mode/patches/afl-qemu-cpu-inl.h
@@ -332,7 +332,7 @@ static void afl_wait_tsl(CPUState *cpu, int fd) {
       if (is_valid_addr(t.tb.pc)) {
     
         mmap_lock();
-        tb = tb_gen_code(cpu, t.tb.pc, t.tb.cs_base, t.tb.flags, 0);
+        tb = tb_gen_code(cpu, t.tb.pc, t.tb.cs_base, t.tb.flags, t.tb.cf_mask);
         mmap_unlock();
       } else {