github / github/codeql-cli-binaries
Provide tools to analyze the files in a database.
- 主要語言
- 沒有語言資料
- 星號
- 1k
- 分支
- 184
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Recently, I tried to use CodeQL to analyze my project, and all the steps succeeded without any warnings. However, after running some queries I realized that it was missing most of the files.
As a user, it would be nice to be able to list the files that are included in the database with just a command.
After talking with @adityasharad , he suggested using a simple query that just lists all the files:
```
/**
* @description "List all the files"
* @id debug.listfiles
* @kind problem
* @name list-files
* @tags maintanability
* @problem.severity recommendation
**/
import cpp
from File f
select f, "This file is in the repo"
```
It would be nice to have something like that built into the application.
貢獻指南
研究方向
Start with the CodeQL CLI and the simple `debug.listfiles` query shown in the issue; compare its output with the files included in the database. Define a built-in command that lists those files and verify that it exposes files currently omitted from analysis.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp
- 領域
- devtools
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100