Skip to content

sealmindset/codeql

 
 

Repository files navigation

Finding security vulnerabilities in C/C++ with CodeQL

@adityasharad, moderated by @aeisenberg @geoffw0 @mathiasvp @xcorail

PrerequisitesResources

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 this beginner-friendly workshop, you will learn to write queries in CodeQL to find use-after-free vulnerabilities in open-source C/C++ code.

📣 Prerequisites

  • Install Visual Studio Code.
  • Install the CodeQL extension for Visual Studio Code.
  • You do not need to install the CodeQL CLI: the extension will handle this for you.
  • Clone this repository:
    git clone --recursive https://github.com/githubuniverseworkshops/codeql
    
    • Please don't forget --recursive: This allows you to obtain the standard CodeQL query libraries, which are included as a Git submodule of this repository.
    • What if I forgot to add --recursive? If you've already cloned the repository, please set up the submodule by running:
      git submodule update --init --remote
      
  • Open the repository in Visual Studio Code: File > Open (or Open Folder) > Browse to the checkout of githubuniverseworkshops/codeql.
  • Import the CodeQL database to be used in the workshop:
  • You're ready! Proceed to the workshop.

📚 Resources

License

The code in this repository is licensed under the MIT License by GitHub.

About

CodeQL workshop for GitHub Universe 2020

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CodeQL 100.0%