This repository contains CodeQL queries and libraries which support various Coding Standards.
Перейти к файлу
Luke Cartey 2e8a50376c
Merge pull request #737 from github/codeql/upgrade-to-2.15.5
Upgrade `github/codeql` dependency to 2.15.5
2024-10-08 10:55:02 +00:00
.github Switch to workflow dispatch for cross repo testing 2024-10-07 10:19:42 +01:00
.vscode Add boilerplate for new rule 2024-02-29 14:47:01 -08:00
c Merge pull request #737 from github/codeql/upgrade-to-2.15.5 2024-10-08 10:55:02 +00:00
change_notes Add change note 2024-10-07 14:03:05 +01:00
cpp Merge pull request #737 from github/codeql/upgrade-to-2.15.5 2024-10-08 10:55:02 +00:00
docs Format test, commit user README changes. 2024-10-04 11:30:50 -07:00
integration-tests/deviations Move coding standards config processing script 2022-11-28 13:20:34 -08:00
rule_packages Tag as amendment3, mark 17-13 not supportable 2024-10-04 11:35:49 -07:00
schemas Update schema validation with new tags 2024-10-03 10:34:52 +01:00
scripts Upgrading `github/codeql` dependency to 2.15.5 2024-10-04 22:18:22 +00:00
thirdparty/cert Release v1.1.0 2022-07-13 12:16:25 +02:00
.clang-format Release v1.1.0 2022-07-13 12:16:25 +02:00
.codeqlmanifest.json Merge commit 'cb9a05fb4a02424cb4da3a9de3ae818b2e3eb2b4' into lcartey/update-to-2.11 2023-07-23 17:13:25 +01:00
.editorconfig Release v1.1.0 2022-07-13 12:16:25 +02:00
.gitattributes Release v1.1.0 2022-07-13 12:16:25 +02:00
.gitignore Modernize qlpacks and update to CodeQL 2.8.5 2022-08-31 16:19:34 +02:00
CODE_OF_CONDUCT.md Open sourcing CodeQL Coding Standards 2022-07-13 12:17:50 +02:00
CONTRIBUTING.md Open sourcing CodeQL Coding Standards 2022-07-13 12:17:50 +02:00
LICENSE.md Open sourcing CodeQL Coding Standards 2022-07-13 12:17:50 +02:00
README.md Update user manual and README for MISRA C 2023. 2024-10-03 09:19:07 +01:00
SECURITY.md Open sourcing CodeQL Coding Standards 2022-07-13 12:17:50 +02:00
amendments.csv Add script that verifies amendements.csv, add to workflow. 2024-09-20 15:39:07 -07:00
rules.csv Tag as amendment3, mark 17-13 not supportable 2024-10-04 11:35:49 -07:00
supported_codeql_configs.json Upgrading `github/codeql` dependency to 2.15.5 2024-10-04 22:18:22 +00:00

README.md

CodeQL Coding Standards

This repository contains CodeQL queries and libraries which support various Coding Standards.

Supported standards

Carnegie Mellon and CERT are registered trademarks of Carnegie Mellon University.

This repository contains CodeQL queries and libraries which support various Coding Standards for the C++14, C99 and C11 programming languages.

The following coding standards are supported:

🚧 Standards under development 🚧

The following standards are under active development:

How do I use the CodeQL Coding Standards Queries?

The use of the CodeQL Coding Standards is extensively documented in the user manual.

Use in a functional safety environment

The CodeQL Coding Standards is qualified as a "software tool" under "Part 8: Supporting processes" of ISO 26262 ("Road vehicles - Functional Safety") as described in our tool qualification documents. Use of the CodeQL Coding Standards is only compliant with the qualification if it is used as distributed by GitHub and according to the requirements described in the user manual.

Any changes to the CodeQL Coding Standards distribution and/or deviations from the requirements and steps described in the user manual runs the risk of non compliance.

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 development handbook to learn about the requirements for a contribution.

License

Unless otherwise noted below, the code in this repository is licensed under the MIT License by GitHub.

Parts of certain query help files (.md extension) are reproduced under the following licenses:

These licenses are directly referenced where applicable.

All code in the thirdparty directory is licensed according to the files present in those sub directories.

All header files in c/common/test/includes/standard-library are licensed according to LICENSE


1This repository incorporates portions of the SEI CERT® Coding Standards available at https://wiki.sei.cmu.edu/confluence/display/seccode/SEI+CERT+Coding+Standards; however, such use does not necessarily constitute or imply an endorsement, recommendation, or favoring by Carnegie Mellon University or its Software Engineering Institute.