-
Notifications
You must be signed in to change notification settings - Fork 34
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
add support for fuzzing #180
base: main
Are you sure you want to change the base?
Conversation
12bf122
to
1c2b0a3
Compare
Still more work to do before we can productively use it. For example we always generate empty structs with no fields right now. But the setup seems correct.
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've gotten slowly more unsure about that while going through this PR. If you have a homogeneous collection, their cardinality is cardinality_per_item^num_items
, is it not 🤔
a bunch of nits, but the structure looks quite good, I like it. Especially the hackmd doc was very nice to read 😊
/// Lookup the value associated with the given value of type `K`. | ||
/// If no map has been set for this (K,V) type, or if the key is not | ||
/// found in the map that was set, returns `None`. |
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.
misplaced comment
/// Returns `None` if the recursion depth is exceeded. | ||
/// Otherwise, returns a `Some(g)` with a guard that should be dropped when you have finished. |
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.
outdated comment
Co-authored-by: lcnr <[email protected]>
Co-authored-by: lcnr <[email protected]>
Co-authored-by: lcnr <[email protected]>
Co-authored-by: lcnr <[email protected]>
Co-authored-by: lcnr <[email protected]>
Co-authored-by: lcnr <[email protected]>
Co-authored-by: lcnr <[email protected]>
Co-authored-by: lcnr <[email protected]>
Co-authored-by: lcnr <[email protected]>
Co-authored-by: lcnr <[email protected]>
Co-authored-by: lcnr <[email protected]>
This is pretty crude. We generate garbage and we don't even run tests because it's not really good enough to be useful. But I figured the basic setup makes sense and we can adapt as we go. I'm interested in shifting gears to focus on stable-mir at the moment.