[all-commits] [llvm/llvm-project] 8d300e: [hwasan] Improve support of forking with threads (...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Dec 13 14:50:40 PST 2023


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

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_linux.cpp
    M compiler-rt/lib/hwasan/hwasan_thread.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.c

  Log Message:
  -----------
  [hwasan] Improve support of forking with threads (#75291)

Lock Lsan and Thread related date at_fork.

Clean shadow before thread starts, forked process may reuse already
mapped stack of 'lost' parent thread for new threads.




More information about the All-commits mailing list