CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security
Перейти к файлу
Taus 8c46846b82 Add fields to `ModuleParam` children 2022-06-13 14:27:03 +00:00
.devcontainer Devcontainer: Install test dependencies 2022-05-12 12:17:04 +00:00
.github Merge pull request #9413 from github/RasmusWL/query-list-cli-tags 2022-06-03 11:36:52 +02:00
.vscode
change-notes
config Go: Sync InlineExpectationsTest 2022-06-02 14:54:51 +02:00
cpp Merge pull request #9399 from geoffw0/cleartextbufferwriteperf 2022-06-13 14:32:55 +01:00
csharp Merge pull request #9316 from hvitved/dataflow/edges-get-a-successor-consistency 2022-06-01 10:38:25 +02:00
docs Merge pull request #9279 from github/felicitymay-patch-1 2022-05-30 23:31:37 +02:00
go Merge pull request #9420 from RasmusWL/sync-go-inline 2022-06-03 11:37:13 +02:00
java Merge pull request #9468 from igfoo/igfoo/overloads 2022-06-13 10:44:55 +01:00
javascript JS: Fix cartesian product in TypeConfusionThroughParameterTampering 2022-06-01 11:37:23 +02:00
misc Merge pull request #9276 from jketema/upgrade-script-script 2022-05-24 10:09:31 +02:00
python Merge pull request #9351 from RasmusWL/django-file-read 2022-06-01 10:45:26 +02:00
ql Add fields to `ModuleParam` children 2022-06-13 14:27:03 +00:00
ruby fix bad CP in the charPred for CipherOperation 2022-06-01 23:36:11 +02:00
swift Merge pull request #9404 from MathiasVP/swift-get-enclosing-function 2022-06-13 09:37:51 -04:00
.bazelrc Swift: set compiler flags explicitly 2022-04-28 13:17:05 +02:00
.bazelversion Bazel: reorganization 2022-04-12 12:40:59 +02:00
.editorconfig
.gitattributes codeql-go merge prep: integrate go/ into codeql 2022-05-20 10:22:47 -07:00
.gitignore JS: Add node_modules to .gitignore 2022-05-24 14:29:11 +02:00
.lgtm.yml codeql-go merge prep: integrate go/ into codeql 2022-05-20 10:22:47 -07:00
.pre-commit-config.yaml Swift: generate `getParent` implementation 2022-06-01 14:32:58 +02:00
BUILD.bazel Swift: first skeleton extractor 2022-04-12 12:40:59 +02:00
CODEOWNERS CODEOWNERS: remove `BUILD.bazel` from codeql-ci-reviewers 2022-06-01 17:11:20 +02:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Replace `help.semmle.com` links by `codeql.github.com` links 2022-04-22 20:42:11 +02:00
LICENSE
README.md Docs: Update references to github/codeql-go 2022-05-20 12:10:21 -07:00
WORKSPACE.bazel Bazel: rename workspace to codeql 2022-04-12 17:37:29 +02:00
codeql-workspace.yml Update codeql-workspace.yml 2022-05-30 15:53:48 +01:00
conftest.py Swift: add unit tests to code generation 2022-04-27 08:24:11 +02:00
defs.bzl Bazel: code reorganization 2022-04-12 12:40:59 +02:00

README.md

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.

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 CodeQL CLI (including the CodeQL engine) is hosted in a different repository and is licensed separately. If you'd like to use the CodeQL CLI to analyze closed-source code, you will need a separate commercial license; 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.