aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2026-02-05 13:47:23 +0100
committerAlexander Potapenko <glider@google.com>2026-02-09 09:43:36 +0000
commitdcd3f1a34151f50991c29aa21677ba6f09159da8 (patch)
tree2b82d4eda272da366e6a75c25eb794b8776c3655 /executor
parent168b436f204a8cae6542d42542e18cc1197ac5b2 (diff)
executor: fix ifdefs for executor_fn_guest_addr()
Make sure executor_fn_guest_addr() is defined when __NR_syz_kvm_assert_syzos_uexit is.
Diffstat (limited to 'executor')
-rw-r--r--executor/common_kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_kvm.h b/executor/common_kvm.h
index 80253fb19..92a5c7386 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
+#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
extern char* __start_guest;
// executor_fn_guest_addr() is compiled into both the host and the guest code.