[all-commits] [llvm/llvm-project] 64fa90: [hwasan] Add `__hwasan_get_tag_from_pointer` (#75267)

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Dec 13 11:22:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64fa90bf8966cb886463840e5c85b9602cbbdc52
      https://github.com/llvm/llvm-project/commit/64fa90bf8966cb886463840e5c85b9602cbbdc52
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-12-13 (Wed, 13 Dec 2023)

  Changed paths:
    M compiler-rt/include/sanitizer/hwasan_interface.h
    M compiler-rt/lib/hwasan/hwasan.cpp
    M compiler-rt/lib/hwasan/hwasan.h
    M compiler-rt/lib/hwasan/hwasan_interface_internal.h
    A compiler-rt/test/hwasan/TestCases/tag-ptr.cpp

  Log Message:
  -----------
  [hwasan] Add `__hwasan_get_tag_from_pointer` (#75267)

This simplifies handling tags by user code. Now code does not need
to know bit size of tag and its position.




More information about the All-commits mailing list