Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 124 for fuzzers (0.14 sec)

  1. pkg/kubelet/apis/config/fuzzer/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 fuzzer
    
    import (
    	"math/rand"
    	"time"
    
    	fuzz "github.com/google/gofuzz"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pkg/apis/apps/fuzzer/fuzzer.go

    limitations under the License.
    */
    
    package fuzzer
    
    import (
    	"fmt"
    
    	fuzz "github.com/google/gofuzz"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/apimachinery/pkg/util/intstr"
    	"k8s.io/kubernetes/pkg/apis/apps"
    )
    
    // Funcs returns the fuzzer functions for the apps api group.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/fuzzer/fuzzer.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package fuzzer
    
    import (
    	"fmt"
    	"math/rand"
    	"sort"
    	"strconv"
    	"strings"
    
    	fuzz "github.com/google/gofuzz"
    
    	apitesting "k8s.io/apimachinery/pkg/api/apitesting"
    	"k8s.io/apimachinery/pkg/api/apitesting/fuzzer"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 15:12:26 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/roundtrip.go

    	roundTripTypes(t, scheme, codecFactory, fuzzer, nonRoundTrippableTypes, true)
    }
    
    func RoundTripTypes(t *testing.T, scheme *runtime.Scheme, codecFactory runtimeserializer.CodecFactory, fuzzer *fuzz.Fuzzer, nonRoundTrippableTypes map[schema.GroupVersionKind]bool) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  5. pkg/apis/core/fuzzer/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 fuzzer
    
    import (
    	"reflect"
    	"strconv"
    	"time"
    
    	fuzz "github.com/google/gofuzz"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 04:32:01 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. pkg/api/testing/copy_test.go

    			f := fuzzer.FuzzerFor(FuzzerFuncs, rand.NewSource(rand.Int63()), legacyscheme.Codecs)
    			for kind := range legacyscheme.Scheme.KnownTypes(version) {
    				doDeepCopyTest(t, version.WithKind(kind), f)
    			}
    		}
    	}
    }
    
    func doDeepCopyTest(t *testing.T, kind schema.GroupVersionKind, f *fuzz.Fuzzer) {
    	item, err := legacyscheme.Scheme.New(kind)
    	if err != nil {
    		t.Fatalf("Could not create a %v: %s", kind, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. tests/integration/security/fuzz/fuzzers/wfuzz/wfuzz.yaml

    spec:
      replicas: 1
      selector:
        matchLabels:
          app: wfuzz
      template:
        metadata:
          labels:
            app: wfuzz
          annotations:
            # Do not inject Envoy in the fuzzer side to make sure the server Envoy sees the original fuzzed request.
            "sidecar.istio.io/inject": "false"
        spec:
          containers:
          - name: wfuzz
            image: ghcr.io/xmendez/wfuzz:v3.1.0
            command: [ "sleep" ]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 23 20:55:02 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  8. tests/integration/security/fuzz/fuzzers/dotdotpwn/dotdotpwn.yaml

    spec:
      selector:
        matchLabels:
          app: dotdotpwn
      template:
        metadata:
          labels:
            app: dotdotpwn
          annotations:
            # Do not inject Envoy in the fuzzer side to make sure the server Envoy sees the original fuzzed request.
            "sidecar.istio.io/inject": "false"
        spec:
          containers:
            - name: dotdotpwn
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 23 20:55:02 UTC 2021
    - 1K bytes
    - Viewed (0)
  9. tests/fuzz/config_validation_fuzzer.go

    	iobj := crdclient.TranslateObject(object, gvk, "cluster.local")
    	_, _ = r.ValidateConfig(iobj)
    	return 1
    }
    
    // FuzzConfigValidation2 implements a second fuzzer for config validation.
    // The fuzzer targets the same API as FuzzConfigValidation above,
    // but its approach to creating a fuzzed config is a bit different
    // in that it utilizes Istio APIs to generate a Spec from json.
    // We currently run both continuously to compare their performance.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. pkg/api/testing/serialization_test.go

    	k8s_api_v1 "k8s.io/kubernetes/pkg/apis/core/v1"
    	"sigs.k8s.io/yaml"
    )
    
    // fuzzInternalObject fuzzes an arbitrary runtime object using the appropriate
    // fuzzer registered with the apitesting package.
    func fuzzInternalObject(t *testing.T, forVersion schema.GroupVersion, item runtime.Object, seed int64) runtime.Object {
    	fuzzer.FuzzerFor(FuzzerFuncs, rand.NewSource(seed), legacyscheme.Codecs).Fuzz(item)
    
    	j, err := meta.TypeAccessor(item)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 19.3K bytes
    - Viewed (0)
Back to top