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






Reply via email to