Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for fuzzcache (0.13 sec)

  1. src/cmd/go/testdata/script/test_fuzz_cache.txt

    # 'go clean -cache' should not delete the fuzz cache.
    go clean -cache
    exists $GOCACHE/fuzz
    
    # 'go clean -fuzzcache' should delete the fuzz cache but not the build cache.
    go build -x ./empty
    stderr '(compile|gccgo)( |\.exe).*empty.go'
    go clean -fuzzcache
    ! exists $GOCACHE/fuzz
    go build -x ./empty
    ! stderr '(compile|gccgo)( |\.exe).*empty.go'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test2json_interrupt.txt

    stdout -count=1 '"Action":"pass","Package":"example","Test":"FuzzInterrupt"'
    stdout -count=1 '"Action":"pass","Package":"example","Elapsed":'
    
    mkdir $WORK/fuzzcache
    go test -c . -fuzz=. -o example_test.exe
    ? go tool test2json -p example -t ./example_test.exe -test.v -test.paniconexit0 -test.fuzzcachedir $WORK/fuzzcache -test.fuzz FuzzInterrupt -test.run '^$' -test.parallel 1
    stdout -count=1 '"Action":"pass","Package":"example","Test":"FuzzInterrupt"'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 08 03:52:44 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_seed_corpus.txt

    stdout FAIL
    # Make sure this crash didn't come from fuzzing
    # (the log line that states fuzzing began shouldn't have printed)
    ! stdout 'execs'
    
    # Clear the fuzz cache and make sure it's gone
    go clean -fuzzcache
    ! exists $GOCACHE/fuzz
    
    # The tests below should operate the exact same as the previous tests. If -fuzz
    # is enabled, then whatever target is going to be fuzzed shouldn't be run by
    # anything other than the workers.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/clean/clean.go

    go build cache.
    
    The -modcache flag causes clean to remove the entire module
    download cache, including unpacked source code of versioned
    dependencies.
    
    The -fuzzcache flag causes clean to remove files stored in the Go build
    cache for fuzz testing. The fuzzing engine caches files that expand
    code coverage, so removing them may make fuzzing less effective until
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/cache/default.go

    // README as a courtesy to explain where it came from.
    const cacheREADME = `This directory holds cached build artifacts from the Go build system.
    Run "go clean -cache" if the directory is getting too large.
    Run "go clean -fuzzcache" to delete the fuzz cache.
    See golang.org to learn more about Go.
    `
    
    // initDefaultCache does the work of finding the default cache
    // the first time Default is called.
    func initDefaultCache() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_minimize.txt

    ! go test -run=FuzzMinimizerNonrecoverable .
    rm testdata
    
    # Clear the fuzzing cache. There may already be minimized inputs that would
    # interfere with the next stage of the test.
    go clean -fuzzcache
    
    # Test that minimization can be cancelled by fuzzminimizetime and the latest
    # crash will still be logged and written to testdata.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 22 16:15:36 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cache/cache.go

    // The subdirectory may not exist.
    //
    // This directory is managed by the internal/fuzz package. Files in this
    // directory aren't removed by the 'go clean -cache' command or by Trim.
    // They may be removed with 'go clean -fuzzcache'.
    //
    // TODO(#48526): make Trim remove unused files from this directory.
    func (c *DiskCache) FuzzDir() string {
    	return filepath.Join(c.dir, "fuzz")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/help/helpdoc.go

    specifically, values that expanded code coverage when passed to a
    fuzz function. These values are not used for regular building and
    testing, but they're stored in a subdirectory of the build cache.
    Running 'go clean -fuzzcache' removes all cached fuzzing values.
    This may make fuzzing less effective, temporarily.
    
    The GODEBUG environment variable can enable printing of debugging
    information about the state of the cache:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  9. src/cmd/go/alldocs.go

    // go build cache.
    //
    // The -modcache flag causes clean to remove the entire module
    // download cache, including unpacked source code of versioned
    // dependencies.
    //
    // The -fuzzcache flag causes clean to remove files stored in the Go build
    // cache for fuzz testing. The fuzzing engine caches files that expand
    // code coverage, so removing them may make fuzzing less effective until
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_test_race.txt

    # Test with coverage and race instrumentation enabled, and a matching fuzz
    # pattern
    go test -fuzz=FuzzRace -race -v -fuzztime=200x
    ! stderr 'race detected during execution of test'
    
    -- go.mod --
    module test
    
    -- race_test.go --
    package race
    
    import "testing"
    
    func FuzzRace(f *testing.F) {
    	for i := 0; i < 100; i++ {
    		f.Add(i)
    	}
    
    	f.Fuzz(func(t *testing.T, i int) {
    		t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 966 bytes
    - Viewed (0)
Back to top