[PATCH] D54739: [Sanitizer] intercept setvbuf on other platforms where it is supported

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 20 14:11:35 PST 2018


vitalybuka added inline comments.


================
Comment at: test/sanitizer_common/TestCases/Posix/setvbuf.cc:41
 
   print_something();
 }
----------------
you can also try to print/return first byte from the buffer, so it will fail in msan without interceptor


https://reviews.llvm.org/D54739





More information about the llvm-commits mailing list