Browse Source

test/fuzz: add current fuzzing to oss-fuzz-build script (#6576)

Updates #6557
pull/6579/head
Cuong Manh Le 4 years ago
committed by GitHub
parent
commit
e79262415c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      test/fuzz/oss-fuzz-build.sh

+ 11
- 0
test/fuzz/oss-fuzz-build.sh View File

@ -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

Loading…
Cancel
Save