Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FuzzCRDRoundtrip (0.39 sec)

  1. tests/fuzz/regression_test.go

    		{"FuzzUpdateVerifiedKeyCertBundleFromFile", FuzzUpdateVerifiedKeyCertBundleFromFile},
    		{"FuzzJwtUtil", FuzzJwtUtil},
    		{"FuzzFindRootCertFromCertificateChainBytes", FuzzFindRootCertFromCertificateChainBytes},
    		{"FuzzCRDRoundtrip", FuzzCRDRoundtrip},
    	}
    	for _, tt := range cases {
    		if testedFuzzers.InsertContains(tt.name) {
    			t.Fatalf("dupliate fuzzer test %v", tt.name)
    		}
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 10 16:43:09 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. tests/fuzz/oss_fuzz_build.sh

      func="Fuzz$(echo "{}" | cut -d: -f2)"
      set -x
      compile_native_go_fuzzer istio.io/istio/$fname $func $func
    '
    
    # Now compile fuzzers from tests/fuzz
    compile_go_fuzzer istio.io/istio/tests/fuzz FuzzCRDRoundtrip fuzz_crd_roundtrip
    compile_go_fuzzer istio.io/istio/tests/fuzz FuzzExtractIDs fuzz_extract_ids
    compile_go_fuzzer istio.io/istio/tests/fuzz FuzzPemCertBytestoString fuzz_pem_cert_bytes_to_string 
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 15:50:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. tests/fuzz/crd_roundtrip_fuzzer.go

    	clientsecurity.AddToScheme(scheme)
    	clientextensions.AddToScheme(scheme)
    	clienttelemetry.AddToScheme(scheme)
    }
    
    // FuzzRoundtrip tests whether the pilot CRDs
    // can be encoded and decoded.
    func FuzzCRDRoundtrip(data []byte) int {
    	initter.Do(initRoundTrip)
    	if len(data) < 100 {
    		return 0
    	}
    
    	// select a target:
    	r := collections.Pilot.All()[int(data[0])%len(collections.Pilot.All())]
    	gvk := r.GroupVersionKind()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top