Files
tendermint/test/fuzz
AdamKorcz 9d01a6880e Update oss-fuzz-build.sh (#9745)
Fixes the tendermint OSS-Fuzz build by adjusting for some infra changes that were made in OSS-Fuzz.



---

#### PR checklist

- [ ] Tests written/updated, or no tests needed
- [ ] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [ ] Updated relevant documentation (`docs/`) and code comments, or no
      documentation updates needed
2022-11-25 16:43:34 +00:00
..
2022-11-03 13:19:44 -04: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.