Skip to content

[NFC] Fuzzer: Add a run_js() method#8588

Merged
kripken merged 2 commits intoWebAssembly:mainfrom
kripken:nfc.fuzz.vmsfacor
Apr 9, 2026
Merged

[NFC] Fuzzer: Add a run_js() method#8588
kripken merged 2 commits intoWebAssembly:mainfrom
kripken:nfc.fuzz.vmsfacor

Conversation

@kripken
Copy link
Copy Markdown
Member

@kripken kripken commented Apr 9, 2026

This refactors the code a bit to allow the VM classes in the fuzzer to
run JS. The function also allows running it in a checked (Python exception
on a non-0 return code) or unchecked way.

A future fuzzer will use this run_js method.

@kripken kripken requested a review from a team as a code owner April 9, 2026 18:23
@kripken kripken requested review from stevenfontanella and removed request for a team April 9, 2026 18:23
Copy link
Copy Markdown
Member

@stevenfontanella stevenfontanella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this isn't covered by CI. Did we run this locally to test?

@kripken
Copy link
Copy Markdown
Member Author

kripken commented Apr 9, 2026

Yes, I tested this on my local fuzzer instance.

@kripken kripken merged commit eb6c79d into WebAssembly:main Apr 9, 2026
16 checks passed
@kripken kripken deleted the nfc.fuzz.vmsfacor branch April 9, 2026 19:05
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.

2 participants