Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buger/jsonparser
/ FuzzGetFloat
Function
FuzzGetFloat
fuzz.go:98–104 ·
view source on GitHub ↗
SYS-REQ-004
(data []byte)
Source
from the content-addressed store, hash-verified
96
97
// SYS-REQ-004
98
func
FuzzGetFloat(data []byte) int {
99
_, err := GetFloat(data,
"test"
)
100
if
err != nil {
101
return
0
102
}
103
return
1
104
}
105
106
// SYS-REQ-003
107
func
FuzzGetInt(data []byte) int {
Callers
2
FuzzGetFloatNative
Function · 0.85
TestAdditionalFuzzHarnessCoverage
Function · 0.85
Calls
1
GetFloat
Function · 0.85
Tested by
2
FuzzGetFloatNative
Function · 0.68
TestAdditionalFuzzHarnessCoverage
Function · 0.68