Skip to content

Conversation

@FabrizioSandri
Copy link
Member

RcppDeepState Analysis

This pull request aims to find bugs in this R package using RcppDeepState-action

@github-actions
Copy link

github-actions bot commented Sep 6, 2022

RcppDeepState Report

function name message file line address trace R code
get_component_ Invalid read of size 8 parsing.cpp:181 No Address Trace found
Test code
testlist <- list(component = 1285348268L, urls = c("ixgizqkygqznkgyy", NA, NA, NA, "qfdxxfxtj", "tmiirlgoap", "qdrfolubcspeiskxucph", "tntjd", "nmmoncypyuinjaqrdm", NA, NA, "xdwnmvgeanabtozjnixr", "ssqz", "", "nxuaveoevoyjhoyubbmg", NA, "cuhhzkuhixobjexaszzf", "espvtbczmxkvxvyawxap", NA))
result <- do.call(urltools:::get_component_, testlist)
rm_component_ 17 bytes in 1 blocks are definitely lost in loss record 10 of 1,298 parsing.cpp:511 No Address Trace found
Test code
testlist <- list(component = 1285348268L, urls = c("ixgizqkygqznkgyy", NA, NA, NA, "qfdxxfxtj", "tmiirlgoap", "qdrfolubcspeiskxucph", "tntjd", "nmmoncypyuinjaqrdm", NA, NA, "xdwnmvgeanabtozjnixr", "ssqz", "", "nxuaveoevoyjhoyubbmg", NA, "cuhhzkuhixobjexaszzf", "espvtbczmxkvxvyawxap", NA))
result <- do.call(urltools:::rm_component_, testlist)

Analyzed functions summary

function name tested inputs inputs with issues
get_component_ 3 3
get_credentials 3 0
host_extract_ 3 0
param_remove 3 0
puny_decode 3 0
puny_encode 3 0
reverse_strings 3 0
rm_component_ 3 3
set_component_ 3 0
set_component_f 3 0
set_component_r 3 0
strip_credentials 3 0
tld_extract_ 3 0
url_decode 3 0
url_encode 3 0
url_parse 3 0

Report details

  • Report generated by: 3d5039f
  • Inputs generator seed: 1662467492

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants