From 554d3ef1c24ae1bc3c8c439e8c8f3a9006434244 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Thu, 25 Sep 2025 16:49:33 +0200 Subject: executor: rename SYZOS-related address definitions To distinguish SYZOS addresses from other x86 definitions, change them to start with X86_SYZOS_ADDR_ No functional change. --- executor/common_kvm_amd64_syzos.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'executor/common_kvm_amd64_syzos.h') diff --git a/executor/common_kvm_amd64_syzos.h b/executor/common_kvm_amd64_syzos.h index b9c3e8315..a8e825ab9 100644 --- a/executor/common_kvm_amd64_syzos.h +++ b/executor/common_kvm_amd64_syzos.h @@ -83,7 +83,7 @@ __attribute__((used)) GUEST_CODE static void guest_main(uint64 size, uint64 cpu) { - uint64 addr = X86_ADDR_USER_CODE + cpu * KVM_PAGE_SIZE; + uint64 addr = X86_SYZOS_ADDR_USER_CODE + cpu * KVM_PAGE_SIZE; while (size >= sizeof(struct api_call_header)) { struct api_call_header* cmd = (struct api_call_header*)addr; @@ -151,7 +151,7 @@ GUEST_CODE static noinline void guest_execute_code(uint8* insns, uint64 size) // and can handle the call depending on the data passed as exit code. GUEST_CODE static noinline void guest_uexit(uint64 exit_code) { - volatile uint64* ptr = (volatile uint64*)X86_ADDR_UEXIT; + volatile uint64* ptr = (volatile uint64*)X86_SYZOS_ADDR_UEXIT; *ptr = exit_code; } -- cgit mrf-deployment