blob: 54bc4ba38098337de2ca8adfe0d8eafec241359c [file] [log] [blame] [view]
# Go fuzzing README
To build the fuzz targets, simply run `make check` in this directory
To 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.
We currently have the following fuzz targets:
* FuzzTutorial -- a fuzzer which spins up an mini server and fuzzes it with random data, following the tutorial example
* FuzzParseCompact -- fuzzes the deserialization of the Compact protocol
* FuzzParseBinary -- fuzzes the deserialization of the Binary protocol
* FuzzParseJson -- fuzzes the deserialization of the JSON protocol
* FuzzRoundtripCompact -- fuzzes the roundtrip of the Compact protocol
* FuzzRoundtripBinary -- fuzzes the roundtrip of the Binary protocol
* FuzzRoundtripJson -- fuzzes the roundtrip of the JSON protocol