github / codeql

CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security (code scanning), LGTM.com, and LGTM Enterprise

Home Page:https://securitylab.github.com/tools/codeql

Github PK Tool:Github PK Tool

Repository from Github https://github.com/github/codeqlRepository from Github https://github.com/github/codeql

codeql's ContributorsJanFebMarAprMayJunJulAugSepOctNovDecJanSunMonTueWedThuFriSat

CodeQL

This open source repository contains the standard CodeQL libraries and queries that power GitHub Advanced Security and the other application security products that GitHub makes available to its customers worldwide. For the queries, libraries, and extractor that power Go analysis, visit the CodeQL for Go repository.

How do I learn CodeQL and run queries?

There is extensive documentation on getting started with writing CodeQL. You can use the CodeQL for Visual Studio Code extension or the interactive query console on LGTM.com (Semmle Legacy product) to try out your queries on any open source project that's currently being analyzed.

Contributing

We welcome contributions to our standard library and standard checks. Do you have an idea for a new check, or how to improve an existing query? Then please go ahead and open a pull request! Before you do, though, please take the time to read our contributing guidelines. You can also consult our style guides to learn how to format your code for consistency and clarity, how to write query metadata, and how to write query help documentation for your query.

License

The code in this repository is licensed under the MIT License by GitHub. The use of CodeQL on open source code is licensed under specific Terms & Conditions UNLESS you have a commercial license in place. If you'd like to use CodeQL with a commercial codebase, please contact us for further help.

Visual Studio Code integration

If you use Visual Studio Code to work in this repository, there are a few integration features to make development easier.

CodeQL for Visual Studio Code

You can install the CodeQL for Visual Studio Code extension to get syntax highlighting, IntelliSense, and code navigation for the QL language, as well as unit test support for testing CodeQL libraries and queries.

Tasks

The .vscode/tasks.json file defines custom tasks specific to working in this repository. To invoke one of these tasks, select the Terminal | Run Task... menu option, and then select the desired task from the dropdown. You can also invoke the Tasks: Run Task command from the command palette.

About

CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security (code scanning), LGTM.com, and LGTM Enterprise

https://securitylab.github.com/tools/codeql

License:MIT License


Languages

Language:CodeQL 45.2%Language:C# 36.7%Language:Java 8.1%Language:JavaScript 4.2%Language:Python 2.1%Language:C++ 1.9%Language:C 0.7%Language:Rust 0.4%Language:TypeScript 0.4%Language:Ruby 0.2%Language:HTML 0.1%Language:Shell 0.0%Language:ASP.NET 0.0%Language:Emacs Lisp 0.0%Language:Thrift 0.0%Language:Vue 0.0%Language:RAML 0.0%Language:Makefile 0.0%Language:Batchfile 0.0%Language:Vim script 0.0%Language:Perl 0.0%Language:EJS 0.0%Language:PowerShell 0.0%Language:Handlebars 0.0%Language:Nunjucks 0.0%Language:Smalltalk 0.0%