diff options
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | pkg/kfuzztest-manager/manager.go | 3 | ||||
| -rw-r--r-- | syz-kfuzztest/main.go | 3 |
3 files changed, 11 insertions, 0 deletions
@@ -217,8 +217,13 @@ syz-build: bisect: descriptions GOOS=$(HOSTOS) GOARCH=$(HOSTARCH) $(HOSTGO) build $(GOHOSTFLAGS) -o ./bin/syz-bisect github.com/google/syzkaller/tools/syz-bisect +ifeq ($(HOSTOS), linux) kfuzztest: descriptions GOOS=$(HOSTOS) GOARCH=$(HOSTARCH) $(HOSTGO) build $(GOHOSTFLAGS) -o ./bin/syz-kfuzztest github.com/google/syzkaller/syz-kfuzztest +else +kfuzztest: + @echo "Skipping kfuzztest build (it's Linux-only)" +endif verifier: descriptions # TODO: switch syz-verifier to use syz-executor. diff --git a/pkg/kfuzztest-manager/manager.go b/pkg/kfuzztest-manager/manager.go index f728230cc..312b496e1 100644 --- a/pkg/kfuzztest-manager/manager.go +++ b/pkg/kfuzztest-manager/manager.go @@ -1,5 +1,8 @@ // Copyright 2025 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. + +//go:build linux + package kfuzztestmanager import ( diff --git a/syz-kfuzztest/main.go b/syz-kfuzztest/main.go index e46ecc257..b81a9ef92 100644 --- a/syz-kfuzztest/main.go +++ b/syz-kfuzztest/main.go @@ -1,5 +1,8 @@ // Copyright 2025 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. + +//go:build linux + package main import ( |
