[all-commits] [llvm/llvm-project] 04fd53: ASan: add backtrace_symbols test and clarify code ...

Thurston Dang via All-commits all-commits at lists.llvm.org
Fri May 12 22:39:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04fd535409ddc601a4654e38ff28db3f13c10713
      https://github.com/llvm/llvm-project/commit/04fd535409ddc601a4654e38ff28db3f13c10713
  Author: Thurston Dang <thurston at google.com>
  Date:   2023-05-13 (Sat, 13 May 2023)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    A compiler-rt/test/asan/TestCases/backtrace_symbols_interceptor.cpp

  Log Message:
  -----------
  ASan: add backtrace_symbols test and clarify code is correct

This is another patch for https://github.com/google/sanitizers/issues/321
(sanitizer interceptors can write to freed memory, causing corruption),
in this case for backtrace_symbols.

backtrace_symbols is already correct, hence this patch removes the
TODO note. Additionally, this patch adds a test case for it.

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




More information about the All-commits mailing list