- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for FuzzSupported (0.23 sec)
-
src/internal/platform/supported.go
case "linux": return goarch == "arm64" || goarch == "amd64" || goarch == "loong64" || goarch == "riscv64" || goarch == "ppc64le" default: return false } } // FuzzSupported reports whether goos/goarch supports fuzzing // ('go test -fuzz=.'). func FuzzSupported(goos, goarch string) bool { switch goos { case "darwin", "freebsd", "linux", "windows": return true default: return false } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:50:22 UTC 2024 - 7.6K bytes - Viewed (0) -
src/internal/fuzz/sys_unimplemented.go
// Copyright 2020 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // If you update this constraint, also update internal/platform.FuzzSupported. // //go:build !darwin && !freebsd && !linux && !windows package fuzz import ( "os" "os/exec" ) type sharedMemSys struct{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 04 18:08:15 UTC 2022 - 934 bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
add("cross", script.BoolCondition("cmd/go GOOS/GOARCH != GOHOSTOS/GOHOSTARCH", goHostOS != runtime.GOOS || goHostArch != runtime.GOARCH)) add("fuzz", sysCondition("-fuzz", platform.FuzzSupported, false)) add("fuzz-instrumented", sysCondition("-fuzz with instrumentation", platform.FuzzInstrumented, false)) add("git", lazyBool("the 'git' executable exists and provides the standard CLI", hasWorkingGit))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
pkgs = load.PackagesAndErrors(ctx, pkgOpts, pkgArgs) load.CheckPackageErrors(pkgs) if len(pkgs) == 0 { base.Fatalf("no packages to test") } if testFuzz != "" { if !platform.FuzzSupported(cfg.Goos, cfg.Goarch) { base.Fatalf("-fuzz flag is not supported on %s/%s", cfg.Goos, cfg.Goarch) } if len(pkgs) != 1 { base.Fatalf("cannot use -fuzz flag with multiple packages") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0)