WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
276648
Provide debug hook to override threadSelfRestrict* functions
https://bugs.webkit.org/show_bug.cgi?id=276648
Summary
Provide debug hook to override threadSelfRestrict* functions
Marcus Plutowski
Reported
2024-07-15 22:25:21 PDT
rdar://131809314
Specifically threadSelfRestrictRwxToRx, threadSelfRestrictRwxToRw, and threadSelfRestrictSupported, from within FastJITPermissions.h. These functions are called whenever the JIT linker needs to write to the executable portion of memory; adding hooks at those points would help debug, especially when it's necessary to observe transitions between those states or test edge-case behavior.
Attachments
Add attachment
proposed patch, testcase, etc.
Marcus Plutowski
Comment 1
2024-07-16 16:16:32 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/30879
EWS
Comment 2
2024-07-16 18:46:22 PDT
Committed
281033@main
(9e6ac9c6050a): <
https://commits.webkit.org/281033@main
> Reviewed commits have been landed. Closing PR #30879 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug