aboutsummaryrefslogtreecommitdiffstats
path: root/executor/kvm.h
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2024-07-23 11:32:12 +0200
committerAlexander Potapenko <glider@google.com>2024-07-29 15:29:47 +0000
commitd44a00853f501db00c2c9e47b8c770b892d57721 (patch)
treec23f3b508c544d0591bf876c0b5ab90498f94bbc /executor/kvm.h
parent3fac346ac6e2c0adadc6a268582fc50fc07f16f2 (diff)
executor: arm64: add syzos header
For KVM fuzzing we are going to need some library code that will be running inside KVM to perform common tasks (e.g. register accesses, device setup etc.) This code will reside in a special ".guest" section that the executor will map at address 0xeeee8000. For now it contains just the main function, but will be extended in further patches.
Diffstat (limited to 'executor/kvm.h')
-rw-r--r--executor/kvm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/kvm.h b/executor/kvm.h
index 217ce24ff..49a493818 100644
--- a/executor/kvm.h
+++ b/executor/kvm.h
@@ -77,4 +77,5 @@
#define PREFIX_SIZE 0xba1d
#define ARM64_ADDR_USER_CODE 0xeeee0000
+#define ARM64_ADDR_EXECUTOR_CODE 0xeeee8000
#define ARM64_ADDR_EL1_STACK_BOTTOM 0xffff1000