WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
300717
[webkitapipy] Add allowlist escape hatch for declarations that may be dead-stripped
https://bugs.webkit.org/show_bug.cgi?id=300717
Summary
[webkitapipy] Add allowlist escape hatch for declarations that may be dead-st...
Elliott Williams
Reported
2025-10-14 11:19:24 PDT
Some SPI usage (such as dyld_program_sdk_at_least in RuntimeApplicationChecksCocoa.mm) may be stripped out by the linker depending on some relatively complex program analysis relating to underlying OS headers. There isn't a good `requires` clause that we could write to only activate the allowlist entry when it is needed.
Attachments
Add attachment
proposed patch, testcase, etc.
Elliott Williams
Comment 1
2025-10-14 11:19:36 PDT
rdar://162153981
Elliott Williams
Comment 2
2025-10-14 11:24:38 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/52312
EWS
Comment 3
2025-10-14 15:45:13 PDT
Committed
301508@main
(85036d0b7338): <
https://commits.webkit.org/301508@main
> Reviewed commits have been landed. Closing PR #52312 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