Skip to content

Fuzz waitqueue instructions - #9012

Draft
stevenfontanella wants to merge 2 commits into
mainfrom
fuzz-waitqueue
Draft

stevenfontanella wants to merge 2 commits into
mainfrom
fuzz-waitqueue

Conversation

@stevenfontanella

@stevenfontanella stevenfontanella commented Aug 17, 2026

Copy link
Copy Markdown
Member

Part of #8315. Generate waitqueue.new, waitqueue.notify, and struct.wait in the fuzzer.

When !ATOMIC_WAITS, the timeout argument on all struct.waits is forced to be equal to 0 so that programs can't block. In this case it will return either 1 (not equal) or 2 (equal and timed out waiting), but never 0 (blocked and got notified).

Ran for 26k iterations with no issues. For fuzzing against V8: shared-everything is already disabled when fuzzing against V8: link. Waitqueues are mostly implemented in V8 but currently only support i32 control words and not i64 or subtypes of eqref: https://chromium-review.googlesource.com/c/v8/v8/+/8449412/2.

@stevenfontanella
stevenfontanella changed the base branch from main to waitqueue-eq August 17, 2026 23:07
Base automatically changed from waitqueue-eq to main August 21, 2026 19:22
@stevenfontanella
stevenfontanella force-pushed the fuzz-waitqueue branch 2 times, most recently from 40e088c to d51648f Compare August 26, 2026 22:33
@stevenfontanella
stevenfontanella force-pushed the fuzz-waitqueue branch 6 times, most recently from 96f5fe4 to 218c831 Compare September 22, 2026 23:29
@stevenfontanella
stevenfontanella changed the base branch from main to supertype-fix September 22, 2026 23:30
@stevenfontanella
stevenfontanella force-pushed the fuzz-waitqueue branch 3 times, most recently from f1c1052 to 25b4a0d Compare September 23, 2026 21:02
Base automatically changed from supertype-fix to main September 23, 2026 21:23
@stevenfontanella stevenfontanella changed the title (WIP, Gemini) Fuzz waitqueue Fuzz waitqueue instructions Sep 23, 2026

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant