From e72f8f11e096d36aefc41a35c718dced97c45dea Mon Sep 17 00:00:00 2001 From: Alexey Kardashevskiy Date: Wed, 2 Sep 2020 18:11:22 +1000 Subject: pkg/ifuzz: reorganize files to allow other architectures At the moment ifuzz only generates x86 instructions. In order to support instruction fuzzing for others (ARM, POWERPC), some separation of the common and arch layers is needed. This adds 2 packages: 1. "x86" where x86 instruction generator goes to 2. "ifuzzimpl which contains some common code. The goal was to keep changes to the rand.go to the minimum. The next patch will use this when adding PPC64. This should cause no behavioural change. Signed-off-by: Alexey Kardashevskiy --- pkg/ifuzz/generated/empty.go | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 pkg/ifuzz/generated/empty.go (limited to 'pkg/ifuzz/generated/empty.go') diff --git a/pkg/ifuzz/generated/empty.go b/pkg/ifuzz/generated/empty.go deleted file mode 100644 index 35a053a49..000000000 --- a/pkg/ifuzz/generated/empty.go +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2019 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -// To unbreak build with insns.go is excluded by build tags. - -package generated -- cgit mrf-deployment