[all-commits] [llvm/llvm-project] a8cdc5: [compiler-rt][msan] Guard shmat interceptor w SANI...

Brian Cain via All-commits all-commits at lists.llvm.org
Sun Mar 29 11:02:01 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8cdc5a483efc90e4699df25027ae4916115dfed
      https://github.com/llvm/llvm-project/commit/a8cdc5a483efc90e4699df25027ae4916115dfed
  Author: Brian Cain <brian.cain at oss.qualcomm.com>
  Date:   2026-03-29 (Sun, 29 Mar 2026)

  Changed paths:
    M compiler-rt/lib/msan/msan_interceptors.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h

  Log Message:
  -----------
  [compiler-rt][msan] Guard shmat interceptor w SANITIZER_INTERCEPT_SHMCTL (#189198)

The shmat interceptor calls REAL(shmctl), but shmctl is not intercepted
on all targets (e.g. 32-bit Linux with musl). Guard shmat behind
SANITIZER_INTERCEPT_SHMCTL and use a MSAN_MAYBE_INTERCEPT pattern
consistent with other conditional interceptors.



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