test: Enable fuzzing for TCP.

If the `recvbuf` network function returns 0 all the time, that means
there is never any data available on the TCP socket. This change makes
it so there is a random amount of data available on the TCP socket.

This invalidates the bootstrap fuzzer corpus.
This commit is contained in:
iphydf
2022-04-14 13:19:56 +00:00
parent efea12ed6f
commit 19b9cf3812
8 changed files with 79 additions and 29 deletions
+2 -3
View File
@@ -21,9 +21,8 @@ export CC=clang
export CXX=clang++
sudo install other/docker/coverage/run_mallocfail /usr/local/bin/run_mallocfail
go get github.com/things-go/go-socks5
go build other/proxy/proxy_server.go
./proxy_server &
(cd other/proxy && go build)
other/proxy/proxy &
. ".github/scripts/flags-coverage.sh"