[all-commits] [llvm/llvm-project] 0488d1: Reland "[Sanitizers] Intercept timer_create" (#113...

Florian Mayer via All-commits all-commits at lists.llvm.org
Mon Nov 18 23:19:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0488d1774b197513cf91d973e103f4e7de293c00
      https://github.com/llvm/llvm-project/commit/0488d1774b197513cf91d973e103f4e7de293c00
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_platform_interceptors.h
    M compiler-rt/lib/msan/tests/msan_test.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h

  Log Message:
  -----------
  Reland "[Sanitizers] Intercept timer_create" (#113710) (#116717)

Original commit 2ec5c69b6872b8b474f3d37b9125d3d57d144d1b only
intercepted timer_create.

Because of how versioned libc symbols work, this could cause problems
where a newer `timer_create`
was used, and the result would be used by an older version. This would
cause crashes. This is why we
need to intercept all of the related functions.

Addresses https://github.com/llvm/llvm-project/issues/111847



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