Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/buger/jsonparser
/ FuzzGetInt
Function
FuzzGetInt
fuzz.go:107–113 ·
view source on GitHub ↗
SYS-REQ-003
(data []byte)
Source
from the content-addressed store, hash-verified
105
106
// SYS-REQ-003
107
func
FuzzGetInt(data []byte) int {
108
_, err := GetInt(data,
"test"
)
109
if
err != nil {
110
return
0
111
}
112
return
1
113
}
114
115
// SYS-REQ-005
116
func
FuzzGetBoolean(data []byte) int {
Callers
2
FuzzGetIntNative
Function · 0.85
TestAdditionalFuzzHarnessCoverage
Function · 0.85
Calls
1
GetInt
Function · 0.85
Tested by
2
FuzzGetIntNative
Function · 0.68
TestAdditionalFuzzHarnessCoverage
Function · 0.68