Other packages > Find by keyword >

sanitizers  

C/C++ Source Code to Trigger Address and Undefined Behaviour Sanitizers
View on CRAN: Click here


Download and install sanitizers package within the R console
Install from CRAN:
install.packages("sanitizers")

Install from Github:
library("remotes")
install_github("cran/sanitizers")

Install by package version:
library("remotes")
install_version("sanitizers", "0.1.1")



Attach the package and use:
library("sanitizers")
Maintained by
Dirk Eddelbuettel
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2014-08-03
Latest Update: 2023-06-11
Description:
Recent gcc and clang compiler versions provide functionality to test for memory violations and other undefined behaviour; this is often referred to as "Address Sanitizer" (or 'ASAN') and "Undefined Behaviour Sanitizer" ('UBSAN'). The Writing R Extension manual describes this in some detail in Section 4.3 title "Checking Memory Access". This feature has to be enabled in the corresponding binary, eg in R, which is somewhat involved as it also required a current compiler toolchain which is not yet widely available, or in the case of Windows, not available at all (via the common Rtools mechanism). As an alternative, pre-built Docker containers such as the Rocker container 'r-devel-san' or the multi-purpose container 'r-debug' can be used. This package then provides a means of testing the compiler setup as the known code failures provides in the sample code here should be detected correctly, whereas a default build of R will let the package pass. The code samples are based on the examples from the Address Sanitizer Wiki at .
How to cite:
Dirk Eddelbuettel (2014). sanitizers: C/C++ Source Code to Trigger Address and Undefined Behaviour Sanitizers. R package version 0.1.1, https://cran.r-project.org/web/packages/sanitizers. Accessed 21 Nov. 2024.
Previous versions and publish date:
0.1.0 (2014-08-03 08:08)
Other packages that cited sanitizers R package
View sanitizers citation profile
Other R packages that sanitizers depends, imports, suggests or enhances
Complete documentation for sanitizers
Functions, R codes and Examples using the sanitizers R package
Some associated functions: sanitizers-package . 
Some associated R codes: sanitizer.R .  Full sanitizers package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

pkgdepends  
Package Dependency Resolution and Downloads
Find recursive dependencies of 'R' packages from various sources. Solve the dependencies to obtain ...
Download / Learn more Package Citations See dependency  
RcppHNSW  
'Rcpp' Bindings for 'hnswlib', a Library for Approximate Nearest Neighbors
'Hnswlib' is a C++ library for Approximate Nearest Neighbors. This package provides a minimal R int ...
Download / Learn more Package Citations See dependency  
kgschart  
KGS Rank Graph Parser
Restore underlining numeric data from rating history graph of KGS (an online platform of the game o ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
SCBiclust  
Identifies Mean, Variance, and Hierarchically Clustered Biclusters
Identifies a bicluster, a submatrix of the data such that the features and observations within the s ...
Download / Learn more Package Citations See dependency  
deductive  
Data Correction and Imputation Using Deductive Methods
Attempt to repair inconsistencies and missing values in data records by using information from vali ...
Download / Learn more Package Citations See dependency  

23,229

R Packages

199,929

Dependencies

62,984

Author Associations

23,230

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA