rustls/fuzz
Daniel McCarney 7a3542f9a2 server: add Debug bound to ResolvesServerCert
This commit adds a `Debug` bound to the `ResolvesServerCert` trait in
addition to `Send` and `Sync`. Types implementing this trait are updated
to either derive `Debug` or implement it by hand as appropriate.
2023-11-09 18:26:12 +00:00
..
corpus Invalid SessionID in ServerHelloPayload. 2021-04-15 10:12:54 +02:00
fuzzers server: add Debug bound to ResolvesServerCert 2023-11-09 18:26:12 +00:00
.gitignore Add cargo-fuzz support 2017-05-09 00:12:42 +01:00
Cargo.lock Cargo: 0.22.0-alpha.3 -> 0.22.0-alpha.4 2023-10-30 15:31:19 +00:00
Cargo.toml fuzz: remove unused webpki dependency 2023-10-06 10:25:05 +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