duncantl/NativeCodeAnalysis: Tools to analyze native code (C/C++) related to R.

This provides functionality to analyze C and C++ code in various ways that relate to calling it from R or it calling R code. It works with both the compiled version of the code as LLVM's Intermediate Representation and also the abstract syntax tree (AST) of the original C/C++ code. Both are necessary for completeness as the compilation removes names of fields, etc. in data structures. The analysis will include R-object type inference from .Call (and sub) routines, memory management identificatio (e.g. which routine allocates memory or not), identifying read and write arguments, presence of side-effects on non-local data structures (e.g. on the Graphics devices or options)

Getting started

Package details

AuthorNick Ulle <naulle@ucdavis.edu> Duncan Temple Lang <duncan@r-project.org>
MaintainerDuncan Temple Lang <duncan@r-project.org>
LicenseBSD+LICENSE
Version0.1-0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("duncantl/NativeCodeAnalysis")
duncantl/NativeCodeAnalysis documentation built on April 19, 2021, 1:17 a.m.