R-devel SAN using Clang: R development binaries with Sanitizer support
Adapted by Jack Wasey to reflect a certain CRAN maintainer's environment which appeared to show address violations in some vector operations in my icd9 package.
The Writing R Extensions manual
details in Section 4.3
how to check memory access. Two sections are devoted to
Using the Address Sanitizer
Using the Undefined Behaviour Sanitizer.
Both require a particularly instrumented binary of R. This repository
provides a Docker container with such a binary, based on the R-devel sources.
This repository uses clang; a sibling repository uses gcc.
This repository is part of Rocker-Org where
Rocker -- Docker containers of
interest for R users -- is being developed.
All this is work in progress; talk to @eddelbuettel and @cboettig about how
to get involved.
Documentation is being added at the Rocker Wiki.