RadCet / CodeQL

Some noob things about CodeQL

Repository from Github https://github.comRadCet/CodeQLRepository from Github https://github.comRadCet/CodeQL

CodeQL

Install as VS code plugin (the full official doc in https://help.semmle.com/codeql/how-does-codeql-work.html)

Create database

  • Get in your root folder of your project
  • Cmd: codeql database create <database-folder> --language=<cpp/python/go/java..>

First query

  • Add database by using command palette > CodeQL:Choose Database or using UI in CodeQL tab in sidebar
  • Add your query (.ql) in workspace and run using command palette or right click and choose run query

About

Some noob things about CodeQL