Skip to content
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

autofuzzed errors for "Less(i,j int) bool" tend to be spurious #10

Open
dr2chase opened this issue Dec 22, 2021 · 0 comments
Open

autofuzzed errors for "Less(i,j int) bool" tend to be spurious #10

dr2chase opened this issue Dec 22, 2021 · 0 comments

Comments

@dr2chase
Copy link

Not sure if this counts as a bug (I am torturing fzgen in ways you might not have imagined -- I automated it against the benchmarks in the "bent" collection), but if a type has a Less(i,j int) bool method (for sorting, e.g.) it's pretty easy for random values of i and j to trigger a range panic. For example: https://github.com/Masterminds/semver/blob/master/collection.go#L16.

The bent-fuzz experiment is also a work-in-process; in particular, it lacks documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant