MCPcopy Create free account

hub / github.com/cncf/cncf-fuzzing / functions

Functions1,623 in github.com/cncf/cncf-fuzzing

↓ 534 callersMethodGenerateStruct
--------------------------------------------------------------------------- Struct / Slice / Map generation ------------------------------------------
projects/vitess/fzconsumer/consumer.go:405
↓ 310 callersMethodErrorf
(format string, args ...interface{})
projects/cri-o/fuzz_server.go:924
↓ 254 callersMethodGetString
GetString consumes a 2-byte length prefix then that many bytes as a string. On error it returns "" (go-fuzz-headers returns the literal "nil" which is
projects/vitess/fzconsumer/consumer.go:291
↓ 204 callersFunctionassertAccessSimple
Helper for backward compatibility with custom assertion functions (no debug ctx)
projects/openfga/authorization_models_extensive_test.go:380
↓ 170 callersMethodGetInt
GetInt consumes 4 bytes and returns a non-negative int. This is a major improvement over go-fuzz-headers which reads only 1 byte (0-255). Four bytes g
projects/vitess/fzconsumer/consumer.go:137
↓ 164 callersMethodClose
()
projects/vitess/mysql_fuzzer.go:149
↓ 164 callersMethodconsumeString
consumeString reads a length-prefixed string. The first byte is the length (capped at maxLen and remaining data), followed by that many bytes.
projects/oxia/consumer.go:56
↓ 121 callersFunctionencStr
Seed encoding helpers for constructing f.Add() seed data.
projects/oxia/consumer.go:139
↓ 113 callersMethodFatalf
(format string, args ...interface{})
projects/cri-o/fuzz_server.go:929
↓ 112 callersMethodString
()
projects/vitess/mysql_fuzzer.go:183
↓ 107 callersMethodSkip
(args ...interface{})
projects/cri-o/fuzz_server.go:937
↓ 91 callersMethodGetBytes
GetBytes consumes a 2-byte length prefix then that many bytes. The length is capped at the remaining data. Unlike go-fuzz-headers which uses a 4-byte
projects/vitess/fzconsumer/consumer.go:269
↓ 59 callersMethodCreate
(ctx context.Context, options ...distribution.BlobCreateOption)
projects/distribution/ocischema_fuzzer.go:58
↓ 53 callersFunctionbuildSeed
(parts ...[]byte)
projects/oxia/consumer.go:165
↓ 46 callersMethodError
(args ...interface{})
projects/cri-o/fuzz_server.go:923
↓ 45 callersMethodWrite
(data []byte)
projects/notary/fuzz_handlers.go:60
↓ 41 callersMethodGet
(ctx context.Context, dgst digest.Digest)
projects/distribution/ocischema_fuzzer.go:40
↓ 38 callersMethodLogf
(format string, args ...interface{})
projects/kubeedge/lane_fuzzer.go:86
↓ 37 callersFunctionprepAndDoRoundtrip
(sgv schema.GroupVersion, o runtime.Object, data []byte)
projects/kubernetes/roundtrip_fuzzer.go:441
↓ 31 callersMethodErrorf
(format string, args ...interface{})
projects/etcd/raft_fuzzer.go:175
↓ 31 callersMethodFuzzMap
FuzzMap is an alias for GenerateStruct that communicates intent.
projects/vitess/fzconsumer/consumer.go:416
↓ 30 callersMethodValidate
(gvk schema.GroupVersionKind, obj map[string]interface{})
projects/kubevirt/validator_fuzz.go:23
↓ 27 callersFunctionprintCall
(rpcCall string)
projects/cri-o/fuzz_server.go:658
↓ 26 callersMethodErrorf
(format string, args ...interface{})
projects/kubeedge/lane_fuzzer.go:76
↓ 25 callersMethodGetBool
GetBool consumes 1 byte and returns true if the low bit is set.
projects/vitess/fzconsumer/consumer.go:125
↓ 24 callersMethodrandomizeContext
( AuthenticationFlowContext context, List<ProviderConfigProperty> properties, Authentication
projects/keycloak/BaseHelper.java:209
↓ 22 callersMethodName
()
projects/cri-o/fuzz_server.go:935
↓ 22 callersFunctionformatAuthModelForDebug
Helper: Format authorization model for debug output
projects/openfga/authorization_models_advanced_fuzz_test.go:1826
↓ 21 callersMethodgetTablet
()
projects/vitess/vttablet_fuzzer.go:230
↓ 21 callersFunctionnewEnhancedFuzzServer
newEnhancedFuzzServer creates an OpenFGA server with all features enabled for comprehensive fuzzing This configuration unlocks blocked code paths incl
projects/openfga/fuzzer_helpers.go:48
↓ 20 callersMethodSkip
(args ...interface{})
projects/kubeedge/lane_fuzzer.go:89
↓ 20 callersMethodStat
(ctx context.Context, dgst digest.Digest)
projects/distribution/ocischema_fuzzer.go:33
↓ 19 callersMethodCreateSlice
CreateSlice is an alias for GenerateStruct that communicates intent.
projects/vitess/fzconsumer/consumer.go:411
↓ 18 callersMethodPut
(ctx context.Context, mediaType string, p []byte)
projects/distribution/ocischema_fuzzer.go:48
↓ 16 callersMethodInit
(_ context.Context, metadata contribPubsub.Metadata)
projects/dapr/fuzz_http_endpoints_test.go:133
↓ 15 callersMethodgetName
()
projects/keycloak/BaseHelper.java:343
↓ 14 callersMethodGetByte
--------------------------------------------------------------------------- Primitive getters --------------------------------------------------------
projects/vitess/fzconsumer/consumer.go:115
↓ 14 callersMethodGetStringFrom
GetStringFrom returns a string of the given length using only characters from possibleChars.
projects/vitess/fzconsumer/consumer.go:315
↓ 14 callersMethodgetId
()
projects/keycloak/BaseHelper.java:338
↓ 13 callersMethodFatal
(args ...interface{})
projects/cri-o/fuzz_server.go:928
↓ 13 callersMethodconsumeBytes
consumeBytes reads a length-prefixed byte slice.
projects/oxia/consumer.go:74
↓ 13 callersFunctiongenerateValidK8sName
generateValidK8sName generates a DNS-1123 subdomain compliant name DNS-1123 subdomain must consist of lowercase alphanumeric characters, '-' or '.', a
projects/kubevirt/fuzz_helpers.go:47
↓ 13 callersMethodinit
(FuzzedDataProvider data)
projects/keycloak/BaseHelper.java:446
↓ 12 callersMethodClose
()
projects/dapr/fuzz_http_endpoints_test.go:125
↓ 12 callersMethodError
(args ...interface{})
projects/etcd/raft_fuzzer.go:171
↓ 12 callersFunctionnewConsumer
(data []byte)
projects/oxia/consumer.go:27
↓ 11 callersMethodFatalf
(format string, args ...interface{})
projects/kubeedge/lane_fuzzer.go:81
↓ 11 callersFunctionencBool
(v bool)
projects/oxia/consumer.go:143
↓ 10 callersMethodRead
(b []byte)
projects/vitess/mysql_fuzzer.go:134
↓ 10 callersMethodgetProvider
(Class<? extends Provider> clazz)
projects/keycloak/BaseHelper.java:660
↓ 10 callersFunctionpickType
(withSyntaxError bool, target interface{}, arr interface{}, c gofuzzheaders.Continue)
projects/kubevirt/apply_fuzz_test.go:1027
↓ 9 callersMethodLogf
(format string, args ...interface{})
projects/cri-o/fuzz_server.go:934
↓ 9 callersMethodcreateRealmModel
(FuzzedDataProvider data)
projects/keycloak/BaseHelper.java:132
↓ 9 callersFunctiongenerateValidK8sLabel
generateValidK8sLabel generates a valid Kubernetes label value (DNS-1123 label) Must be alphanumeric, '-', '_' or '.', max 63 chars, start/end with al
projects/kubevirt/apply_fuzz_test.go:784
↓ 9 callersMethodgetSession
()
projects/keycloak/BaseHelper.java:511
↓ 9 callersFunctiontransformDSLWithTimeout
transformDSLWithTimeout wraps TransformDSLToProto with a timeout to prevent infinite loops in the ANTLR parser when processing pathological inputs Not
projects/openfga/fuzzer_helpers.go:83
↓ 8 callersMethodTempDir
()
projects/cri-o/fuzz_server.go:941
↓ 8 callersFunctionbytesToUnstructuredFuzz
(jsonBytes []byte)
projects/argo/gitops-eng_diff_fuzzer.go:27
↓ 8 callersFunctioninOrder
like gomock.inOrder, but can be nested
projects/cri-o/util/mock_helpers_test.go:25
↓ 8 callersFunctionnewResponseFuzz
(code int, obj runtime.Object)
projects/helm/kube_fuzzer.go:68
↓ 7 callersMethodFormatDebugInfo
FormatDebugInfo generates a comprehensive debug report
projects/openfga/authorization_models_extensive_test.go:65
↓ 7 callersMethodGetSQLString
GetSQLString generates a semi-structured SQL string suitable for parser fuzzing. It alternates between fully structured statements (SELECT, INSERT, ..
projects/vitess/fzconsumer/sql.go:540
↓ 7 callersMethodTempDir
()
projects/kubeedge/lane_fuzzer.go:93
↓ 7 callersMethodget
(String key)
projects/keycloak/BaseHelper.java:258
↓ 7 callersFunctiongetAvailablePath
(fdp *fuzz.ConsumeFuzzer)
projects/distribution/s3_aws_fuzzer.go:270
↓ 7 callersMethodgetString
()
projects/vitess/vttablet_fuzzer.go:239
↓ 7 callersMethodremaining
()
projects/oxia/consumer.go:31
↓ 6 callersMethodAllowUnexportedFields
--------------------------------------------------------------------------- Configuration ------------------------------------------------------------
projects/vitess/fzconsumer/consumer.go:87
↓ 6 callersMethodSplit
--------------------------------------------------------------------------- Split --------------------------------------------------------------------
projects/vitess/fzconsumer/consumer.go:375
↓ 6 callersMethodcreateKeycloakSession
(FuzzedDataProvider data)
projects/keycloak/BaseHelper.java:118
↓ 6 callersFunctionformatInt64
formatInt64 converts int64 to string without imports
projects/openfga/authorization_models_advanced_fuzz_test.go:1770
↓ 6 callersFunctiongenerateValidK8sLabel
generateValidK8sLabel generates a valid Kubernetes label value Labels can be empty or consist of alphanumeric, '-', '_', '.' and must start and end wi
projects/kubevirt/fuzz_helpers.go:105
↓ 6 callersFunctiongetFuzzContext
(h handlerStateFuzz)
projects/notary/fuzz_handlers.go:39
↓ 5 callersMethodOpen
(ctx context.Context, dgst digest.Digest)
projects/distribution/ocischema_fuzzer.go:44
↓ 5 callersMethodWrite
(data []byte)
projects/dapr/fuzz_injector_test.go:52
↓ 5 callersMethodcleanMockObject
()
projects/keycloak/BaseHelper.java:228
↓ 5 callersFunctionencInt32
(v int32)
projects/oxia/consumer.go:154
↓ 5 callersMethodgetInt
()
projects/vitess/vttablet_fuzzer.go:248
↓ 5 callersFunctionroundTripSpecificKind
(t *testing.T, gvk schema.GroupVersionKind, scheme *runtime.Scheme, codecFactory runtimeserializer.CodecFactor
projects/kubernetes/roundtrip.go:206
↓ 4 callersMethodCleanup
(func())
projects/kubeedge/lane_fuzzer.go:73
↓ 4 callersMethodGetUint16
GetUint16 consumes 2 bytes (little-endian). Unlike go-fuzz-headers this does NOT waste an extra byte on an endianness coin flip.
projects/vitess/fzconsumer/consumer.go:191
↓ 4 callersMethodGetUint32
GetUint32 consumes 4 bytes (little-endian).
projects/vitess/fzconsumer/consumer.go:201
↓ 4 callersMethodGetUint64
GetUint64 consumes 8 bytes (little-endian). Unlike go-fuzz-headers this does NOT waste an extra byte on an endianness coin flip.
projects/vitess/fzconsumer/consumer.go:213
↓ 4 callersMethodName
()
projects/kubeedge/lane_fuzzer.go:87
↓ 4 callersMethodVerify
(ctx context.Context, desc ocispec.Descriptor, signature []byte, opts notation.VerifierVerifyOptions)
projects/notary/fuzz_verification.go:342
↓ 4 callersFunctionassertAccessWithContextualTuplesSimple
Helper for backward compatibility with custom assertion functions (no debug ctx)
projects/openfga/authorization_models_extensive_test.go:429
↓ 4 callersFunctioncheckRequest
Helper to make Check requests with debug tracking
projects/openfga/authorization_models_extensive_test.go:316
↓ 4 callersMethodconsumeByte
()
projects/oxia/consumer.go:35
↓ 4 callersMethodcreateAuthenticationFlowContext
(FuzzedDataProvider data)
projects/keycloak/BaseHelper.java:201
↓ 4 callersFunctioncreateFiles
(files []string, cf *gofuzzheaders.ConsumeFuzzer)
projects/runc/fs2_fuzzer.go:35
↓ 4 callersFunctioncreateRev
(f *fuzz.ConsumeFuzzer)
projects/etcd/mvcc_fuzzer.go:242
↓ 4 callersFunctionencInt64
(v int64)
projects/oxia/consumer.go:158
↓ 4 callersFunctionencUint16
(v uint16)
projects/oxia/consumer.go:150
↓ 4 callersFunctiongenerateValidK8sName
generateValidK8sName generates a valid Kubernetes resource name (DNS-1123 subdomain) Must be lowercase alphanumeric, '-' or '.', max 253 chars, start/
projects/kubevirt/apply_fuzz_test.go:754
↓ 4 callersMethodgetRealm
()
projects/keycloak/BaseHelper.java:997
↓ 4 callersMethodgetTabletAlias
()
projects/vitess/vttablet_fuzzer.go:266
↓ 4 callersFunctionnewRandomBlobForFuzz
(f *fuzz.ConsumeFuzzer)
projects/distribution/client_fuzzer.go:104
↓ 4 callersFunctionroundTrip
roundTrip applies a single round-trip test to the given runtime object using the given codec. The round-trip test ensures that an object can be deep-
projects/kubernetes/roundtrip.go:328
↓ 4 callersFunctionsign
(n int)
projects/oxia/fuzz_compare_test.go:296
↓ 3 callersMethodStop
()
projects/dapr/fuzz_http_endpoints_test.go:219
next →1–100 of 1,623, ranked by callers