Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 227 for fuzz (0.19 sec)

  1. 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)
  2. pilot/pkg/networking/core/envoyfilter/fuzz_test.go

    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/fuzz"
    )
    
    func FuzzApplyClusterMerge(f *testing.F) {
    	f.Fuzz(func(t *testing.T, patchCount int, hostname string, data []byte) {
    		defer fuzz.Finalize()
    		fg := fuzz.New(t, data)
    		patches := fuzz.Slice[*networking.EnvoyFilter_EnvoyConfigObjectPatch](fg, patchCount%30)
    		proxy := fuzz.Struct[*model.Proxy](fg)
    		mesh := fuzz.Struct[*meshconfig.MeshConfig](fg)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. tests/fuzz/status_fuzzer.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 (
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    
    	"istio.io/api/meta/v1alpha1"
    	"istio.io/istio/pilot/pkg/status/distribution"
    )
    
    // FuzzReconcileStatuses implements a fuzzer that targets
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/test_fuzz_limit_dup_entry.txt

    [!fuzz] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # FuzzA attempts to cause the mutator to create duplicate inputs that generate
    # new coverage. Previously this would trigger a corner case when the fuzzer
    # had an execution limit, causing it to deadlock and sit in the coordinator
    # loop indefinitely, failing to exit once the limit had been exhausted.
    
    go test -fuzz=FuzzA -fuzztime=100x -parallel=1
    
    -- go.mod --
    module m
    
    go 1.16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 725 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert_test.go

    			c.FuzzNoCustom(s)
    			if s.Schema != nil {
    				s.Allows = false
    			}
    		},
    		func(s **string, c fuzz.Continue) {
    			c.FuzzNoCustom(s)
    			if *s != nil && **s == "" {
    				*s = nil
    			}
    		},
    	)
    
    	f.MaxDepth(2)
    	f.NilChance(0.5)
    
    	for i := 0; i < 10000; i++ {
    		// fuzz a random field in JSONSchemaProps
    		origSchema := &apiextensions.JSONSchemaProps{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 02:09:41 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_cgo.txt

    [!fuzz] skip
    [!cgo] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # Test that fuzzing works with cgo (issue 65169)
    
    go test -fuzz=. -fuzztime=1x
    stdout ok
    ! stdout FAIL
    
    -- go.mod --
    module example.com/p
    
    go 1.20
    -- c.go --
    package p
    
    import "C"
    -- c_test.go --
    package p
    
    import "testing"
    
    func Fuzz(f *testing.F) {
    	f.Add(0)
    	f.Fuzz(func(t *testing.T, x int) {})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 364 bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/loadbalancer/fuzz_test.go

    package loadbalancer
    
    import (
    	"testing"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	endpoint "github.com/envoyproxy/go-control-plane/envoy/config/endpoint/v3"
    
    	"istio.io/api/networking/v1alpha3"
    )
    
    func FuzzApplyLocalityLBSetting(f *testing.F) {
    	f.Fuzz(func(t *testing.T, data []byte) {
    		ff := fuzz.NewConsumer(data)
    		proxyLabels := make(map[string]string)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fuzz_test_race.txt

    # and seed values are being executed, the race detector isn't mistakenly
    # triggered.
    
    [short] skip
    [!fuzz] skip
    [!race] skip
    env GOCACHE=$WORK/cache
    
    # Test with coverage instrumentation enabled (-fuzz) and race instrumentation
    # but without actually fuzzing the target (by using a non-matching pattern)
    go test -fuzz=xxx -race -v
    ! stderr 'race detected during execution of test'
    
    # Test with just race instrumentation enabled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 966 bytes
    - Viewed (0)
  9. tests/fuzz/compare_fuzzer.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // nolint: revive
    package fuzz
    
    import (
    	"bytes"
    	"errors"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    
    	"istio.io/istio/istioctl/pkg/writer/compare"
    )
    
    func createIstiodDumps(f *fuzz.ConsumeFuzzer) (map[string][]byte, error) {
    	m := make(map[string][]byte)
    	maxNoEntries := 50
    	qty, err := f.GetInt()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  10. tests/fuzz/pilot_model_fuzzer.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 (
    	"errors"
    
    	fuzz "github.com/AdaLogics/go-fuzz-headers"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/serviceregistry/memory"
    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/config/mesh"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 18:13:06 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top