- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 207 for corpus (0.13 sec)
-
src/internal/fuzz/fuzz.go
// countWaiting is the number of fuzzing executions the coordinator is // waiting on workers to complete. countWaiting int64 // corpus is a set of interesting values, including the seed corpus and // generated values that workers reported as interesting. corpus corpus // minimizationAllowed is true if one or more of the types of fuzz // function's parameters can be minimized. minimizationAllowed bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 34.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_modcache.txt
go mod verify # If the module does include a test corpus, 'go test' (without '-fuzz') should # load that corpus and run the fuzz tests against it, but 'go test -fuzz=.' # should continue to be rejected. go get -t example.com/fuzzfail@v0.2.0 ! go test example.com/fuzzfail stdout '^\s*fuzzfail_test\.go:7: oops:' ! go test -fuzz=. example.com/fuzzfail ! stdout .
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 20:43:39 UTC 2021 - 1.8K bytes - Viewed (0) -
src/testing/fuzz.go
testContext *testContext // inFuzzFn is true when the fuzz function is running. Most F methods cannot // be called when inFuzzFn is true. inFuzzFn bool // corpus is a set of seed corpus entries, added with F.Add and loaded // from testdata. corpus []corpusEntry result fuzzResult fuzzCalled bool } var _ TB = (*F)(nil) // corpusEntry is an alias to the same type as internal/fuzz.CorpusEntry.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 22.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz.txt
stdout FAIL stdout 'failed some precondition' # Test success with seed corpus in f.Fuzz go test -run FuzzPass fuzz_add_test.go stdout ok ! stdout FAIL ! stdout 'off by one error' # Test fatal with seed corpus in f.Fuzz ! go test -run FuzzFatal fuzz_add_test.go ! stdout ^ok stdout FAIL stdout 'fatal here' # Test panic with seed corpus in f.Fuzz ! go test -run FuzzPanic fuzz_add_test.go ! stdout ^ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 10.2K bytes - Viewed (0) -
buildscripts/resolve-right-versions.sh
fi (cd "${MC_BUILD_DIR}" && go build -o "$WORK_DIR/mc") # remove mc source. purge "${MC_BUILD_DIR}" "${WORK_DIR}/mc" cp --quiet -r "buildscripts/cicd-corpus/" "${WORK_DIR}/cicd-corpus/" "${MINIO[@]}" --address ":$start_port" "${WORK_DIR}/cicd-corpus/disk{1...5}" >"${WORK_DIR}/server1.log" 2>&1 & pid=$! disown $pid sleep 5 if ! ps -p ${pid} 1>&2 >/dev/null; then echo "server1 log:"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Aug 16 14:51:33 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_dup_cache.txt
[!fuzz] skip [short] skip env GOCACHE=$WORK/cache # This test checks that cached corpus loading properly handles duplicate entries (this can # happen when a f.Add value has a duplicate entry in the cached corpus.) Duplicate entries # should be discarded, and the rest of the cache should be loaded as normal. env GOCACHE=$WORK/cache env GODEBUG=fuzzdebug=1 mkdir -p $GOCACHE/fuzz/fuzztest/FuzzTarget go run ./populate $GOCACHE/fuzz/fuzztest/FuzzTarget
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_seed_corpus.txt
! stdout ^ok ! stdout 'Failing input written to testdata[/\\]fuzz[/\\]FuzzWithTestdata[/\\]' stdout 'failure while testing seed corpus entry: FuzzWithTestdata/1' stdout FAIL # Test that fuzzing a target with no seed corpus or cache finds a crash, prints # it, and write it to testdata ! go test -fuzz=FuzzWithNoCache -run=FuzzWithNoCache -fuzztime=1x ! stdout ^ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 6.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_run.txt
stdout '=== RUN FuzzFoo/thisfails' stdout '--- FAIL: FuzzFoo/thisfails' stdout '=== RUN FuzzFoo/thispasses' stdout '--- PASS: FuzzFoo/thispasses' ! stdout 'no tests to run' # Tests where -run only matches one seed corpus which passes. go test -run FuzzFoo/thispasses stdout ok ! stdout 'no tests to run' go test -run /thispasses stdout ok ! stdout 'no tests to run' # Same tests in verbose mode
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 20:43:02 UTC 2021 - 3K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt
# of the mutator finding a crash while fuzzing, adding it as a regression test # to the seed corpus in testdata, and failing the next time the test is run. [short] skip env GOCACHE=$WORK/cache # Running the seed corpus for all of the targets should pass the first # time, since nothing in the seed corpus will cause a crash. go test # Running the fuzzer should find a crashing input quickly.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 8.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_parallel.txt
# by 'go test', so we can't distinguish that crasher from some other panic. ! go test -run=FuzzMutate -fuzz=FuzzMutate exists testdata/fuzz/FuzzMutate # Testdata should now contain a corpus entry which will fail FuzzMutate. # Run the test without fuzzing, setting -parallel to different values to make # sure it fails, and doesn't hang. ! go test -run=FuzzMutate -parallel=1 ! go test -run=FuzzMutate -parallel=2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1.6K bytes - Viewed (0)