Skip to content

update readme example? #69

@tdhock

Description

@tdhock

I ran the example on the README and I got the following, which is different from what you show on the README.

> pkg <- "RcppDeepState/inst/testpkgs/testSAN"
> fun_path <- file.path(pkg, "inst/testfiles/rcpp_write_index_outofbound")
> seed_analyze<-deepstate_fuzz_fun_analyze(fun_path ,1603403708, 5)
Error in deepstate_fuzz_fun_analyze(fun_path, 1603403708, 5) : 
  could not find function "deepstate_fuzz_fun_analyze"
> seed_analyze <- RcppDeepState::deepstate_fuzz_fun_analyze(fun_path ,1603403708, 5)
running the executable .. 
cd /home/tdhock/R/RcppDeepState/inst/testpkgs/testSAN/inst/testfiles/rcpp_write_index_outofbound && valgrind --xml=yes --xml-file=/home/tdhock/R/RcppDeepState/inst/testpkgs/testSAN/inst/testfiles/rcpp_write_index_outofbound/5_1603403708/1603403708_log --tool=memcheck --leak-check=yes --track-origins=yes ./rcpp_write_index_outofbound_DeepState_TestHarness --seed=1603403708 --timeout=5 --fuzz > /home/tdhock/R/RcppDeepState/inst/testpkgs/testSAN/inst/testfiles/rcpp_write_index_outofbound/5_1603403708/seed_valgrind_log_text 2>&1

> seed_analyze
      inputs          logtable
1: <list[1]> <data.table[1x5]>
> seed_analyze$logtable[[1]]
              err.kind
1: Leak_DefinitelyLost
                                                                 message
1: 400 bytes in 1 blocks are definitely lost in loss record 125 of 1,334
                        file.line      address.msg          address.trace
1: write_index_outofbound.cpp : 7 No Address found No Address Trace found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions