Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to extract regexes #76

Open
phreppo opened this issue Mar 25, 2021 · 0 comments
Open

Unable to extract regexes #76

phreppo opened this issue Mar 25, 2021 · 0 comments

Comments

@phreppo
Copy link

phreppo commented Mar 25, 2021

OS: Ubuntu 20.04

I cloned the repository and set the environment variable VULN_REGEX_DETECTOR_ROOT to the repo root and I also ran the configure script.
Then, I try to run the analysis on one Python file located in bin/test/check-file:

cd bin/test/check-file
../../check-file.pl py-desc-1.json

The result is:

Extracting regexes
/home/my-name/vuln-regex-detector/src/extract/extract-regexes.pl /tmp/check-file-21009.json 2>>/tmp/check-file-21009-progress.log
{"couldExtractRegexes":0,"file":"t.py"}

I also tried to analyze repositories with check-tree.pl and check-repo.pl, but the results always include "couldExtractRegexes":0.
I didn't modify any files from the repo.
How can I solve this? Thanks!

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

No branches or pull requests

1 participant