From 498657f128b8b624ae59b1ddd24492b9e99b2d2d Mon Sep 17 00:00:00 2001 From: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> Date: Tue, 16 Aug 2022 14:59:24 +0100 Subject: [PATCH] test/fuzz: fix OSS-Fuzz build (#9183) --- test/fuzz/oss-fuzz-build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 test/fuzz/oss-fuzz-build.sh diff --git a/test/fuzz/oss-fuzz-build.sh b/test/fuzz/oss-fuzz-build.sh new file mode 100755 index 000000000..deb3ef9f7 --- /dev/null +++ b/test/fuzz/oss-fuzz-build.sh @@ -0,0 +1,10 @@ +#!/bin/bash +# This script is invoked by OSS-Fuzz to run fuzz tests against Tendermint core. +# See https://github.com/google/oss-fuzz/blob/master/projects/tendermint/build.sh + +compile_go_fuzzer github.com/tendermint/tendermint/test/fuzz/mempool/v0 Fuzz mempool_v0_fuzzer +compile_go_fuzzer github.com/tendermint/tendermint/test/fuzz/mempool/v1 Fuzz mempool_v1_fuzzer +compile_go_fuzzer github.com/tendermint/tendermint/test/fuzz/p2p/addrbook Fuzz p2p_addrbook_fuzzer +compile_go_fuzzer github.com/tendermint/tendermint/test/fuzz/p2p/pex Fuzz p2p_pex_fuzzer +compile_go_fuzzer github.com/tendermint/tendermint/test/fuzz/p2p/secret_connection Fuzz p2p_secret_connection_fuzzer +compile_go_fuzzer github.com/tendermint/tendermint/test/fuzz/rpc/jsonrpc/server Fuzz rpc_jsonrpc_server_fuzzer