You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[clang] Implement pointer authentication for C++ member function pointers.
Introduces type based signing of member function pointers. To support this
discrimination schema we no longer emit member function pointer to virtual
methods and indices into a vtable but migrate to using thunks. This does mean
member function pointers are no longer necessarily directly comparable,
however as such comparisons are UB this is acceptable.
We derive the discriminator from the C++ mangling of the type of the pointer
being authenticated.
Co-Authored-By: Akira Hatanaka [email protected]
Co-Authored-By: John McCall [email protected]
0 commit comments