blob: 54bc4ba38098337de2ca8adfe0d8eafec241359c [file] [log] [blame] [view]
Hasnain Lakhani9b136682025-08-25 11:54:23 -07001# Go fuzzing README
2
3To build the fuzz targets, simply run `make check` in this directory
4
5To reproduce a bug, update the code in the fuzz_test.go file, pass the right input buffer in there and update the code to call the relevant function.
6
7We currently have the following fuzz targets:
8
9* FuzzTutorial -- a fuzzer which spins up an mini server and fuzzes it with random data, following the tutorial example
10* FuzzParseCompact -- fuzzes the deserialization of the Compact protocol
11* FuzzParseBinary -- fuzzes the deserialization of the Binary protocol
12* FuzzParseJson -- fuzzes the deserialization of the JSON protocol
13* FuzzRoundtripCompact -- fuzzes the roundtrip of the Compact protocol
14* FuzzRoundtripBinary -- fuzzes the roundtrip of the Binary protocol
15* FuzzRoundtripJson -- fuzzes the roundtrip of the JSON protocol