I would like to instrument some c++ code that uses grpc (clang 9, ubuntu 18) with memory sanitizer, and to do this, all the libraries it uses must be built with msan too.
from the memory sanitizer docs <https://github.com/google/sanitizers/wiki/MemorySanitizer#using-instrumented-libraries> : ``` It is critical that you should build all the code in your program (including libraries it uses, in particular, C++ standard library) with MSan. See MemorySanitizerLibcxxHowTo for more details. ``` However, I have so far not succeeded in building msan instrumented grpc, and would appreciate some help on how to do this. I was able to build *address *sanitized grpc simply by setting *CONFIG=asan *in the supplied Makefile, but this does not work with *CONFIG=msan (plus adding instrumented libc++.so and libc++abi.so as described in docs)* cmake doesn't seem to have any options to turn on MSAN, and I'm not familiar with bazel. Wondering how to build MSAN instrumented grpc? thanks in advance! -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/ddd428b0-ad91-4f26-905a-237217b36f9dn%40googlegroups.com.
