diff --git a/test/fuzz/oss-fuzz-build.sh b/test/fuzz/oss-fuzz-build.sh index c6d1fabdf..202e322be 100755 --- a/test/fuzz/oss-fuzz-build.sh +++ b/test/fuzz/oss-fuzz-build.sh @@ -1,3 +1,14 @@ #!/bin/bash -eu export FUZZ_ROOT="github.com/tendermint/tendermint" + +(cd "$FUZZ_ROOT"/test/fuzz/p2p/addrbook; go run ./init-corpus/main.go) +compile_go_fuzz "$FUZZ_ROOT"/test/fuzz/p2p/addrbook Fuzz fuzz_p2p_addrbook fuzz +(cd "$FUZZ_ROOT"/test/fuzz/p2p/pex; go run ./init-corpus/main.go) +compile_go_fuzz "$FUZZ_ROOT"/test/fuzz/pex Fuzz fuzz_p2p_pex fuzz +(cd "$FUZZ_ROOT"/test/fuzz/p2p/secret_connection; go run ./init-corpus/main.go) +compile_go_fuzz "$FUZZ_ROOT"/test/fuzz/secret_connection Fuzz fuzz_p2p_secret_connection fuzz + +compile_go_fuzz "$FUZZ_ROOT"/test/fuzz/mempool Fuzz fuzz_mempool fuzz + +compile_go_fuzz "$FUZZ_ROOT"/test/fuzz/rpc/jsonrpc/server Fuzz fuzz_rpc_jsonrpc_server fuzz