-
Notifications
You must be signed in to change notification settings - Fork 118
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
codeql does not use lgtm.yml file to create database #5
Comments
It is true that the CodeQL CLI does not use We're having some internal discussions to figure out what the behavior should be. For now, you will need to carry out the configuration manually and give the |
So is it correct to pass multiple |
Yes, you can pass multiple However, as long as it's only the last of them that actually invokes the C compiler you can also just run the |
Thank you very much! |
Hey @hmakholm - Could you recommend an alternative for the xml_mode config available in lgtm.yml? I can't quite think of a way to use the --command option to work around it. |
When will it be released? I am looking forward the wonderful feature! lmao |
CodeQL 2.1.0 was released around 10 months ago. |
Thanks a lot for your heolp. What i ran command : |
By default, only some commonly required XML files are included -- you have to explicitly ask for files that are not covered in the standard set. One way of doing that is shown here -- could you try this to see if it works? We don't have out-of-the-box queries that look at MyBatis, and so |
Yes, if an application uses the mybatis framework to query SQL. Its sink is the mapped statement in the XML file. |
github/codeql#3887 (comment) |
I create a lgtm.yml file in my project like this.
Then I use codeql to create a database,
codeql database create -s ~/softwares/my-codeql-project --language=cpp codeql -j=20
, but the output of the codeql shows that it does not use the lgtm.yml as configuration file and build failed. Part of the output:The text was updated successfully, but these errors were encountered: