Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 325 for fuzz (0.04 sec)

  1. tests/fuzz/Dockerfile.fuzz

        rm -rf  /var/log/*log \
        /var/lib/apt/lists/* \
        /var/log/apt/* \
        /var/lib/dpkg/*-old \
        /var/cache/debconf/*-old
    
    RUN go get -u github.com/dvyukov/go-fuzz/go-fuzz \
        github.com/dvyukov/go-fuzz/go-fuzz-dep \
        github.com/dvyukov/go-fuzz/go-fuzz-build
    
    COPY . /istio
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 21 12:29:52 UTC 2021
    - 957 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ListElementSourceTest.groovy

            when:
            iterator = source.listIterator()
            iterator.add("bizz")
    
            then:
            source.iteratorNoFlush().collect() == ["bizz", "foo", "fuzz", "fizz", "bazz", "buzz"]
    
            and:
            source.iterator().collect() == ["bizz", "foo", "bar", "baz", "buzz", "fuzz", "fizz", "bazz", "buzz"]
        }
    
        def "listIterator can set elements"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 13 05:06:48 UTC 2020
    - 12.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSourceTest.groovy

            when:
            source.add("buzz")
            iterator = source.iterator()
            next = iterator.next()
    
            then:
            next == "baz"
    
            when:
            iterator.remove()
    
            then:
            iterator.hasNext()
            source.iterator().collect() == ["fooz", "fizz", "fuzz", "buzz"]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 10:08:46 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top