mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Runtime] Use ptrauth qualifiers on metadata and superclass fields.
This commit is contained in:
@@ -250,6 +250,9 @@ extern uintptr_t __COMPATIBILITY_LIBRARIES_CANNOT_CHECK_THE_IS_SWIFT_BIT_DIRECTL
|
||||
#define __ptrauth_swift_dispatch_invoke_function \
|
||||
__ptrauth(ptrauth_key_process_independent_code, 1, \
|
||||
SpecialPointerAuthDiscriminators::DispatchInvokeFunction)
|
||||
#define __ptrauth_swift_objc_superclass \
|
||||
__ptrauth(ptrauth_key_process_independent_data, 1, \
|
||||
swift::SpecialPointerAuthDiscriminators::ObjCSuperclass)
|
||||
#define swift_ptrauth_sign_opaque_read_resume_function(__fn, __buffer) \
|
||||
ptrauth_auth_and_resign(__fn, ptrauth_key_function_pointer, 0, \
|
||||
ptrauth_key_process_independent_code, \
|
||||
@@ -276,6 +279,7 @@ extern uintptr_t __COMPATIBILITY_LIBRARIES_CANNOT_CHECK_THE_IS_SWIFT_BIT_DIRECTL
|
||||
#define __ptrauth_swift_cancellation_notification_function
|
||||
#define __ptrauth_swift_escalation_notification_function
|
||||
#define __ptrauth_swift_dispatch_invoke_function
|
||||
#define __ptrauth_swift_objc_superclass
|
||||
#define __ptrauth_swift_runtime_function_entry
|
||||
#define __ptrauth_swift_runtime_function_entry_with_key(__key)
|
||||
#define __ptrauth_swift_runtime_function_entry_strip(__fn) (__fn)
|
||||
|
||||
Reference in New Issue
Block a user