From ff8c0180ab432ad1bf8671407f828078cda86551 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 12 Jan 2017 11:57:17 +0100 Subject: sys, executor: more kvm improvements 1. Basic support for arm64 kvm testing. 2. Fix compiler warnings in x86 kvm code. 3. Test all pseudo syz calls in csource. 4. Fix handling of real code in x86. --- executor/common.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'executor/common.h') diff --git a/executor/common.h b/executor/common.h index ba0303752..004dcc341 100644 --- a/executor/common.h +++ b/executor/common.h @@ -369,7 +369,11 @@ static uintptr_t syz_fuseblk_mount(uintptr_t a0, uintptr_t a1, uintptr_t a2, uin #endif #ifdef __NR_syz_kvm_setup_cpu -#include "common_kvm.h" +#if defined(__x86_64__) +#include "common_kvm_amd64.h" +#elif defined(__aarch64__) +#include "common_kvm_arm64.h" +#endif #endif // #ifdef __NR_syz_kvm_setup_cpu static uintptr_t execute_syscall(int nr, uintptr_t a0, uintptr_t a1, uintptr_t a2, uintptr_t a3, uintptr_t a4, uintptr_t a5, uintptr_t a6, uintptr_t a7, uintptr_t a8) -- cgit mrf-deployment