[all-commits] [llvm/llvm-project] 26e6ea: [PAuth] Use different discriminators for __int128_...

Anton Korobeynikov via All-commits all-commits at lists.llvm.org
Fri May 16 09:29:32 PDT 2025


  Branch: refs/heads/users/asl/pauth-ftype-discrimination-128
  Home:   https://github.com/llvm/llvm-project
  Commit: 26e6ea21540d03c6aee6281059cd3b8e3e4b3ee7
      https://github.com/llvm/llvm-project/commit/26e6ea21540d03c6aee6281059cd3b8e3e4b3ee7
  Author: Anton Korobeynikov <anton at korobeynikov.info>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    M clang/test/CodeGen/ptrauth-function-type-discriminator.c

  Log Message:
  -----------
  [PAuth] Use different discriminators for __int128_t / __uint128_t / _BitInt(n)
compared to other integer types when computing function pointer type discriminator.

These parameter types have different parameter passing ABI as compared to
ordinary integer types (e.g. require 2 registers instead of 1) and therefore
this parameter passing difference could potentially be exploited should function
pointer is substituted.



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