[PATCH] D46545: [sanitizer] Move fgets, fputs and puts into sanitizer_common

Peter Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 8 09:33:14 PDT 2018


Lekensteyn added a comment.

In https://reviews.llvm.org/D46545#1126599, @krytarowski wrote:

> We are now requiring this on NetBSD for MSanitized userland. Some programs break without puts(3) / fputs(3) interceptors there.


Is there a link/discussion to this issue? (f)puts just read from a buffer, how would lack of interceptors cause MSan to break?
I found https://github.com/google/sanitizers/issues/955, but it does not directly mention such an issue.

(This change is still on my TODO list.)


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D46545





More information about the llvm-commits mailing list