Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fuzzInstrumentFlags (0.25 sec)

  1. src/cmd/go/internal/work/init.go

    	}
    }
    
    // fuzzInstrumentFlags returns compiler flags that enable fuzzing instrumentation
    // on supported platforms.
    //
    // On unsupported platforms, fuzzInstrumentFlags returns nil, meaning no
    // 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 19:13:34 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/gc.go

    	if symabis != "" {
    		defaultGcFlags = append(defaultGcFlags, "-symabis", symabis)
    	}
    
    	gcflags := str.StringList(forcedGcflags, p.Internal.Gcflags)
    	if p.Internal.FuzzInstrument {
    		gcflags = append(gcflags, fuzzInstrumentFlags()...)
    	}
    	// Add -c=N to use concurrent backend compilation, if possible.
    	if c := gcBackendConcurrency(gcflags); c > 1 {
    		defaultGcFlags = append(defaultGcFlags, fmt.Sprintf("-c=%d", c))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    	}
    	if p.Internal.Cover.Mode != "" {
    		fmt.Fprintf(h, "cover %q %q\n", p.Internal.Cover.Mode, b.toolID("cover"))
    	}
    	if p.Internal.FuzzInstrument {
    		if fuzzFlags := fuzzInstrumentFlags(); fuzzFlags != nil {
    			fmt.Fprintf(h, "fuzz %q\n", fuzzFlags)
    		}
    	}
    	if p.Internal.BuildInfo != nil {
    		fmt.Fprintf(h, "modinfo %q\n", p.Internal.BuildInfo.String())
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
Back to top