LLVM Pointer Authentication sync-ups

Meeting minutes for July 24th 2023 meeting

  • Ahmed picked some changes (mostly on clang side) from Apple internal downstream branches, but otherwise did not have time to work on pauth over the last month. He is planning to show these patches later this week. Likely on Thursday. No further progress on middle-end missed features (e.g. call bundles) due to lack of time. Maybe there will be some progress later this week
  • Constant authentication patch (⚙ D92834 [IR,AArch64] Add a new "ptrauth(...)" Constant to represent signed pointers) has some design flaws wrt discriminators and require manual blending, but otherwise might be worth to start looking into. Tim (the original author) is not available this week. Maybe Ahmed will have some time to follow up next week
  • Andrei told that backend patches were rebased onto current LLVM mainline and will be submitted for LLVM mainline review later this week. There was some duplication of the functionality with the current LLVM mainline implementation.
  • Andrei told that ELF-related PAUTH patches are currently in progress. First ones will likely be submitted to LLVM mainline later this week as well. There are some DWARF-related questions on the spec, but it seems that only ARM could answer to them, but ARM representatives were not present due to vacations
  • It was agreed that more frequent sync-ups would be necessary. The meetings will move to the weekly schedule
  • For more rapid turnaround time LLVM Discord channel is to be created

Action Points for the coming week:

  • Ahmed to finish synchronizing from downstream codebase
  • Anton will create a new LLVM Discord channel for more rapid turnaround time and follow up with Kristof on updating Zoom links
  • Access Softek to start submitting patches which are ready for review