[all-commits] [llvm/llvm-project] 987f15: [msan] Fix sigaltstack false positive.

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Mon Mar 23 16:19:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 987f153929e813db1ea7e3354fd7a0b6b4adf4c0
      https://github.com/llvm/llvm-project/commit/987f153929e813db1ea7e3354fd7a0b6b4adf4c0
  Author: Evgenii Stepanov <eugenis at google.com>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    M compiler-rt/test/msan/sigaltstack.cpp

  Log Message:
  -----------
  [msan] Fix sigaltstack false positive.

struct stack_t on Linux x86_64 has internal padding which may be left
uninitialized. The check should be replaced with multiple checks for
individual fields of the struct. For now, remove the check altogether.




More information about the All-commits mailing list