<div dir="ltr">FWIW, there's an associated bug report here:<div><br></div><div>    <a href="https://github.com/google/sanitizers/issues/911">https://github.com/google/sanitizers/issues/911</a><br></div><div><br></div><div>that indicates that ubsan emits false positives when attempting to diagnose functions opened through dlopen(), which IIUC is the standard way that R loads symbols from compiled libraries in R packages.</div></div>