[all-commits] [llvm/llvm-project] 1f82d0: [msan] Add interceptors for Linux 64-bit stat vari...

m-gupta via All-commits all-commits at lists.llvm.org
Tue Mar 15 20:23:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f82d0f795d11376adf3e62fc35fd98bb46e82b0
      https://github.com/llvm/llvm-project/commit/1f82d0f795d11376adf3e62fc35fd98bb46e82b0
  Author: Manoj Gupta <manojgupta at google.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M compiler-rt/lib/msan/msan_interceptors.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
    A compiler-rt/test/msan/fstat64.cpp
    A compiler-rt/test/msan/fstatat64.cpp
    A compiler-rt/test/msan/stat64.cpp
    A compiler-rt/test/sanitizer_common/TestCases/Posix/lstat64.cpp

  Log Message:
  -----------
  [msan] Add interceptors for Linux 64-bit stat variants

glibc >= 2.33 uses shared functions for stat family functions.
D111984 added support for non-64 bit variants but they
do not appear to be enough as we have been noticing msan
errors on 64-bit stat variants on Chrome OS.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list