-
Notifications
You must be signed in to change notification settings - Fork 678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve fuzzing coverage and improve processed data tracking #2249
Conversation
Benchmark resultsInstruction countsSignificant differencesThere are no significant instruction count differences Other differencesClick to expand
Wall-timeSignificant differencesClick to expand
Other differencesClick to expand
Additional informationCheckout details:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2249 +/- ##
==========================================
- Coverage 94.64% 94.64% -0.01%
==========================================
Files 102 102
Lines 23974 23973 -1
==========================================
- Hits 22690 22689 -1
Misses 1284 1284 ☔ View full report in Codecov by Sentry. |
(Already pushed up https://github.com/rustls/rustls-fuzzing-corpora earlier this week.) |
Ah, sweet, thanks. |
29bcab3
to
61a7eff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, 👍
Split the corpus files, so there is one for each API at each protocol version.
`HandshakeDeframer` already knows where (if any) the in-place reconstruction of handshake messages is taking place. So have this be the single place where a `BufferProgress` is originated.
This defends the fix for bug 2159.
61a7eff
to
2c893f2
Compare
This PR started as improving fuzzing, but adding working fuzzing of the unbuffered API involved redoing the fix to #2227, and that fixed #2159 at the same time.
The first commit can reach #2227 quite quickly, if cherry picked before that fix.
I will also reinstate the larger corpus repo once this is done.
fixes #2159