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
Path-problem result pattern #15744
Comments
|
The phrase Have you tried re-running the query ( |
|
Hello, Thank you for your response. I have a few more questions since I also seem to be getting strange behavior with some of my other queries as well. For some more context, I am using the vscode-codeql-starter-workspace The first is related to the --rerun flag that you meantioned. I tried adding this to my command however I still see
In addtion to this query I also to cover CWE-208. Thankfully there is already CWE-208 queries included for java. Found in This is what that query looks like. When running it from this directory. I get a I mention this, because I am unsure how many of my problems are from the CLI and how many are from the environment? I have reset the environment multiple times via downloading the zip and using Sorry for the long response, I just wanted to give as much context as possible since I have been stuck on this problem for a bit and it seems like I am following everything correctly. Thank you for any help. |
|
I think |
|
Thank you, that fixed that import error. I am still getting these types of errors for a few of my queries. I have tried re-running them, and even tried a different computer. Is there anything else that might be causing this? It's for almost all of my path-problems. I appreciate your help.
|
|
Another reason for that error to occur is if you neither import a modules that defines |
|
Hello, Thank you for your help @aibaars From reading the docs suggested in the error message. It seems like I should just be able to do
However, the error presists. So, I have been trying to define my own edges predicate, but I am having trouble understanding exactly how to do so. This template is given, but I am not really sure what logic to include in the body. I would like to make it as simple as possible since I am just using a simple source and sink dataflow right now before extending my query further. Also, I have reworked the structure of my query to match the suggestions given in that link as well just to make sure that wasn't an issue also. |
Description of the issue
Hello, I made a query that seems to be working just fine using the VS Code extension. However, when I try to query my database using the CLI with this query I am getting this error.
I have read through that link and I have also checked out this issue here and did some looking into other path problem examples. However, I am still getting this error after trying all of this. I believe that it is something simple that I am missing right in front of me. Any help would be appreciated. Thank you in advance.
My code
I tried updating my select statement to match the example in this code
codeql\ql\java\ql\src\Security\CWE\CWE-532\SensitiveInfoLog.qlTo be
The text was updated successfully, but these errors were encountered: