MSAN memory sanitizer and OpenJDK
Baesken, Matthias
matthias.baesken at sap.com
Mon Aug 19 14:41:47 UTC 2024
Hello , I thought about MSAN memory sanitizer and OpenJDK. See
https://clang.llvm.org/docs/MemorySanitizer.html
https://github.com/google/sanitizers/wiki/MemorySanitizer
We have already some sanitizer support in OpenJDK e.g. for ASAN (address) and UBSAN (undefined behavior).
Would MSAN be still useful , or is everything already covered by other tools?
Was there already some attempt to try out/support MSAN with OpenJDK ?
While looking into it, it seems that so far MSAN only works with clang (while e.g. UBSAN works with clang and gcc), is that correct ?
Btw. while giving it a try to compile OpenJDK with MSAN support (Linux/clang ; added build flags -fsanitize=memory -fno-omit-frame-pointer ) I was running into this
…/jdk/bin/javac: symbol lookup error: …/jdk/bin/../lib/libjli.so: undefined symbol: __msan_param_tls
(maybe someone has seen a similar error ?)
Best regards, Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20240819/d54ba243/attachment-0001.htm>
More information about the build-dev
mailing list