aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qemu_mode/patches/afl-qemu-cpu-inl.h2
-rw-r--r--qemu_mode/patches/afl-qemu-tcg-inl.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/qemu_mode/patches/afl-qemu-cpu-inl.h b/qemu_mode/patches/afl-qemu-cpu-inl.h
index 9fdc23ea..3bd107d7 100644
--- a/qemu_mode/patches/afl-qemu-cpu-inl.h
+++ b/qemu_mode/patches/afl-qemu-cpu-inl.h
@@ -413,7 +413,7 @@ void afl_forkserver(CPUState *cpu) {
void afl_persistent_loop(void) {
static u32 cycle_cnt;
- static struct afl_tsl exit_cmd_tsl = {{-1, 0, 0, 0}, NULL};
+ static struct afl_tsl exit_cmd_tsl = {{-1, 0, 0, 0}, '\0'};
if (!afl_fork_child) return;
diff --git a/qemu_mode/patches/afl-qemu-tcg-inl.h b/qemu_mode/patches/afl-qemu-tcg-inl.h
index 430574e5..f7c662db 100644
--- a/qemu_mode/patches/afl-qemu-tcg-inl.h
+++ b/qemu_mode/patches/afl-qemu-tcg-inl.h
@@ -30,6 +30,7 @@
have a look at afl-showmap.c.
*/
+void afl_gen_tcg_plain_call(void *func);
void afl_gen_tcg_plain_call(void *func) {