about summary refs log tree commit diff
path: root/qemu_mode/patches/afl-qemu-common.h
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2019-09-18 10:15:34 +0200
committerAndrea Fioraldi <andreafioraldi@gmail.com>2019-09-18 10:15:34 +0200
commited7917e619fb3c3163af91783cfb7cd3ea34a917 (patch)
tree8953e55df4c4d49f9490cc8deccf77c359ba19af /qemu_mode/patches/afl-qemu-common.h
parent832c784a705d7cb67606a8ff783151541338789f (diff)
downloadafl++-ed7917e619fb3c3163af91783cfb7cd3ea34a917.tar.gz
qemu persistent GPR
Diffstat (limited to 'qemu_mode/patches/afl-qemu-common.h')
-rw-r--r--qemu_mode/patches/afl-qemu-common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qemu_mode/patches/afl-qemu-common.h b/qemu_mode/patches/afl-qemu-common.h
index 147cec4c..2b7bd51c 100644
--- a/qemu_mode/patches/afl-qemu-common.h
+++ b/qemu_mode/patches/afl-qemu-common.h
@@ -58,9 +58,14 @@ extern u8             afl_compcov_level;
 extern unsigned char  afl_fork_child;
 extern unsigned char  is_persistent;
 extern target_long    persistent_stack_offset;
+extern unsigned char  persistent_first_pass;
+extern unsigned char  persistent_save_gpr;
+extern target_ulong   persistent_saved_gpr[CPU_NB_REGS];
 
 extern __thread abi_ulong afl_prev_loc;
 
+void afl_debug_dump_saved_regs();
+
 void afl_persistent_loop();
 
 void tcg_gen_afl_call0(void *func);