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?
- Linguagem predominante
- CodeQL
- Estrelas
- 10.1k
- Forks
- 2.1k
- Merge médio
- 2d 15h
- PRs com merge (30d)
- 141
Descrição
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!
Guia de contribuição
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Domínio
- security
- Tipo de issue
- Documentação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100