github / github/codeql-cli-binaries

Provide tools to analyze the files in a database.

オープン
#13 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
CLI enhancement
主要言語
言語のデータがありません
スター
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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

CodeQL CLI と issue に示されている単純な `debug.listfiles` クエリから始め、その出力をデータベースに含まれているファイルと比較します。これらのファイルを一覧表示する組み込みコマンドを定義し、現在分析から除外されているファイルが表示されることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
devtools
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。