MCPcopy
hub / github.com/jackc/pgx / FuzzCopyInResponse

Function FuzzCopyInResponse

pgproto3/fuzz_test.go:203–210  ·  view source on GitHub ↗
(f *testing.F)

Source from the content-addressed store, hash-verified

201}
202
203func FuzzCopyInResponse(f *testing.F) {
204 f.Add([]byte{0, 0, 1, 0, 0})
205 f.Add([]byte{})
206 f.Fuzz(func(t *testing.T, data []byte) {
207 var msg pgproto3.CopyInResponse
208 msg.Decode(data) // must not panic
209 })
210}
211
212func FuzzCopyOutResponse(f *testing.F) {
213 f.Add([]byte{0, 0, 1, 0, 0})

Callers

nothing calls this directly

Calls 1

DecodeMethod · 0.95

Tested by

no test coverage detected