[all-commits] [llvm/llvm-project] 201550: [AArch64][compiler-rt] Add Pointer Authentication ...

Dani via All-commits all-commits at lists.llvm.org
Wed Mar 10 07:40:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 201550852be4d4213d733316c38c0a7335b0d14c
      https://github.com/llvm/llvm-project/commit/201550852be4d4213d733316c38c0a7335b0d14c
  Author: Daniel Kiss <daniel.kiss at arm.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors_vfork_aarch64.inc.S

  Log Message:
  -----------
  [AArch64][compiler-rt] Add Pointer Authentication support for VFORK.

The LR is stored to off-stack spill area where it is vulnerable.
"paciasp" add an auth code to the LR while the "autiasp" verifies that so
LR can't be modiifed on the spill area.

Test: build with -DCMAKE_C_FLAGS="-mbranch-protection=standard",
run on Armv8.3 capable hardware with PAuth.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D98009




More information about the All-commits mailing list