[webkit-changes] [WebKit/WebKit] 16709e: Fix exception Fuzz in Baseline/DFG with exception ...
Keith Miller
noreply at github.com
Sat May 18 09:58:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 16709ef06aca82c4f2ab72e63cce4d2981e2cf59
https://github.com/WebKit/WebKit/commit/16709ef06aca82c4f2ab72e63cce4d2981e2cf59
Author: Keith Miller <keith_miller at apple.com>
Date: 2024-05-18 (Sat, 18 May 2024)
Changed paths:
M Source/JavaScriptCore/jit/AssemblyHelpers.cpp
M Source/JavaScriptCore/jit/AssemblyHelpers.h
Log Message:
-----------
Fix exception Fuzz in Baseline/DFG with exception return registers
https://bugs.webkit.org/show_bug.cgi?id=274315
rdar://128230658
Reviewed by Mark Lam.
Baseline/DFG `emitExceptionCheck` didn't forward the exception register
it's going to use to `callExceptionFuzz` so it could get out of sync
with the fuzzers state. Now `callExceptionFuzz` will properly fill the
exception register with the new exception if it's set.
* Source/JavaScriptCore/jit/AssemblyHelpers.cpp:
(JSC::AssemblyHelpers::callExceptionFuzz):
(JSC::AssemblyHelpers::emitExceptionCheck):
* Source/JavaScriptCore/jit/AssemblyHelpers.h:
Canonical link: https://commits.webkit.org/278956@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list