Skip to content

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

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

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

Conversation

@kripken

@kripken kripken commented Apr 9, 2026

Copy link
Copy Markdown
Member

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

@stevenfontanella stevenfontanella left a comment

Copy link
Copy Markdown
Member

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

kripken commented Apr 9, 2026

Copy link
Copy Markdown
Member Author

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

2 participants