Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buger/jsonparser
/ FuzzParseFloat
Function
FuzzParseFloat
fuzz.go:56–62 ·
view source on GitHub ↗
SYS-REQ-013
(data []byte)
Source
from the content-addressed store, hash-verified
54
55
// SYS-REQ-013
56
func
FuzzParseFloat(data []byte) int {
57
_, err := ParseFloat(data)
58
if
err != nil {
59
return
0
60
}
61
return
1
62
}
63
64
// SYS-REQ-015
65
func
FuzzParseInt(data []byte) int {
Callers
2
FuzzParseFloatNative
Function · 0.85
TestFuzzParseFloatHarnessCoverage
Function · 0.85
Calls
1
ParseFloat
Function · 0.85
Tested by
2
FuzzParseFloatNative
Function · 0.68
TestFuzzParseFloatHarnessCoverage
Function · 0.68