Files
elias-orijtech db168ca558 test/fuzz: fix OSS-Fuzz build (#8669)
Broken by 7bed8f92ea.

- note the purpose of test/fuzz/oss-fuzz-build.sh
2022-06-03 06:02:59 -07:00
..

fuzz

Fuzzing for various packages in Tendermint using the fuzzing infrastructure included in Go 1.18.

Inputs:

  • mempool CheckTx (using kvstore in-process ABCI app)
  • p2p SecretConnection#Read and SecretConnection#Write
  • rpc jsonrpc server

Running

The fuzz tests are in native Go fuzzing format. Use the go tool to run them:

go test -fuzz Mempool ./tests
go test -fuzz P2PSecretConnection ./tests
go test -fuzz RPCJSONRPCServer ./tests

See the Go Fuzzing introduction for more information.