[all-commits] [llvm/llvm-project] 3b0a91: [clang][ObjC][PAC] Add ptrauth protections to obje...

Oliver Hunt via All-commits all-commits at lists.llvm.org
Thu Jul 10 03:36:17 PDT 2025


  Branch: refs/heads/users/ojhunt/ptrauth-objc
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b0a91c3d4a4ae8ec7980d2201d94f59746fb769
      https://github.com/llvm/llvm-project/commit/3b0a91c3d4a4ae8ec7980d2201d94f59746fb769
  Author: Oliver Hunt <oliver at apple.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/Basic/Features.def
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Basic/PointerAuthOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/CodeGen/CGBlocks.cpp
    M clang/lib/CodeGen/CGObjC.cpp
    M clang/lib/CodeGen/CGObjCMac.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/ConstantInitBuilder.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Headers/ptrauth.h
    M clang/lib/Sema/SemaDeclObjC.cpp
    M clang/lib/Sema/SemaObjCProperty.cpp
    M clang/test/CodeGenObjC/arc.m
    M clang/test/CodeGenObjC/matrix-type-operators.m
    A clang/test/CodeGenObjC/ptrauth-attr-exception.m
    A clang/test/CodeGenObjC/ptrauth-block-isa.m
    A clang/test/CodeGenObjC/ptrauth-class-ro.m
    A clang/test/CodeGenObjC/ptrauth-class.m
    A clang/test/CodeGenObjC/ptrauth-objc-interface-selector.m
    A clang/test/CodeGenObjC/ptrauth-objc-isa-super.m
    A clang/test/CodeGenObjC/ptrauth-objc-method-list-pointer.m
    A clang/test/CodeGenObjC/ptrauth-property-backing.m
    A clang/test/CodeGenObjCXX/ptrauth-objc-interface-selector.mm
    A clang/test/SemaObjC/ptrauth-pointers.m
    M clang/test/SemaObjC/ptrauth-qualifier.m

  Log Message:
  -----------
  [clang][ObjC][PAC] Add ptrauth protections to objective-c

This PR introduces the use of pointer authentication to objective-c[++].

This includes:

* __ptrauth qualifier support for ivars
* protection of isa and super fields
* protection of SEL typed ivars
* protection of class_ro_t data
* protection of methodlist pointers and content



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list