[all-commits] [llvm/llvm-project] b458bb: [hwasan] Display causes in order of probability.

Florian Mayer via All-commits all-commits at lists.llvm.org
Tue Jun 29 05:00:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b458bb8c04cd5ed025884d424f386a00c9c6857e
      https://github.com/llvm/llvm-project/commit/b458bb8c04cd5ed025884d424f386a00c9c6857e
  Author: Florian Mayer <fmayer at google.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_report.cpp
    M compiler-rt/test/hwasan/TestCases/global.c
    M compiler-rt/test/hwasan/TestCases/heap-buffer-overflow.c
    M compiler-rt/test/hwasan/TestCases/stack-oob.c
    M compiler-rt/test/hwasan/TestCases/stack-uar.c
    M compiler-rt/test/hwasan/TestCases/thread-uaf.c
    A compiler-rt/test/hwasan/TestCases/use-after-free-and-overflow.c
    M compiler-rt/test/hwasan/TestCases/use-after-free.c

  Log Message:
  -----------
  [hwasan] Display causes in order of probability.

A heap or global buffer that is far away from the faulting address is
unlikely to be the cause, especially if there is a potential
use-after-free as well, so we want to show it after the other
causes.

Reviewed By: eugenis

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




More information about the All-commits mailing list