[all-commits] [llvm/llvm-project] 98449c: [HWASan] [compiler-rt] Add tag_bits option to HWAS...

Florian Mayer via All-commits all-commits at lists.llvm.org
Wed Apr 15 21:40:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98449cb8dd7f79a9eade62b5ecb1fa8c614c3a0e
      https://github.com/llvm/llvm-project/commit/98449cb8dd7f79a9eade62b5ecb1fa8c614c3a0e
  Author: Florian Mayer <fmayer at google.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_allocator.cpp
    M compiler-rt/lib/hwasan/hwasan_flags.inc
    A compiler-rt/test/hwasan/TestCases/tag_mask_smoke.c

  Log Message:
  -----------
  [HWASan] [compiler-rt] Add tag_bits option to HWASan alloc (#192386)

This can be used to make sure the allocator does not use the top bit of
the pointer. This is useful when HWASan is used in combination with
signed-integer-overflow detection. Some code uses arithmetic on intptr_t
that overflows for sufficiently large pointers.



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