Bug 276648
| Summary: | Provide debug hook to override threadSelfRestrict* functions | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Marcus Plutowski <marcus_plutowski> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | Keywords: | InRadar |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Marcus Plutowski
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
Pull request: https://github.com/WebKit/WebKit/pull/30879
EWS
Committed 281033@main (9e6ac9c6050a): <https://commits.webkit.org/281033@main>
Reviewed commits have been landed. Closing PR #30879 and removing active labels.