[all-commits] [llvm/llvm-project] 6e8b2a: [HWASAN] Remove UAR tag branch !ClUARRetagToZero

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Apr 26 15:27:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e8b2a8054205e86cd317093e9926ffec432802a
      https://github.com/llvm/llvm-project/commit/6e8b2a8054205e86cd317093e9926ffec432802a
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
    M llvm/test/Instrumentation/HWAddressSanitizer/RISCV/alloca.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/X86/alloca.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll

  Log Message:
  -----------
  [HWASAN] Remove UAR tag branch !ClUARRetagToZero

This is leftover from older version of HWASAN.
The current HWASAN assumes that the new stack
frames are tagged with zeroes, which make getNextTagWithCall
or StackTag ^ TagMaskByte unusable.

Reviewed By: kstoimenov, eugenis

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




More information about the All-commits mailing list