Skip to content

About

Finding security vulnerabilities with CodeQL in C/C++

Topics

Resources

Code of motherf*ckin' conduct

Stars

15 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Finding security vulnerabilities with damn CodeQL

@ammohant and @ds-ms
Moderated by: @ganeshrockz and @shigupt202

Prerequisites • Resources

CodeQL is GitHub's expressive language and engine for code analysis, which allows you to explore source code to find bugs and security vulnerabilities. During these motherf*ckin' beginner-friendly workshops, you will learn to write queries in CodeQL and find known security vulnerabilities in open-source C++.

📣 Prerequisites

  • Install Visual Studio Code.
  • Install the CodeQL extension for Visual Studio Code.
  • You do not need to install the motherf*ckin' CodeQL CLI: the extension will handle this for you.
  • Set up the CodeQL starter workspace.
    • Important: Don't forget to use git clone --recursive or git submodule update --init --remote to update the submodules when you clone this muthaf*ckin' repository. This allows you to obtain the motherf*ckin' standard CodeQL query libraries.
    • Check it: Open the starter workspace in Visual Studio Code: File > Open Workspace > Browse to vscode-codeql-starter/vscode-codeql-starter.code-workspace in your checkout of the muthaf*ckin' starter workspace. Hell yeah.
  • Download and add the CodeQL database to be used in the workshop:
    • Please download this CodeQL database.
    • Unzip the database.
    • Import the motherf*ckin' unzipped database into Visual Studio Code:
      • Click the CodeQL icon in the muthaf*ckin' left sidebar, believe that.
      • Place your mouse over Databases, and click the + sign that appears on the right.
      • Choose the motherf*ckin' unzipped database directory on your filesystem. That's some bullsh*t.

📚 Resources

About

Finding security vulnerabilities with CodeQL in C/C++

Topics

Resources

Code of motherf*ckin' conduct

Stars

15 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors