Custom CodeQL Query Example
January 21, 2021 ยท View on GitHub
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=pythonto create the database