diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-01-12 11:57:17 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-01-12 11:57:17 +0100 |
| commit | ff8c0180ab432ad1bf8671407f828078cda86551 (patch) | |
| tree | f2f6472e985c51cbf8125198cd562db715d69468 /executor/common.h | |
| parent | bcfae12bec951e6e4261a9910eab4b971f767329 (diff) | |
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.
Diffstat (limited to 'executor/common.h')
| -rw-r--r-- | executor/common.h | 6 |
1 files changed, 5 insertions, 1 deletions
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) |
