Introduce JSC_useFuzzerMode, and use it to disable certain $vm features.#63837
Merged
Conversation
Collaborator
|
EWS run on previous version of this PR (hash 053b84e) Details |
053b84e to
75de565
Compare
Collaborator
|
EWS run on current version of this PR (hash 75de565) Details |
kmiller68
approved these changes
Apr 29, 2026
| addFunction(vm, "crash"_s, functionCrash, 0); | ||
| addFunction(vm, "breakpoint"_s, functionBreakpoint, 0); | ||
| addFunction(vm, "exit"_s, functionExit, 0); | ||
| bool alwaysAllow = true; |
75de565 to
60e7dba
Compare
https://bugs.webkit.org/show_bug.cgi?id=313576 rdar://175791475 Reviewed by Keith Miller. $vm features are for development and testing use only, and is not enabled in deployment. It does not make sense to fuzz the majority of $vm features. Covered by existing JSC tests since existing JSC tests use all the $vm features. * Source/JavaScriptCore/runtime/OptionsList.h: * Source/JavaScriptCore/tools/JSDollarVM.cpp: (JSC::JSDollarVM::finishCreation): Canonical link: https://commits.webkit.org/312299@main
60e7dba to
865e2fa
Compare
Collaborator
|
Committed 312299@main (865e2fa): https://commits.webkit.org/312299@main Reviewed commits have been landed. Closing PR #63837 and removing active labels. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🛠 mac-apple
🧪 api-wpe
865e2fa
75de565
🛠 mac🛠 win🧪 wpe-wk2🧪 win-tests🧪 api-mac🧪 ios-wk2-wpt🧪 api-mac-debug🧪 api-ios🧪 mac-wk1🛠 ios-safer-cpp🧪 mac-wk2🧪 gtk-wk2🧪 mac-wk2-stress🧪 mac-intel-wk2🛠 mac-safer-cpp