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

Alexander Potapenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 18 09:48:06 PDT 2018


glider marked an inline comment as done.
glider added a comment.

FWIW, we couldn't enable this mode in KMSAN by default.
Turned out people are passing all sorts of random pointers into inline assembly in the kernel (sometimes those arguments are unused by the assembly itself), and unpoisoning those just triggers page faults.
Guess it's worth looking into instrumenting the assembly with calls, so that we can check the pointers at runtime.


Repository:
  rL LLVM

https://reviews.llvm.org/D45047





More information about the llvm-commits mailing list