Clang sanitizers on ROOT?

Hi, has anyone tried to use the clang sanitizers with ROOT before? They seem to be a great tool to avoid the kinds of problems that can plague ROOT users: out-of-bounds access to buffers, null pointer dereferences, etc. But I imagine also that the ROOT style is a great source of false positives.

If anyone has tried, did you learn anything? I’d be tempted to try it myself, but then I don’t know what tests I would run, because the sanitizers are partially run-time tests.

There is a great CppCon talk about the sanitizers here: https://www.youtube.com/watch?v=V2_80g0eOMc&list=UUMlGfpWw-RUdWX_JbLCukXg

A related tool is clang-modernize, which might help change parts of the ROOT code to a more modern C++ style. Apparently the tool can modernize code without changing the semantics - mostly.

Jean-François