[all-commits] [llvm/llvm-project] 4c8367: [HWASAN] Fix HwasanReallocate in aliasing mode

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Apr 26 18:48:50 PDT 2023


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

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_allocator.cpp
    M compiler-rt/test/sanitizer_common/TestCases/max_allocation_size.cpp

  Log Message:
  -----------
  [HWASAN] Fix HwasanReallocate in aliasing mode

HWASAN_ALIASING_MODE needs to untag only
primary allocator pointers.

Reviewed By: kstoimenov

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




More information about the All-commits mailing list