[all-commits] [llvm/llvm-project] 3b947c: [msan] unpoison_file from fclose and fflash

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Nov 20 13:09:24 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b947cc8ce08f3f97436f375837ea35e646d9688
      https://github.com/llvm/llvm-project/commit/3b947cc8ce08f3f97436f375837ea35e646d9688
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2020-11-20 (Fri, 20 Nov 2020)

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

  Log Message:
  -----------
  [msan] unpoison_file from fclose and fflash

Also unpoison IO_write_base/_IO_write_end buffer

memcpy from fclose and fflash can copy internal bytes without metadata into user memory.

Reviewed By: eugenis

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




More information about the All-commits mailing list