> Would like to know how to inject ASAN code at runtime. Rebuilding the JVM > is not really feasible.
AFAIK this is a feature of LLVM ASan. Here an excerpt from Clang docs: "The AddressSanitizer run-time library should be linked to the final executable, so make sure to use clang (not ld) for the final link step. When linking shared libraries, the AddressSanitizer run-time is not linked, so -Wl,-z,defs may cause link errors (don't use it with AddressSanitizer)." This has been discussed recently: https://groups.google.com/forum/#!topic/address-sanitizer/XJXOrSvN8vg . In summary: you can try to link dynamic libasan manually (I'll probably add this to ASan makefiles at some point). You could also try GCC ASan. -Y -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to address-sanitizer+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.