aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/common_kvm.h2
-rw-r--r--executor/common_kvm_386.h2
-rw-r--r--executor/common_test.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/executor/common_kvm.h b/executor/common_kvm.h
index 386e43267..56b7bd2f5 100644
--- a/executor/common_kvm.h
+++ b/executor/common_kvm.h
@@ -11,7 +11,7 @@
#include "common_kvm_syzos.h"
#include "kvm.h"
-#if SYZ_EXECUTOR || __NR_syz_kvm_add_vcpu || __NR_syz_kvm_setup_cpu || __NR_syz_kvm_setup_syzos_vm || __NR_syz_kvm_assert_syzos_uexit
+#if SYZ_EXECUTOR || __NR_syz_kvm_add_vcpu || __NR_syz_kvm_setup_cpu || __NR_syz_kvm_setup_syzos_vm || __NR_syz_kvm_assert_syzos_uexit || __NR_syz_kvm_assert_syzos_kvm_exit
extern char* __start_guest;
// executor_fn_guest_addr() is compiled into both the host and the guest code.
diff --git a/executor/common_kvm_386.h b/executor/common_kvm_386.h
index 2eba3ee18..75acc97a1 100644
--- a/executor/common_kvm_386.h
+++ b/executor/common_kvm_386.h
@@ -27,7 +27,7 @@ static long syz_kvm_assert_syzos_uexit(volatile long a0, volatile long a1, volat
}
#endif
-#if SYZ_EXECUTOR || __NR_syz_kvm_assert_syzos_uexit
+#if SYZ_EXECUTOR || __NR_syz_kvm_assert_syzos_kvm_exit
static long syz_kvm_assert_syzos_kvm_exit(volatile long a0, volatile long a1)
{
return 0;
diff --git a/executor/common_test.h b/executor/common_test.h
index 148f11f86..8e5227f59 100644
--- a/executor/common_test.h
+++ b/executor/common_test.h
@@ -45,7 +45,7 @@ static long syz_sleep_ms(volatile long ms)
}
#endif
-#if SYZ_EXECUTOR || __NR_syz_compare
+#if SYZ_EXECUTOR || __NR_syz_compare || __NR_syz_compare_zlib
#include <errno.h>
#include <string.h>