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

Fuzzing: Handle instantiation errors in ClusterFuzz #7166

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kripken
Copy link
Member

@kripken kripken commented Dec 19, 2024

If the module has an invalid segment offset, for example, it will error. We
should not error in the fuzzer on such rare cases.

Also add logging of the actual error, which matches what we do for
errors elsewhere, and makes debugging easier:

console.log('exception thrown: ' + e);

As a result another place needs to look for the prefix now, and not the
entire string (since we append the error contents).

@kripken kripken requested a review from tlively December 19, 2024 22:49
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