diff options
| author | Alexey Kardashevskiy <aik@linux.ibm.com> | 2020-11-19 21:01:35 +1100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-11-20 15:31:42 +0100 |
| commit | 680688040fc26d17a49a9663fbbd6a716c6247b6 (patch) | |
| tree | 4cb0e538575460b72864d2e782a77371aa7ec173 /executor/executor_linux.h | |
| parent | e72f8f11e096d36aefc41a35c718dced97c45dea (diff) | |
pkg/ifuzz/powerpc: add powerpc support
This adds KVM's syz_kvm_setup_cpu pseudo syscall. This adds placeholder
for options (none implemented yet).
This adds instruction generator for ifuzz; this also adds a few pseudo
instructions to simulate super/hyper/ultracalls
(a PPC64/pseries platform thing).
The insns.go is generated from PowerISA_public.v3.0B.pdf [1] by
a horrendous python3 script on top of pdftotext. The ISA covers POWER9
which is the latest available POWER CPU at the moment. The next ISA
for POWER10 is quite different and we will deal with it later.
The // comment after every instruction is a fixed opcode list for
verification purposes.
This does not define DecodeExt as there is no obvious replacement of
the Intel XED library for POWERPC (gapstone-capstone, later, may be).
[1] https://openpowerfoundation.org/?resource_lib=power-isa-version-3-0
Signed-off-by: Alexey Kardashevskiy <aik@linux.ibm.com>
Diffstat (limited to 'executor/executor_linux.h')
0 files changed, 0 insertions, 0 deletions
