github / github/codeql-cli-binaries
show error message NO_KIND_SPECIFIED
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 1k
- Forks
- 184
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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!
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- devtools, security
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100