[all-commits] [llvm/llvm-project] dc7498: [hwasan] Record allocation thread id in HeapAlloca...

Enna1 via All-commits all-commits at lists.llvm.org
Mon Apr 3 20:26:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc7498eb027b512091159731163327a0ff4f182e
      https://github.com/llvm/llvm-project/commit/dc7498eb027b512091159731163327a0ff4f182e
  Author: Enna1 <xumingjie.enna1 at bytedance.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_allocator.cpp
    M compiler-rt/lib/hwasan/hwasan_allocator.h
    M compiler-rt/lib/hwasan/hwasan_report.cpp
    M compiler-rt/test/hwasan/TestCases/double-free.c
    M compiler-rt/test/hwasan/TestCases/hwasan_symbolize.cpp
    M compiler-rt/test/hwasan/TestCases/realloc-after-free.c
    M compiler-rt/test/hwasan/TestCases/set-error-report-callback.cpp
    M compiler-rt/test/hwasan/TestCases/tag_in_free.c
    M compiler-rt/test/hwasan/TestCases/thread-uaf.c
    M compiler-rt/test/hwasan/TestCases/use-after-free.c

  Log Message:
  -----------
  [hwasan] Record allocation thread id in HeapAllocationRecord

Extend HeapAllocationRecord to record allocation thread id, print thread id in memory allocation stack trace.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list