fuzzgen: Move Arbitrary structs into the fuzzers#5820
fuzzgen: Move Arbitrary structs into the fuzzers#5820afonso360 merged 4 commits intobytecodealliance:mainfrom
Arbitrary structs into the fuzzers#5820Conversation
Subscribe to Label Actioncc @fitzgen DetailsThis issue or pull request has been labeled: "cranelift", "fuzzing"Thus the following users have been cc'd because of the following labels:
To subscribe or unsubscribe from this label, edit the |
jameysharp
left a comment
There was a problem hiding this comment.
I think this turned out really well!
As a neat bonus, this also means that if we want statistics about how many times we rejected a fuzz input, like you were checking for a while, now we can reference static variables that are local to each fuzz-target from inside the implementation of Arbitrary.
After you rebase the other PRs out from under this one, go ahead and merge!
7a8f07a to
a2f64e1
Compare
a2f64e1 to
6c35268
Compare
|
Rebased this onto the latest main and fixed the issue above.
Yeah, that's a great idea! I'll put a PR up for that! |
👋 Hey,
This PR is built on top of #5765, sorry about chaining these PR's so much, but doing it on top of main would cause conflicts with the two other PR's.
This PR does some cleanup around fuzzgen that @jameysharp sugested in #5764 (comment).
Namely:
Arbitrarystructs from fuzzgen into the individual fuzzers.ALLOWED_LIBCALLSnear the interpreter implementation, which need to be updated together.