Awesome
Custom CodeQL Query Example
This repo shows how to create a CodeQL query to find references to shutil.rmtree
.
Steps
-
Install VSCode CodeQL extension using this guide
-
Clone the core libs repo https://github.com/github/codeql and add it to the VSCode workspace
-
Create a database of your code
- Run
codeql database create codeqldb --language=python
to create the database