[all-commits] [llvm/llvm-project] 2613c7: [HWASAN] Prevent SEGV in report near inaccessible ...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Sep 20 14:07:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2613c77cbaa0cdf166626271e103d9af0f8ff9d3
      https://github.com/llvm/llvm-project/commit/2613c77cbaa0cdf166626271e103d9af0f8ff9d3
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_report.cpp
    A compiler-rt/test/hwasan/TestCases/report-unmapped.cpp

  Log Message:
  -----------
  [HWASAN] Prevent SEGV in report near inaccessible memory (#66861)

We can't use IsAccessibleMemoryRange on short granule check because of
performance impact. However we can prevent crashing if report prints out
"Tags for short granules around the buggy address".




More information about the All-commits mailing list