Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzer: Generate ThrowRef, and avoid unneeded traps with it #7279

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

kripken
Copy link
Member

@kripken kripken commented Feb 6, 2025

We generate a throw_ref by generating an exnref for it to throw. To avoid that
causing lots of traps due to not having an exnref, add some logic to generate
an exnref (by making a try that throws and catches).

@kripken kripken requested a review from aheejin February 6, 2025 21:36
@kripken kripken merged commit a019ec8 into WebAssembly:main Feb 6, 2025
14 checks passed
@kripken kripken deleted the fuzz.throw_ref branch February 6, 2025 23:35
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