Skip to content

[Custom Descriptors] Enable fuzzing#7796

Merged
tlively merged 2 commits intomainfrom
fuzz-descriptors
Aug 6, 2025
Merged

[Custom Descriptors] Enable fuzzing#7796
tlively merged 2 commits intomainfrom
fuzz-descriptors

Conversation

@tlively
Copy link
Copy Markdown
Member

@tlively tlively commented Aug 6, 2025

Enable fuzz_opt.py and clusterfuzz to use initial contents containing
custom descriptors types and instructions and to generate new types that
use custom descriptors. Enable custom descriptors when running V8.

Do not yet allow the fuzzer to use initial contents containing
br_on_cast_desc instructions, since V8 still has some bugs around those.
Also do not yet generate new uses of custom descriptors instructions
that were not present in the initial contents.

Enable fuzz_opt.py and clusterfuzz to use initial contents containing
custom descriptors types and instructions and to generate new types that
use custom descriptors. Enable custom descriptors when running V8.

Do not yet allow the fuzzer to use initial contents containing
br_on_cast_desc instructions, since V8 still has some bugs around those.
Also do not yet generate new uses of custom descriptors instructions
that were not present in the initial contents.
@tlively tlively requested a review from kripken August 6, 2025 17:33
@tlively
Copy link
Copy Markdown
Member Author

tlively commented Aug 6, 2025

Although the tests passsed here, I noticed locally that the clusterfuzz python unit test could fail due to an unexpected number of execution failures. I added the custom descriptors flag to the V8 invocation in that test, so hopefully that solves the problem.

@kripken
Copy link
Copy Markdown
Member

kripken commented Aug 6, 2025

Makes sense. Maybe run it several times locally and see that the numbers look reasonable. Otherwise lgtm

@tlively tlively merged commit 927f898 into main Aug 6, 2025
16 checks passed
@tlively tlively deleted the fuzz-descriptors branch August 6, 2025 20:33
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