Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FuzzInstrumented (0.17 sec)

  1. src/internal/fuzz/counters_unsupported.go

    // the instrumentation is OS specific, but only amd64 and arm64 are
    // supported in the runtime. See src/runtime/libfuzzer*.
    //
    // If you update this constraint, also update internal/platform.FuzzInstrumented.
    //
    //go:build !((darwin || linux || windows || freebsd) && (amd64 || arm64))
    
    package fuzz
    
    // TODO(#48504): re-enable on platforms where instrumentation works.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 17:10:57 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/internal/platform/supported.go

    	switch goos {
    	case "darwin", "freebsd", "linux", "windows":
    		return true
    	default:
    		return false
    	}
    }
    
    // FuzzInstrumented reports whether fuzzing on goos/goarch uses coverage
    // instrumentation. (FuzzInstrumented implies FuzzSupported.)
    func FuzzInstrumented(goos, goarch string) bool {
    	switch goarch {
    	case "amd64", "arm64":
    		// TODO(#14565): support more architectures.
    		return FuzzSupported(goos, goarch)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:50:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    			if !strings.Contains(out, tc.expectedError) {
    				t.Errorf("exited without expected error %q; got\n%s", tc.expectedError, out)
    			}
    		})
    	}
    }
    
    // libFuzzerSupported is a copy of the function internal/platform.FuzzInstrumented,
    // because the internal package can't be used here.
    func libFuzzerSupported(goos, goarch string) bool {
    	switch goarch {
    	case "amd64", "arm64":
    		// TODO(#14565): support more architectures.
    		switch goos {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/go/scriptconds_test.go

    	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))
    	add("GODEBUG", script.PrefixCondition("GODEBUG contains <suffix>", hasGodebug))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/init.go

    // instrumentation is added. 'go test -fuzz' still works without coverage,
    // but it generates random inputs without guidance, so it's much less effective.
    func fuzzInstrumentFlags() []string {
    	if !platform.FuzzInstrumented(cfg.Goos, cfg.Goarch) {
    		return nil
    	}
    	return []string{"-d=libfuzzer"}
    }
    
    func instrumentInit() {
    	if !cfg.BuildRace && !cfg.BuildMSan && !cfg.BuildASan {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top