RESOLVED CONFIGURATION CHANGED 208873
Update WTF/WeakLinking.h to work reliably in the face of pointer signing
https://bugs.webkit.org/show_bug.cgi?id=208873
Summary Update WTF/WeakLinking.h to work reliably in the face of pointer signing
Sam Weinig
Reported 2020-03-10 11:54:27 PDT
Update WTF/WeakLinking.h to work reliably in the face of pointer signing
Attachments
Patch (6.78 KB, patch)
2020-03-10 12:03 PDT, Sam Weinig
no flags
Patch (7.38 KB, patch)
2020-03-11 14:35 PDT, Sam Weinig
no flags
Sam Weinig
Comment 1 2020-03-10 12:03:35 PDT
mitz
Comment 2 2020-03-10 12:06:23 PDT
Comment on attachment 393171 [details] Patch Nice decrease in code size, too!
mitz
Comment 3 2020-03-11 08:33:16 PDT
Perhaps not as elegant, but to meet the requirement of working with C++ member functions, which can’t be redeclared, you could take an alternate approach of just employing ptrauth_strip(…, ptrauth_key_function_pointer) in the existing isNullFunctionPointer.
Sam Weinig
Comment 4 2020-03-11 14:35:05 PDT
Note You need to log in before you can comment on or make changes to this bug.