rustls/fuzz
Daniel McCarney b2cd88697f Cargo: version 0.22 -> 0.23-alpha.0
We're starting to land semver incompatible changes into `main`. This
commit bumps the crate version so that the semver detection job won't
cause spurious failures.
2023-12-06 18:40:20 +00:00
..
corpus Invalid SessionID in ServerHelloPayload. 2021-04-15 10:12:54 +02:00
fuzzers Batch discard operations 2023-12-06 18:15:37 +00:00
.gitignore Add cargo-fuzz support 2017-05-09 00:12:42 +01:00
Cargo.lock Cargo: version 0.22 -> 0.23-alpha.0 2023-12-06 18:40:20 +00:00
Cargo.toml Update dependencies 2023-12-01 19:10:46 +00:00
README.md docs: add small README for fuzz testing suite. 2023-03-03 19:08:13 +01:00

README.md

Fuzz Testing

Rustls supports fuzz testing using cargo-fuzz. Fuzz tests are automatically run during continuous integration using oss-fuzz. You may also run fuzz tests locally. See the cargo-fuzz setup instructions for requirements.

# List available fuzzing targets.
$ cargo fuzz list
client
deframer
fragment
message
persist
servert

# Run the message fuzz target for a fixed period of time (expressed in seconds).
$ cargo fuzz run message -- -max_total_time=120

# Clean up generated corpus files
git clean --interactive -- ./corpus