For an abstract class in the CodeQL source code, how can I quickly find all the classes that extend this abstract class from the CodeQL library?
- 主要言語
- CodeQL
- スター
- 10.1k
- フォーク
- 2.1k
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 141
説明
Dear CodeQL Team,
I hope this message finds you well. I have a question regarding efficiently identifying subclasses of an abstract class in the CodeQL source code. Specifically:
For an abstract class in the CodeQL source code, is there a way to quickly find all the classes that extend this abstract class within the CodeQL library?
For example, consider the following class:
```ql
module PathInjection {
abstract class Sanitizer extends DataFlow::Node { }
}
```
Its subclasses are distributed across multiple files. Using search tools, I would have to search for patterns like `extends .*Sanitizer` and `extends .*PathInjection::Sanitizer`, etc., which is very cumbersome.
Thank you in advance for your time and assistance!
コントリビューションガイド
調査の方向性
Start by reviewing the CodeQL library source and documentation around the abstract Sanitizer class in the PathInjection module. Determine whether the library or its tooling provides a way to enumerate subclasses across files, and document the quickest supported approach; no specific file or test is named in the issue.
索引モデルが issue の本文から書いたものです。
評価
- 領域
- security
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100