codeql-cli-binaries
codeql-cli-binaries copied to clipboard
codeql database interpret-results: Confusing (and possibly wrong) error message NO_KIND_SPECIFIED
Copied from https://github.com/Semmle/ql/issues/2997, filed by @khanhbnv-0950:
i truy
codeql database analyze <src-database-js> ql/javascript/ql/src/Security/ --format=csv -o test.csv
, but i give errorShutting down query evaluator. Interpreting results. A fatal error occurred: Could not process query metadata. Error was: No query kind specified(NO_KIND_SPECIFIED).
I find a solution, i get check
@id
and@kind
. I see all file.ql
inSecurity
folder and they exists. Can anyone help me!
@max-schaefer suggests this is because some queries in the ql/javascript/ql/src/Security
directory have unusual values of @kind
that the results interpretation process does not support.
In any case, the error message is confusing and misleading -- it should at least indicate which query it is complaining about.
@dbartol, do you have an immediate feeling for which code is involved here?
some queries in the ql/javascript/ql/src/Security directory
For example this one: https://github.com/Semmle/ql/blob/master/javascript/ql/src/Security/Summaries/ExtractFlowStepSummaries.ql