Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for fuzzers (0.17 sec)

  1. tests/fuzz/oss_fuzz_build.sh

    # and Go would therefore remove it from go.mod once we run "go mod tidy && go mod vendor".
    printf "package main\nimport _ \"github.com/AdamKorcz/go-118-fuzz-build/testing\"\n" > register.go
    go mod tidy
    
    # Find all native fuzzers and compile them
    # shellcheck disable=SC2016
    grep --line-buffered --include '*_test.go' -Pr 'func Fuzz.*\(.* \*testing\.F' | sed -E 's/(func Fuzz(.*)\(.*)/\2/' | xargs -I{} sh -c '
      fname="$(dirname $(echo "{}" | cut -d: -f1))"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 15:50:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen_main.cc

    // Main executable to generate op fuzzers
    
    /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 10:53:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    )
    
    // Funcs returns the fuzzer functions for the kubeadm apis.
    func Funcs(codecs runtimeserializer.CodecFactory) []interface{} {
    	return []interface{}{
    		fuzzInitConfiguration,
    		fuzzClusterConfiguration,
    		fuzzComponentConfigMap,
    		fuzzDNS,
    		fuzzNodeRegistration,
    		fuzzLocalEtcd,
    		fuzzNetworking,
    		fuzzJoinConfiguration,
    		fuzzJoinControlPlane,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation_test.go

    }
    
    func TestValidateNestedValueValidationComplete(t *testing.T) {
    	fuzzer := fuzz.New()
    	fuzzer.Funcs(
    		func(s *JSON, c fuzz.Continue) {
    			if c.RandBool() {
    				s.Object = float64(42.0)
    			}
    		},
    		func(s **NestedValueValidation, c fuzz.Continue) {
    			if c.RandBool() {
    				*s = &NestedValueValidation{}
    			}
    		},
    	)
    	fuzzer.NilChance(0)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 18:20:00 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. pkg/api/testing/unstructured_test.go

    		t.Run(subtestName, func(t *testing.T) {
    			for reason, gvks := range knownFailureReasons {
    				for _, each := range gvks {
    					if gvk == each {
    						t.Skip(reason)
    					}
    				}
    			}
    
    			fuzzer := fuzzer.FuzzerFor(FuzzerFuncs, rand.NewSource(seed), legacyscheme.Codecs)
    
    			for i := 0; i < 50; i++ {
    				// We do fuzzing on the internal version of the object, and only then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta3/conversion.go

    	if err != nil {
    		return err
    	}
    	err = Convert_v1beta3_ClusterConfiguration_To_kubeadm_ClusterConfiguration(&ClusterConfiguration{}, &out.ClusterConfiguration, s)
    	// Required to pass fuzzer tests. This ClusterConfiguration is empty and is never defaulted.
    	// If we call Convert_v1beta3_ClusterConfiguration_To_kubeadm_ClusterConfiguration() these fields will receive
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    	goarch, err := goEnv("GOARCH")
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !libFuzzerSupported(goos, goarch) {
    		t.Skipf("skipping on %s/%s; libfuzzer option is not supported.", goos, goarch)
    	}
    	config := configure("fuzzer")
    	config.skipIfCSanitizerBroken(t)
    
    	cases := []struct {
    		goSrc         string
    		cSrc          string
    		expectedError string
    	}{
    		{goSrc: "libfuzzer1.go", expectedError: "panic: found it"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go

    				t.Errorf("Failed equality test for '%v': expected %+v, got %+v", c.x, c.result, result)
    			}
    		})
    	}
    }
    
    func TestTimeRoundtripCBOR(t *testing.T) {
    	fuzzer := fuzz.New()
    	for i := 0; i < 500; i++ {
    		var initial, final Time
    		fuzzer.Fuzz(&initial)
    		b, err := cbor.Marshal(initial)
    		if err != nil {
    			t.Errorf("error encoding %v: %v", initial, err)
    			continue
    		}
    		err = cbor.Unmarshal(b, &final)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go

    			}
    		})
    	}
    
    }
    
    func TestMicroTimeRoundtripCBOR(t *testing.T) {
    	fuzzer := fuzz.New()
    	for i := 0; i < 500; i++ {
    		var initial, final MicroTime
    		fuzzer.Fuzz(&initial)
    		b, err := cbor.Marshal(initial)
    		if err != nil {
    			t.Errorf("error encoding %v: %v", initial, err)
    			continue
    		}
    		err = cbor.Unmarshal(b, &final)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    				t.Errorf("unexpected difference between expected and actual output:\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestIntOrStringRoundtripCBOR(t *testing.T) {
    	fuzzer := fuzz.New()
    	for i := 0; i < 500; i++ {
    		var initial, final IntOrString
    		fuzzer.Fuzz(&initial)
    		b, err := cbor.Marshal(initial)
    		if err != nil {
    			t.Errorf("error encoding %v: %v", initial, err)
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top