=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== r-cran-v8-3.4.0+dfsg/man/wasm.Rd-9-\arguments{ r-cran-v8-3.4.0+dfsg/man/wasm.Rd:10:\item{data}{either raw vector or file path with the binary wasm program} r-cran-v8-3.4.0+dfsg/man/wasm.Rd-11-} ############################################## r-cran-v8-3.4.0+dfsg/man/wasm.Rd-17-\examples{ r-cran-v8-3.4.0+dfsg/man/wasm.Rd:18:# Load example wasm program r-cran-v8-3.4.0+dfsg/man/wasm.Rd-19-if(engine_info()$version > 6){ ############################################## r-cran-v8-3.4.0+dfsg/DESCRIPTION-13-SystemRequirements: V8 engine version 6+ is needed for modern JS and r-cran-v8-3.4.0+dfsg/DESCRIPTION:14: WASM support. On Debian / Ubuntu install either libv8-dev or r-cran-v8-3.4.0+dfsg/DESCRIPTION-15- libnode-dev, on Fedora use v8-devel. The readme has ############################################## r-cran-v8-3.4.0+dfsg/tests/testthat/test_wasm.R-2- r-cran-v8-3.4.0+dfsg/tests/testthat/test_wasm.R:3:test_that("Load WASM program", { r-cran-v8-3.4.0+dfsg/tests/testthat/test_wasm.R-4- skip_if_not(engine_info()$version > 6) ############################################## r-cran-v8-3.4.0+dfsg/tests/testthat/test_arraybuffers.R-84- # Without serialize r-cran-v8-3.4.0+dfsg/tests/testthat/test_arraybuffers.R:85: #expect_match(ctx$eval('bytes'), "^(\\d,?)+$") r-cran-v8-3.4.0+dfsg/tests/testthat/test_arraybuffers.R-86- expect_match(ctx$eval('buffer'), "[object ArrayBuffer]", fixed = TRUE) ############################################## r-cran-v8-3.4.0+dfsg/vignettes/npm.Rmd-28- r-cran-v8-3.4.0+dfsg/vignettes/npm.Rmd:29:Recent versions of V8 do have an event loop (required for async in ES6) and WASM support. r-cran-v8-3.4.0+dfsg/vignettes/npm.Rmd-30- ############################################## r-cran-v8-3.4.0+dfsg/vignettes/v8_intro.Rmd-49- r-cran-v8-3.4.0+dfsg/vignettes/v8_intro.Rmd:50:The `ct$source` method is a convenience function for loading JavaScript libraries from a file or url. r-cran-v8-3.4.0+dfsg/vignettes/v8_intro.Rmd-51- ############################################## r-cran-v8-3.4.0+dfsg/vignettes/v8_intro.Rmd-80- r-cran-v8-3.4.0+dfsg/vignettes/v8_intro.Rmd:81:The `ct$call` method calls a JavaScript function, automatically converting objects (arguments and return value) between R and JavaScript: r-cran-v8-3.4.0+dfsg/vignettes/v8_intro.Rmd-82- ############################################## r-cran-v8-3.4.0+dfsg/vignettes/v8_intro.Rmd-99- r-cran-v8-3.4.0+dfsg/vignettes/v8_intro.Rmd:100:From here you can interactively work in JavaScript without typing `ct$eval` every time: r-cran-v8-3.4.0+dfsg/vignettes/v8_intro.Rmd-101- ############################################## r-cran-v8-3.4.0+dfsg/NEWS-35- - Automatically convert raw vectors to/from Uint8Array in eval/get/assign r-cran-v8-3.4.0+dfsg/NEWS:36: - Experimental wasm API + test r-cran-v8-3.4.0+dfsg/NEWS-37- - Fix callback API crashes in V8 7.9+ (Jan Marvin, #70, #71, #75) ############################################## r-cran-v8-3.4.0+dfsg/R/V8.R-15-#' the global environment can be reached by evaluating `this` in the global scope, r-cran-v8-3.4.0+dfsg/R/V8.R:16:#' for example: `ct$eval("Object.keys(this)")`. r-cran-v8-3.4.0+dfsg/R/V8.R-17-#' ############################################## r-cran-v8-3.4.0+dfsg/R/V8.R-20-#' r-cran-v8-3.4.0+dfsg/R/V8.R:21:#' The `ct$eval` method evaluates a string of JavaScript code in the same way r-cran-v8-3.4.0+dfsg/R/V8.R-22-#' as `eval` in JavaScript. By default `eval()` returns a string with ############################################## r-cran-v8-3.4.0+dfsg/R/V8.R-25-#' r-cran-v8-3.4.0+dfsg/R/V8.R:26:#' The `ct$get`, `ct$assign` and `ct$call` functions automatically r-cran-v8-3.4.0+dfsg/R/V8.R-27-#' convert arguments and return value between R and JavaScript (using JSON). To pass ############################################## r-cran-v8-3.4.0+dfsg/R/V8.R-30-#' r-cran-v8-3.4.0+dfsg/R/V8.R:31:#' The `ct$validate` function is used to test r-cran-v8-3.4.0+dfsg/R/V8.R-32-#' if a piece of code is valid JavaScript syntax within the context, and always ############################################## r-cran-v8-3.4.0+dfsg/R/V8.R-34-#' r-cran-v8-3.4.0+dfsg/R/V8.R:35:#' In an interactive R session you can use `ct$console()` to switch to an r-cran-v8-3.4.0+dfsg/R/V8.R-36-#' interactive JavaScript console. Here you can use `console.log` to print ############################################## r-cran-v8-3.4.0+dfsg/R/V8.R-138- evaluate_js <- function(src, serialize = FALSE){ r-cran-v8-3.4.0+dfsg/R/V8.R:139: get_str_output(context_eval(join(src), private$context, serialize)) r-cran-v8-3.4.0+dfsg/R/V8.R-140- } ############################################## r-cran-v8-3.4.0+dfsg/R/V8.R-197- if(length(global)){ r-cran-v8-3.4.0+dfsg/R/V8.R:198: context_eval(paste("var", global, "= this;", collapse = "\n"), private$context) r-cran-v8-3.4.0+dfsg/R/V8.R-199- } ############################################## r-cran-v8-3.4.0+dfsg/R/V8.R-288-#' @export r-cran-v8-3.4.0+dfsg/R/V8.R:289:`$.V8` <- function(x, y){ r-cran-v8-3.4.0+dfsg/R/V8.R-290- if(!exists(y, x, inherits = FALSE)){ ############################################## r-cran-v8-3.4.0+dfsg/R/V8.R-296-#' @export r-cran-v8-3.4.0+dfsg/R/V8.R:297:`[[.V8` <- `$.V8` r-cran-v8-3.4.0+dfsg/R/V8.R-298- r-cran-v8-3.4.0+dfsg/R/V8.R-299-#' @export r-cran-v8-3.4.0+dfsg/R/V8.R:300:`[.V8` <- `$.V8` r-cran-v8-3.4.0+dfsg/R/V8.R-301- ############################################## r-cran-v8-3.4.0+dfsg/R/wasm.R-7-#' @export r-cran-v8-3.4.0+dfsg/R/wasm.R:8:#' @param data either raw vector or file path with the binary wasm program r-cran-v8-3.4.0+dfsg/R/wasm.R:9:#' @examples # Load example wasm program r-cran-v8-3.4.0+dfsg/R/wasm.R-10-#' if(engine_info()$version > 6){ ############################################## r-cran-v8-3.4.0+dfsg/R/wasm.R-13-#' } r-cran-v8-3.4.0+dfsg/R/wasm.R:14:wasm <- function(data){ r-cran-v8-3.4.0+dfsg/R/wasm.R-15- if(is.character(data)) ############################################## r-cran-v8-3.4.0+dfsg/inst/doc/npm.Rmd-28- r-cran-v8-3.4.0+dfsg/inst/doc/npm.Rmd:29:Recent versions of V8 do have an event loop (required for async in ES6) and WASM support. r-cran-v8-3.4.0+dfsg/inst/doc/npm.Rmd-30- ############################################## r-cran-v8-3.4.0+dfsg/inst/doc/v8_intro.Rmd-49- r-cran-v8-3.4.0+dfsg/inst/doc/v8_intro.Rmd:50:The `ct$source` method is a convenience function for loading JavaScript libraries from a file or url. r-cran-v8-3.4.0+dfsg/inst/doc/v8_intro.Rmd-51- ############################################## r-cran-v8-3.4.0+dfsg/inst/doc/v8_intro.Rmd-80- r-cran-v8-3.4.0+dfsg/inst/doc/v8_intro.Rmd:81:The `ct$call` method calls a JavaScript function, automatically converting objects (arguments and return value) between R and JavaScript: r-cran-v8-3.4.0+dfsg/inst/doc/v8_intro.Rmd-82- ############################################## r-cran-v8-3.4.0+dfsg/inst/doc/v8_intro.Rmd-99- r-cran-v8-3.4.0+dfsg/inst/doc/v8_intro.Rmd:100:From here you can interactively work in JavaScript without typing `ct$eval` every time: r-cran-v8-3.4.0+dfsg/inst/doc/v8_intro.Rmd-101- ############################################## r-cran-v8-3.4.0+dfsg/configure-24-# Use CXX14 when available, required as of libv8 version 8.7.80 r-cran-v8-3.4.0+dfsg/configure:25:CXX14=`${R_HOME}/bin/R CMD config CXX14` r-cran-v8-3.4.0+dfsg/configure-26- ############################################## r-cran-v8-3.4.0+dfsg/configure-30-CXX_STD=CXX11 r-cran-v8-3.4.0+dfsg/configure:31:CXX=`${R_HOME}/bin/R CMD config CXX` r-cran-v8-3.4.0+dfsg/configure:32:CXXFLAGS=`${R_HOME}/bin/R CMD config CXXFLAGS` r-cran-v8-3.4.0+dfsg/configure-33-else ############################################## r-cran-v8-3.4.0+dfsg/configure-35-CXX_STD=CXX14 r-cran-v8-3.4.0+dfsg/configure:36:CXX="$CXX14 `${R_HOME}/bin/R CMD config CXX14STD`" r-cran-v8-3.4.0+dfsg/configure:37:CXXFLAGS=`${R_HOME}/bin/R CMD config CXX14FLAGS` r-cran-v8-3.4.0+dfsg/configure-38-fi ############################################## r-cran-v8-3.4.0+dfsg/configure-40-# Find compiler r-cran-v8-3.4.0+dfsg/configure:41:CPPFLAGS=`${R_HOME}/bin/R CMD config CPPFLAGS` r-cran-v8-3.4.0+dfsg/configure:42:LDFLAGS=`${R_HOME}/bin/R CMD config LDFLAGS` r-cran-v8-3.4.0+dfsg/configure-43-CXXCPP="$CXX -E" ############################################## r-cran-v8-3.4.0+dfsg/configure-93- echo "Found legacy version of libv8" r-cran-v8-3.4.0+dfsg/configure:94: PKG_LIBS=`echo "$PKG_LIBS" | sed -e "s/-lv8_libplatform//"` r-cran-v8-3.4.0+dfsg/configure-95- sed -e "s|@cflags@|$PKG_CFLAGS|" -e "s|@libs@|$PKG_LIBS|" src/legacy/Makevars.in > src/Makevars ############################################## r-cran-v8-3.4.0+dfsg/debian/tests/run-unit-test-6-if [ "$AUTOPKGTEST_TMP" = "" ] ; then r-cran-v8-3.4.0+dfsg/debian/tests/run-unit-test:7: AUTOPKGTEST_TMP=`mktemp -d /tmp/${debname}-test.XXXXXX` r-cran-v8-3.4.0+dfsg/debian/tests/run-unit-test-8- trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM