mirror of
https://github.com/TokTok/c-toxcore
synced 2026-09-01 22:18:22 +00:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user