(f *testing.F)
| 192 | } |
| 193 | |
| 194 | func FuzzExecute(f *testing.F) { |
| 195 | f.Add([]byte{'t', 'e', 's', 't', 0, 0, 0, 0, 0}) |
| 196 | f.Add([]byte{}) |
| 197 | f.Fuzz(func(t *testing.T, data []byte) { |
| 198 | var msg pgproto3.Execute |
| 199 | msg.Decode(data) // must not panic |
| 200 | }) |
| 201 | } |
| 202 | |
| 203 | func FuzzCopyInResponse(f *testing.F) { |
| 204 | f.Add([]byte{0, 0, 1, 0, 0}) |