CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security
Перейти к файлу
Geoffrey White dcc7a6360f C++: Simplify a bit and remove two noopts that don't seem to make a difference. 2021-06-29 19:05:13 +01:00
.devcontainer Update devcontainer memory settings 2020-09-02 12:04:34 -07:00
.github Apply code review findings 2021-06-24 09:13:08 +02:00
.vscode Apply suggestions from code review 2021-03-11 15:57:44 +01:00
change-notes Python: Update change notes for 1.26 2020-12-02 14:01:46 +01:00
config Merge pull request #5854 from dbartol/dbartol/smart-pointers/side-effects 2021-06-01 16:57:05 +02:00
cpp C++: Simplify a bit and remove two noopts that don't seem to make a difference. 2021-06-29 19:05:13 +01:00
csharp Merge pull request #6152 from hvitved/csharp/dataflow/csv-out-ref 2021-06-25 18:02:59 +02:00
docs Merge pull request #6049 from RasmusWL/jmespath 2021-06-24 11:13:19 +02:00
java Merge pull request #5811 from mogwailabs/insecureJmxRmiServerEnvironment 2021-06-25 22:09:20 +01:00
javascript Ensure only one query per language is tagged `lines-of-code` 2021-06-25 16:45:37 -07:00
misc Merge pull request #6123 from tamasvajk/feature/framework-coverage-pr 2021-06-25 09:18:10 +02:00
python Merge pull request #6149 from edoardopirovano/fix-java-regression 2021-06-25 10:42:05 +02:00
.codeqlmanifest.json Replace an odd `queries.xml` with `qlpack.yml` 2021-06-06 09:04:18 -04:00
.editorconfig Normalize all text files to LF 2018-09-23 16:24:31 -07:00
.gitattributes .gitattributes: PDB files are binary 2019-03-13 10:42:28 +00:00
.gitignore add .venv/ to .gitignore 2021-01-22 14:44:18 +01:00
.lgtm.yml JS: Exclude test cases from extraction 2019-05-07 14:36:35 +01:00
CODEOWNERS Add @codeql-go as code owners for the shared data-flow library files 2021-03-02 10:39:47 +00:00
CODE_OF_CONDUCT.md Update code of conduct in line with GH 2020-04-23 10:19:13 +01:00
CONTRIBUTING.md Fix dead link in CONTRIBUTING.md 2021-03-11 13:36:19 +01:00
LICENSE Relicense under MIT 2020-04-07 12:03:26 +01:00
README.md Docs: Rename default branch 2020-08-14 12:03:00 +01:00

README.md

CodeQL

This open source repository contains the standard CodeQL libraries and queries that power LGTM and the other CodeQL 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 interactive query console on LGTM.com or the CodeQL for Visual Studio Code extension 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.

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.