alexcrichton opened PR #4845 from improve-differential-fuzzing
to main
:
I separated out a few commits below to the differential fuzzer which I was working on recently. The main changes are:
- A
start
function is now allowed. Support was added towasmi
to run thestart
function.- Fuzzing now can continue if no engines match the current test case. This is only applicable if
ALLOWED_ENGINES
is set.- Unstable proposals like memory64 should be less likely to get generated, ideally improving the rate of usage of engines like v8 and wasmi.
- A bug related to stack overflow was fixed where if one engine stack overflows it may have inconsistent state with the other so the fuzz test case needs to be discarded from then on.
alexcrichton requested abrown for a review on PR #4845.
alexcrichton updated PR #4845 from improve-differential-fuzzing
to main
.
fitzgen created PR review comment:
Instead of bailing out when an engine doesn't support a config, can we have a pre-pass where the engine is given mutable access to the config to turn off anything that it doesn't support? This just seems like better use of fuzzing time than rejecting iterations and bailing out.
fitzgen submitted PR review.
fitzgen created PR review comment:
Slightly surprised we would ever have a case where we can't run the test case in Wasmtime. What is even the point at that time?
fitzgen submitted PR review.
fitzgen submitted PR review.
jameysharp submitted PR review.
jameysharp created PR review comment:
I think the issue this is addressing is if testing Wasmtime against Wasmtime has been disabled using the
ALLOWED_ENGINES
environment variable.
alexcrichton submitted PR review.
alexcrichton created PR review comment:
Yeah I've come around to feeling this way as well, I'll work on refactoring to enable this
alexcrichton created PR review comment:
Ah yeah this is only applicable when you're doing something like
ALLOWED_ENGINES=wasmi
locally where I was trying to only differentially-execute againstwasmi
alexcrichton submitted PR review.
alexcrichton merged PR #4845.
Last updated: Dec 23 2024 at 12:05 UTC