-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Open
Labels
Description
#143230 introduces many macros for internal signing schemas. Let's adopt @atrosinenko 's approach to make the code more readable. See original comment from the PR below.
(As an illustration for the "cover letter" of this review) I assume many such macroses define purely internal signing schemas. In such cases it should be possible to compute the discriminator automatically - it could probably improve readability to use something like
PTRAUTH_INTPTR(uintptr_t, start) = readEncodedPointer(&p, callSiteEncoding);
instead of
uintptr_t __ptrauth_gcc_personality_start start =
readEncodedPointer(&p, callSiteEncoding);
Originally posted by @atrosinenko in #143230 (comment)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo