[PATCH] D45047: MSan: introduce the conservative assembly handling mode.

Alexander Potapenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 29 08:35:26 PDT 2018


glider created this revision.
glider added reviewers: eugenis, vitalybuka, dvyukov.
glider added a project: Sanitizers.
Herald added a subscriber: llvm-commits.

The default assembly handling mode may introduce false positives in the cases when MSan doesn't understand that the assembly call initializes the memory pointed to by one of its arguments.
We introduce the conservative mode, which initializes every memory location passed into the assembly statement.


Repository:
  rL LLVM

https://reviews.llvm.org/D45047

Files:
  lib/Transforms/Instrumentation/MemorySanitizer.cpp
  test/Instrumentation/MemorySanitizer/msan_x86_bts_asm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45047.140261.patch
Type: text/x-patch
Size: 6528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180329/dcda17d9/attachment.bin>


More information about the llvm-commits mailing list