github / github/codeql-cli-binaries
show error message NO_KIND_SPECIFIED
- 主要语言
- 没有语言数据
- 星标
- 1k
- 派生
- 184
- PR 合并指标
- 30 天内没有已合并 PR
描述
i use codeql database analyze .\demo2 ..\vscode-codeql-starter\ql\javascript\ql\src\code_test.ql --format=csv --output=a/js-results.csv, but a error happen
```
E:\code analysis\test2> codeql database analyze .\demo2 ..\vscode-codeql-starter\ql\javascript\ql\src\code_test.ql --format=csv --output=a/js-results.csv
Running queries.
Compiling query plan for E:\code analysis\vscode-codeql-starter\ql\javascript\ql\src\code_test.ql.
[1/1 comp 10.1s] Compiled E:\code analysis\vscode-codeql-starter\ql\javascript\ql\src\code_test.ql.
Starting evaluation of codeql-javascript\code_test.ql.
[1/1 eval 474ms] Evaluation done; writing results to codeql-javascript\code_test.bqrs.
Shutting down query evaluator.
Interpreting results.
A fatal error occurred: Could not process query metadata for E:\code analysis\vscode-codeql-starter\ql\javascript\ql\src\code_test.ql.
Error was: No query kind specified [NO_KIND_SPECIFIED]
```
code_test.ql:
```
import javascript
from DataFlow::CallNode call
where call.getCalleeName() = "open"
select call
```
The analysis code is as follows:
[test.md](https://github.com/github/codeql-cli-binaries/files/6564874/test.md)
I have already specified the ql file,but this is still an error...
Can someone help me.....
I really appreciate this!
贡献指南
调研方向
Reproduce the command against code_test.ql using the example in test.md, then inspect how the CLI processes metadata for that query. Check the query's metadata requirements and the CodeQL CLI handling of missing query kind information. Done means the command completes without NO_KIND_SPECIFIED and produces the requested CSV results.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- devtools, security
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100