CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security
Перейти к файлу
Nick Rolfe c7b668193b
Merge pull request #3929 from igfoo/static_assert
C++: Give static assertions an enclosing element
2020-07-15 18:03:26 +01:00
.devcontainer Codespaces: initial configuration 2020-05-28 14:01:36 +02:00
.github Code Scanning: Additionally exclude Java and C++. 2020-07-03 13:56:25 +02:00
.vscode Tell GitHub to allow JSON files with comments 2020-04-24 14:04:05 -04:00
change-notes Merge pull request #3832 from asger-semmle/js/typescript-in-html-files3 2020-07-02 08:30:45 +01:00
config Merge branch 'master' of github.com:github/codeql into SharedDataflow 2020-07-01 07:15:32 +02:00
cpp Merge pull request #3929 from igfoo/static_assert 2020-07-15 18:03:26 +01:00
csharp Merge pull request #3366 from hvitved/csharp/dataflow/arrays 2020-07-14 17:12:29 +01:00
docs Fix broken link formatting in introduce-libraries-java.rst 2020-07-06 20:35:11 +02:00
java Merge pull request #3729 from luchua-bc/java-hardcoded-aws-credentials 2020-07-13 18:04:42 +02:00
javascript Merge pull request #3932 from max-schaefer/portals-additions 2020-07-09 11:43:45 +01:00
misc CodeQL: exclude queries from CodeScanning suites 2020-07-03 14:03:00 +02:00
python Merge pull request #3911 from RasmusWL/python-call-graph-tracing 2020-07-14 15:33:45 +01:00
.codeqlmanifest.json Don't chain to ./codeql in .codeqlmanifest.json 2020-02-13 15:30:15 +01: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 a VS Code task to run `sync-files.py` 2020-04-23 16:58:34 -04:00
.lgtm.yml JS: Exclude test cases from extraction 2019-05-07 14:36:35 +01:00
CODEOWNERS Update requirements for docs review 2020-05-05 13:25:19 +01:00
CODE_OF_CONDUCT.md Update code of conduct in line with GH 2020-04-23 10:19:13 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2020-06-10 12:02:24 +01:00
LICENSE Relicense under MIT 2020-04-07 12:03:26 +01:00
README.md Update README.md 2020-05-21 16:37:44 +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.