- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 262 for fuzz (0.55 sec)
-
tests/fuzz/fuzz.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package fuzz import ( "istio.io/istio/pilot/pkg/config/kube/crd" ) func FuzzParseInputs(data []byte) int { _, _, err := crd.ParseInputs(string(data)) if err != nil { return 0 } return 1
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 07 03:26:36 UTC 2022 - 783 bytes - Viewed (0) -
src/testing/fuzz.go
// F is a type passed to fuzz tests. // // Fuzz tests run generated inputs against a provided fuzz target, which can // find and report potential bugs in the code being tested. // // A fuzz test runs the seed corpus by default, which includes entries provided // by (*F).Add and entries in the testdata/fuzz/<FuzzTestName> directory. After // any necessary setup and calls to (*F).Add, the fuzz test must then call
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/internal/fuzz/fuzz.go
if coverageEnabled { fmt.Fprintf(c.opts.Log, "fuzz: elapsed: %s, gathering baseline coverage: %d/%d completed\n", c.elapsed(), runSoFar, c.warmupInputCount) } else { fmt.Fprintf(c.opts.Log, "fuzz: elapsed: %s, testing seed corpus: %d/%d completed\n", c.elapsed(), runSoFar, c.warmupInputCount) } } else if c.crashMinimizing != nil { fmt.Fprintf(c.opts.Log, "fuzz: elapsed: %s, minimizing\n", c.elapsed()) } else {
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_cache.txt
[!fuzz-instrumented] skip [short] skip env GOCACHE=$WORK/cache # Fuzz cache should not exist after a regular test run. go test . exists $GOCACHE ! exists $GOCACHE/fuzz # Fuzzing should write interesting values to the cache. go test -fuzz=FuzzY -fuzztime=100x . go run ./contains_files $GOCACHE/fuzz/example.com/y/FuzzY # 'go clean -cache' should not delete the fuzz cache. go clean -cache exists $GOCACHE/fuzz
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 30 17:22:49 UTC 2022 - 1.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_setenv.txt
[!fuzz] skip [short] skip env GOCACHE=$WORK/cache go test -fuzz=FuzzA -fuzztime=100x fuzz_setenv_test.go -- fuzz_setenv_test.go -- package fuzz import ( "flag" "os" "testing" ) func FuzzA(f *testing.F) { if s := os.Getenv("TEST_FUZZ_SETENV_A"); isWorker() && s == "" { f.Fatal("environment variable not set") } else if !isWorker() && s != "" { f.Fatal("environment variable already set") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 943 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSourceTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 25 10:08:46 UTC 2022 - 4.8K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_mutator.txt
[!fuzz] skip # Test basic fuzzing mutator behavior. # # fuzz_test.go has two fuzz targets (FuzzA, FuzzB) which both add a seed value. # Each fuzz function writes the input to a log file. The coordinator and worker # use separate log files. check_logs.go verifies that the coordinator only # tests seed values and the worker tests mutated values on the fuzz target. [short] skip env GOCACHE=$WORK/cache
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 3.7K bytes - Viewed (0) -
tests/fuzz/README.md
## Native fuzzers While many jobs are still using the old [go-fuzz](https://github.com/dvyukov/go-fuzz) style fuzzers, using [Go 1.18 native fuzzing](https://go.dev/doc/fuzz/) is preferred. These should be written alongside standard test packages. Currently, these cannot be in `<pkg>_test` packages; instead move them to a file under `<pkg>`.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 23 16:45:44 UTC 2022 - 994 bytes - Viewed (0) -
pkg/fuzz/README.md
func FuzzBuildHTTP(f *testing.F) { fuzz.Fuzz(f, func(fg fuzz.Helper) { // Setup a few structs for testing bundle := fuzz.Struct[trustdomain.Bundle](fg) // This one has a custom validator push := fuzz.Struct[*model.PushContext](fg, validatePush) // *model.Proxy, and other types, implement the fuzz.Validator interface and already validate some basics. node := fuzz.Struct[*model.Proxy](fg)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 05 21:25:25 UTC 2023 - 1.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ElementSourceSpec.groovy
source.addPending(provider2) source.add("fizz") then: source.iteratorNoFlush().collect() == iterationOrder("foo", "fizz") when: provider1.value = ["fuzz", "buzz"] then: source.iterator().collect() == iterationOrder("foo", "fuzz", "buzz", "bar", "fizz") when: provider1.value = ["baz"] then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 25 10:08:46 UTC 2022 - 9.5K bytes - Viewed (0)