Bug 303343
| Summary: | Implement a fallback in CompactPtr for storing some pointers that don't fit within 36-bits. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> |
| Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mark Lam
The OS linker / loader (at its own discretion) may choose to locate statically allocated objects at addresses that are beyond the 36-bits range (unlike heap addresses which are always within 36-bits). As such, for robustness, CompactPtr should have a fallback system that allows it to encode such outsized pointers.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/165647792>
Mark Lam
Pull request: https://github.com/WebKit/WebKit/pull/54662
EWS
Committed 303809@main (4d03df5acb1f): <https://commits.webkit.org/303809@main>
Reviewed commits have been landed. Closing PR #54662 and removing active labels.