This is an archive of the discontinued LLVM Phabricator instance.

[IR] Define llvm.ptrauth wrapper globals
AbandonedPublic

Authored by atrosinenko on Jun 10 2023, 5:27 AM.

Details

Summary

Define wrapper globals conveying a signing schema for a constant pointer
that can be used in contexts where ptrauth intrinsics are not available.

Co-authored-by: Ahmed Bougacha <ahmed@bougacha.org>

Diff Detail

Event Timeline

atrosinenko created this revision.Jun 10 2023, 5:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2023, 5:27 AM
atrosinenko published this revision for review.Jun 10 2023, 5:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2023, 5:30 AM
ab added a comment.Jun 10 2023, 3:43 PM

Please don’t. I’ll send out updated patches.

nikic added a subscriber: nikic.Jun 11 2023, 12:24 AM

You need to introduce a new constant type like DSOLocalEquivalent or NoCFIValue.

asl added a comment.Jun 14 2023, 10:16 AM
In D152620#4411674, @ab wrote:

Please don’t. I’ll send out updated patches.

Do you by any chance have some timeline about this? Maybe @atrosinenko can help you with updating the patches so the upstreaming process could go faster? AFAIK, he already has your branch rebased onto mainline.

Here is the rebased branch: https://github.com/access-softek/llvm-project/tree/rebased-ptrauth. Some tests might fail as it is work-in-progress.

atrosinenko abandoned this revision.Sep 29 2023, 2:37 AM