[all-commits] [llvm/llvm-project] 986cea: [msan] Support prctl PR_GET_NAME call (#98951)

Chris Cotter via All-commits all-commits at lists.llvm.org
Tue Jul 16 09:42:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 986ceae7c54bcda76edeffa41ff9aa0cd18a3c8e
      https://github.com/llvm/llvm-project/commit/986ceae7c54bcda76edeffa41ff9aa0cd18a3c8e
  Author: Chris Cotter <ccotter14 at bloomberg.net>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    A compiler-rt/test/msan/Linux/prctl.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp

  Log Message:
  -----------
  [msan] Support prctl PR_GET_NAME call (#98951)

Per the man page, PR_GET_NAME stores a null terminated string into the
input `char name[16]`.

This also adds prctl support in ASAN to detect freed memory being passed
to `prctl(PR_GET_NAME, ...)`:



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list