From a604cf376325b5f4d5ead8c2ca50da91330c72c8 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Tue, 16 Apr 2024 15:11:22 +0200 Subject: pkg/ifuzz/arm64: add arm64 support This patch adds instruction generator for ARM64 based on the descriptions provided as part of Go's arm64asm package. It also implements support for pseudo-instructions for calling ARM64 hypercalls. --- pkg/ifuzz/ifuzz.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/ifuzz/ifuzz.go') diff --git a/pkg/ifuzz/ifuzz.go b/pkg/ifuzz/ifuzz.go index 01137b6ea..d33717d5d 100644 --- a/pkg/ifuzz/ifuzz.go +++ b/pkg/ifuzz/ifuzz.go @@ -6,6 +6,7 @@ package ifuzz import ( "math/rand" + _ "github.com/google/syzkaller/pkg/ifuzz/arm64/generated" // pull in generated instruction descriptions "github.com/google/syzkaller/pkg/ifuzz/iset" _ "github.com/google/syzkaller/pkg/ifuzz/powerpc/generated" // pull in generated instruction descriptions _ "github.com/google/syzkaller/pkg/ifuzz/x86/generated" // pull in generated instruction descriptions @@ -20,6 +21,7 @@ type ( const ( ArchX86 = iset.ArchX86 ArchPowerPC = iset.ArchPowerPC + ArchArm64 = iset.ArchArm64 ModeLong64 = iset.ModeLong64 ModeProt32 = iset.ModeProt32 ModeProt16 = iset.ModeProt16 -- cgit mrf-deployment