MCPcopy Create free account

hub / github.com/dvyukov/go-fuzz / functions

Functions366 in github.com/dvyukov/go-fuzz

↓ 103 callersMethodtest
test passes data for testing.
go-fuzz/testee.go:258
↓ 54 callersFunctionm
(a,b)
go-fuzz/assets/jquery.min.js:2
↓ 54 callersMethodrand
(n int)
go-fuzz/mutator.go:23
↓ 50 callersMethodRand
(n int)
go-fuzz/versifier/versifier.go:487
↓ 46 callersMethodfailf
(str string, args ...interface{})
go-fuzz-build/main.go:815
↓ 20 callersMethodtestInput
(data []byte, depth int, typ execType)
go-fuzz/worker.go:590
↓ 18 callersMethodString
()
go-fuzz/exectype_string.go:11
↓ 17 callersMethodBool
Bool generates a random bool.
go-fuzz/internal/pcg/pcg.go:92
↓ 16 callersMethodadd
(a Artifact)
go-fuzz/persistent.go:96
↓ 16 callersFunctionf
(f,g,h,i,k)
go-fuzz/assets/jquery.min.js:2
↓ 16 callersFunctionua
(a,b,c)
go-fuzz/assets/jquery.min.js:2
↓ 14 callersFunctionmakeCopy
(data []byte)
go-fuzz/cover.go:15
↓ 13 callersFunctionb
(c,e)
go-fuzz/assets/jquery.min.js:2
↓ 12 callersMethodName
()
go-fuzz/bindata_assetfs.go:59
↓ 12 callersFunctionhash
(data []byte)
go-fuzz/persistent.go:31
↓ 12 callersFunctionreverse
(data []byte)
go-fuzz/worker.go:714
↓ 11 callersFunctione
(a,b)
go-fuzz/assets/jquery.min.js:5
↓ 11 callersFunctionhasFuncLiteral
(n ast.Node)
go-fuzz-build/cover.go:900
↓ 10 callersMethodVisit
(f func(Node))
go-fuzz/versifier/versifier.go:70
↓ 10 callersFunctionb
()
go-fuzz/assets/bootstrap.min.js:6
↓ 10 callersFunctionia
(a)
go-fuzz/assets/jquery.min.js:2
↓ 10 callersFunctionja
(a)
go-fuzz/assets/jquery.min.js:2
↓ 10 callersFunctionmakeDict
(s []byte)
go-fuzz/versifier/versifier.go:75
↓ 9 callersMethodLock
Lock is a no-op used by -copylocks checker from `go vet`.
go-fuzz/internal/pcg/pcg.go:104
↓ 9 callersMethodUnlock
()
go-fuzz/internal/pcg/pcg.go:105
↓ 8 callersFunctiond
(a)
go-fuzz/assets/jquery.min.js:5
↓ 8 callersFunctiong
()
go-fuzz/assets/jquery.min.js:4
↓ 8 callersFunctionsingleTerm
(dict map[string]struct{})
go-fuzz/versifier/versifier.go:95
↓ 7 callersMethodGenerate
(w io.Writer, v *Verse)
go-fuzz/versifier/versifier.go:72
↓ 7 callersFunctionJ
(a,b)
go-fuzz/assets/jquery.min.js:2
↓ 7 callersMethodPrint
(w io.Writer, ident int)
go-fuzz/versifier/versifier.go:71
↓ 7 callersMethodUint32
Uint32 returns a pseudo-random uint32.
go-fuzz/internal/pcg/pcg.go:51
↓ 7 callersFunctionoa
(a)
go-fuzz/assets/jquery.min.js:2
↓ 6 callersMethodcopyDir
(dir, newDir string)
go-fuzz-build/main.go:770
↓ 6 callersMethodcopyFile
(src, dst string)
go-fuzz-build/main.go:787
↓ 6 callersFunctiondump
(data string)
go-fuzz/versifier/versifier_test.go:11
↓ 6 callersFunctionh
(a,b,c)
go-fuzz/assets/jquery.min.js:2
↓ 6 callersFunctioni
()
go-fuzz/assets/jquery.min.js:4
↓ 6 callersMethodwriteFile
(name string, data []byte)
go-fuzz-build/main.go:842
↓ 5 callersFunctionbindataRead
(data []byte, name string)
go-fuzz/bindata_assetfs.go:26
↓ 5 callersMethodchooseLen
chooseLen chooses length of range mutation. It gives preference to shorter ranges.
go-fuzz/mutator.go:399
↓ 5 callersMethodmkdirAll
(dir string)
go-fuzz-build/main.go:848
↓ 5 callersMethodrandByteOrder
()
go-fuzz/mutator.go:32
↓ 5 callersFunctionserialize32
(buf []byte, v uint32)
go-fuzz-dep/sonar.go:169
↓ 5 callersFunctionserialize64
(buf []byte, v uint64)
go-fuzz-dep/sonar.go:178
↓ 4 callersFunctionFa
(a)
go-fuzz/assets/jquery.min.js:4
↓ 4 callersFunctionU
(a,b)
go-fuzz/assets/jquery.min.js:4
↓ 4 callersFunctioncpuBitIsSet
(hwc uint32, value uint32)
go-fuzz/cpu_amd64.go:37
↓ 4 callersFunctiondecrement
(data []byte)
go-fuzz/worker.go:734
↓ 4 callersFunctionga
(a,b,d,e)
go-fuzz/assets/jquery.min.js:2
↓ 4 callersFunctiongb
(a,b)
go-fuzz/assets/jquery.min.js:5
↓ 4 callersFunctionincrement
(data []byte)
go-fuzz/worker.go:722
↓ 4 callersMethodindex
(w http.ResponseWriter, r *http.Request)
go-fuzz/coordinator.go:130
↓ 4 callersFunctionisConstExpr
(info *types.Info, n ast.Expr)
go-fuzz-build/cover.go:363
↓ 4 callersFunctionmin
(a, b int)
go-fuzz/mutator.go:410
↓ 4 callersMethodnoteCrasher
(data, output []byte, hanged bool)
go-fuzz/worker.go:625
↓ 4 callersFunctionra
(a)
go-fuzz/assets/jquery.min.js:2
↓ 4 callersMethodrandbig
randbig generates a number in [0, 2³⁰).
go-fuzz/mutator.go:28
↓ 4 callersFunctionva
(a,b,c,d,e)
go-fuzz/assets/jquery.min.js:2
↓ 3 callersFunctionAsset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
go-fuzz/bindata_assetfs.go:181
↓ 3 callersMethodIntn
Intn returns a pseudo-random number in [0, n). n must fit in a uint32.
go-fuzz/internal/pcg/pcg.go:59
↓ 3 callersFunctionNb
(a,b)
go-fuzz/assets/jquery.min.js:5
↓ 3 callersFunctionP
(a)
go-fuzz/assets/jquery.min.js:2
↓ 3 callersFunction_filePath
(dir, name string)
go-fuzz/bindata_assetfs.go:368
↓ 3 callersMethodaddCounters
(pos, blockEnd token.Pos, list []ast.Stmt, extendToClosingBrace bool)
go-fuzz-build/cover.go:695
↓ 3 callersFunctionbasePackagesConfig
basePackagesConfig returns a base golang.org/x/tools/go/packages.Config that clients can then modify and use for calls to go/packages.
go-fuzz-build/main.go:62
↓ 3 callersMethodbuildInstrumentedBinary
(blocks *[]CoverBlock, sonar *[]CoverBlock)
go-fuzz-build/main.go:515
↓ 3 callersFunctionc
(a)
go-fuzz/assets/jquery.min.js:4
↓ 3 callersMethodclose
()
go-fuzz/testee.go:94
↓ 3 callersFunctioncompareCover
(base, cur []byte)
go-fuzz/cover.go:19
↓ 3 callersFunctioncompareCoverBody
(base, cur []byte)
go-fuzz/compare.go:8
↓ 3 callersMethodconnect
()
go-fuzz/hub.go:126
↓ 3 callersFunctionfmtDict
(dict map[string]struct{})
go-fuzz/versifier/versifier.go:79
↓ 3 callersFunctionha
()
go-fuzz/assets/jquery.min.js:2
↓ 3 callersFunctionisHexString
(s string)
go-fuzz/persistent.go:86
↓ 3 callersFunctionka
(a,b)
go-fuzz/assets/jquery.min.js:2
↓ 3 callersFunctionmakeTags
()
go-fuzz-build/main.go:46
↓ 3 callersFunctionnewPersistentSet
(dir string)
go-fuzz/persistent.go:35
↓ 3 callersFunctionpa
(a)
go-fuzz/assets/jquery.min.js:2
↓ 3 callersMethodprocessSonarData
(data, sonar []byte, depth int, smash bool)
go-fuzz/sonar.go:84
↓ 3 callersFunctionr
(a)
go-fuzz/assets/jquery.min.js:2
↓ 3 callersFunctionrandTerm
(v *Verse, dict map[string]struct{})
go-fuzz/versifier/versifier.go:87
↓ 3 callersFunctionreadEnvParam
(name string)
go-fuzz-dep/sys_windows.go:41
↓ 3 callersMethodreadFile
(name string)
go-fuzz-build/main.go:834
↓ 3 callersFunctionroundUpCover
Quantize the counters. Otherwise we get too inflated corpus.
go-fuzz/cover.go:63
↓ 3 callersFunctionsa
(a,b,c)
go-fuzz/assets/jquery.min.js:2
↓ 3 callersMethodshutdown
()
go-fuzz/testee.go:310
↓ 3 callersMethodstep
()
go-fuzz/internal/pcg/pcg.go:45
↓ 3 callersFunctionta
(a)
go-fuzz/assets/jquery.min.js:2
↓ 3 callersMethodtempFile
tempFile creates and deletes a temp file, and returns its path. This is helpful when you need a temp path for an output file that will be created by a
go-fuzz-build/main.go:824
↓ 3 callersMethodtestInputSonar
(data []byte, depth int)
go-fuzz/worker.go:594
↓ 3 callersFunctionw
(a,b,c)
go-fuzz/assets/jquery.min.js:2
↓ 3 callersFunctionwa
(a,b,c,d,e,f)
go-fuzz/assets/jquery.min.js:2
↓ 3 callersMethodwrite
(buf []byte)
go-fuzz-dep/sys_posix.go:30
↓ 3 callersFunctionx
(a,b,c,d)
go-fuzz/assets/jquery.min.js:5
↓ 3 callersFunctionza
(a,b)
go-fuzz/assets/jquery.min.js:4
↓ 2 callersFunctionAa
(a,b)
go-fuzz/assets/jquery.min.js:4
↓ 2 callersFunctionD
(a,b)
go-fuzz/assets/jquery.min.js:2
↓ 2 callersFunctionEa
(b,c)
go-fuzz/assets/jquery.min.js:4
↓ 2 callersFunctionI
()
go-fuzz/assets/jquery.min.js:2
next →1–100 of 366, ranked by callers