This repo shows how to create a CodeQL query to find references to shutil.rmtree
.
-
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