Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buger/jsonparser
/ FuzzGetString
Function
FuzzGetString
fuzz.go:89–95 ·
view source on GitHub ↗
SYS-REQ-002
(data []byte)
Source
from the content-addressed store, hash-verified
87
88
// SYS-REQ-002
89
func
FuzzGetString(data []byte) int {
90
_, err := GetString(data,
"test"
)
91
if
err != nil {
92
return
0
93
}
94
return
1
95
}
96
97
// SYS-REQ-004
98
func
FuzzGetFloat(data []byte) int {
Callers
2
FuzzGetStringNative
Function · 0.85
TestAdditionalFuzzHarnessCoverage
Function · 0.85
Calls
1
GetString
Function · 0.85
Tested by
2
FuzzGetStringNative
Function · 0.68
TestAdditionalFuzzHarnessCoverage
Function · 0.68