- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 129 for fuzz (0.19 sec)
-
src/testing/internal/testdeps/deps.go
defer cancel() err := fuzz.RunFuzzWorker(ctx, fn) if err == ctx.Err() { return nil } return err } func (TestDeps) ReadCorpus(dir string, types []reflect.Type) ([]fuzz.CorpusEntry, error) { return fuzz.ReadCorpus(dir, types) } func (TestDeps) CheckCorpus(vals []any, types []reflect.Type) error { return fuzz.CheckCorpus(vals, types) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 6.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apidiscovery/v2/fuzzer_test.go
require.NoError(t, err) err = v2scheme.RegisterConversions(scheme) require.NoError(t, err) fuzzer := fuzz.NewWithSeed(2374375) // v2 -> v2beta1 -> v2 for i := 0; i < 100; i++ { expected := &v2.APIGroupDiscoveryList{} fuzzer.Fuzz(expected) expected.TypeMeta = metav1.TypeMeta{ Kind: "APIGroupDiscoveryList", APIVersion: "apidiscovery.k8s.io/v2", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 00:29:39 UTC 2024 - 2.5K bytes - Viewed (0) -
tests/fuzz/v1alpha3_fuzzer.go
// See the License for the specific language governing permissions and // limitations under the License. package fuzz import ( "errors" "testing" fuzz "github.com/AdaLogics/go-fuzz-headers" "istio.io/istio/pilot/pkg/model" "istio.io/istio/pilot/pkg/networking/core" "istio.io/istio/tests/fuzz/utils" ) func init() { testing.Init() } func ValidateTestOptions(to core.TestOptions) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/kubelet/server/stats/summary_test.go
f.Fuzz(&v.StartTime) f.Fuzz(v.CPU) f.Fuzz(v.Memory) return v } func getVolumeStats() *statsapi.VolumeStats { f := fuzz.New().NilChance(0) v := &statsapi.VolumeStats{} f.Fuzz(v) return v } func getNetworkStats() *statsapi.NetworkStats { f := fuzz.New().NilChance(0) v := &statsapi.NetworkStats{} f.Fuzz(v) return v } func getRlimitStats() *statsapi.RlimitStats {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 15.1K bytes - Viewed (0) -
pkg/kubelet/server/stats/summary_windows_test.go
assert.Equal(summary.Pods, podStats) } func getFsStats() *statsapi.FsStats { f := fuzz.New().NilChance(0) v := &statsapi.FsStats{} f.Fuzz(v) return v } func getContainerStats() *statsapi.ContainerStats { f := fuzz.New().NilChance(0) v := &statsapi.ContainerStats{} f.Fuzz(v) return v } func getPodStats() *statsapi.PodStats { containerStats := getContainerStats()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 4.4K bytes - Viewed (0) -
tests/fuzz/config_validation_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" apimeta "k8s.io/apimachinery/pkg/api/meta" "k8s.io/apimachinery/pkg/runtime/schema" extensions "istio.io/api/extensions/v1alpha1" networking "istio.io/api/networking/v1alpha3"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tests/fuzz/security_fuzzer.go
// See the License for the specific language governing permissions and // limitations under the License. package fuzz import ( "context" "crypto/tls" "crypto/x509" "crypto/x509/pkix" "net" fuzz "github.com/AdaLogics/go-fuzz-headers" "google.golang.org/grpc/credentials" "google.golang.org/grpc/peer" pb "istio.io/api/security/v1alpha1" "istio.io/istio/pkg/security"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/api/testing/defaulting_test.go
} f := fuzz.New().NilChance(.5).NumElements(1, 1).RandSource(rand.NewSource(1)) f.Funcs( func(s *runtime.RawExtension, c fuzz.Continue) {}, func(s *metav1.LabelSelector, c fuzz.Continue) { c.FuzzNoCustom(s) s.MatchExpressions = nil // need to fuzz this specially }, func(s *metav1.ListOptions, c fuzz.Continue) { c.FuzzNoCustom(s)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 20.3K bytes - Viewed (0) -
src/internal/fuzz/worker.go
} resp.Count = mem.header().count h := sha256.Sum256(entryOut.Data) entryOut.Path = fmt.Sprintf("%x", h[:4]) return entryOut, resp, retErr } // fuzz tells the worker to call the fuzz method. See workerServer.fuzz. func (wc *workerClient) fuzz(ctx context.Context, entryIn CorpusEntry, args fuzzArgs) (entryOut CorpusEntry, resp fuzzResponse, isInternalError bool, err error) { wc.mu.Lock() defer wc.mu.Unlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 37.7K bytes - Viewed (0) -
src/internal/zstd/fuzz_test.go
f.Add([]byte(test.compressed)) } for _, s := range badStrings { f.Add([]byte(s)) } f.Fuzz(func(t *testing.T, b []byte) { r := NewReader(bytes.NewReader(b)) io.Copy(io.Discard, r) }) } // Fuzz test to verify that what we decompress is what we compress. // This isn't a great fuzz test because the fuzzer can't efficiently // explore the space of decompressor behavior, since it can't see
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 04:10:45 UTC 2024 - 4.5K bytes - Viewed (0)