-
Notifications
You must be signed in to change notification settings - Fork 51
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
Fuzz #427
Fuzz #427
Conversation
Uses github.com/dvyukov/go-fuzz; see fuzz.go for instructions Signed-off-by: Mark Pictor <[email protected]>
caught with go-fuzz Signed-off-by: Mark Pictor <[email protected]>
Signed-off-by: Mark Pictor <[email protected]>
Signed-off-by: Mark Pictor <[email protected]>
Signed-off-by: Mark Pictor <[email protected]>
Signed-off-by: Mark Pictor <[email protected]>
compress corpus with xz rather than zip because archive is ~1/10th the size Signed-off-by: Mark Pictor <[email protected]>
Signed-off-by: Mark Pictor <[email protected]>
Signed-off-by: Ronald G. Minnich <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #427 +/- ##
==========================================
+ Coverage 41.63% 43.87% +2.23%
==========================================
Files 142 142
Lines 10728 10748 +20
==========================================
+ Hits 4467 4716 +249
+ Misses 5393 5159 -234
- Partials 868 873 +5 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Ronald G. Minnich <[email protected]>
I think it's time to drop the golangci-lint test, it's just not a good thing to have in CI in my view. |
I'll probably squash these as well, given the random bits we don't want, like Gopkg.lock |
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.
I'm not sure about status of dvyukov/go-fuzz right now, it's half deprecated/alive.
I'm going to push this in. From my looking at the fixes, they are legitimate, regardless of the state of the go-fuzz project. I've asked Dmitry for the status of go-fuzz. |
Thanks for taking care of this, I'd completely forgotten about that draft PR! FWIW it shouldn't be too much trouble to rework the fuzz tests to use go's built-in fuzzing, though translating the corpus would probably be more work than it's worth - if you go that route, I'd drop the testdata tarball. |
This is mpictor's old fuzz stuff all cleaned up.
We can squash these commits, but perhaps, because fuzzing is a bit new, we should leave them as is. I don't know.
Maybe there's no instructive value to keeping the mess separate. 2020 was a long time ago.