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

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


  Branch: refs/heads/users/fmayer/spr/main.hwasan-compiler-rt-add-non_negative_pointers-option-to-hwasan-alloc
  Home:   https://github.com/llvm/llvm-project
  Commit: 9816a91bceb756b269413a9d580789b198719283
      https://github.com/llvm/llvm-project/commit/9816a91bceb756b269413a9d580789b198719283
  Author: Florian Mayer <fmayer at google.com>
  Date:   2026-04-15 (Wed, 15 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 (#191089)

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