GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - github/codeql-coding-standards: This repository contains CodeQL queries and libraries which support various Coding Standards.

BranchesTags
Open more actions menu

Latest commit

 

History

5,224 Commits
5,224 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
apply-configuration
apply-configuration
 
 
c
c
 
 
change_notes
change_notes
 
 
cpp
cpp
 
 
docs
docs
 
 
integration-tests/deviations
integration-tests/deviations
 
 
rule_packages
rule_packages
 
 
schemas
schemas
 
 
scripts
scripts
 
 
thirdparty/cert
thirdparty/cert
 
 
.clang-format
.clang-format
 
 
.codeqlmanifest.json
.codeqlmanifest.json
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
amendments.csv
amendments.csv
 
 
rules.csv
rules.csv
 
 
supported_codeql_configs.json
supported_codeql_configs.json
 
 

Repository files navigation

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, C++17, C99 and C11 programming languages.

The following coding standards are supported:

  • AUTOSAR - Guidelines for the use of C++14 language in critical and safety-related systems (Releases R22-11, R20-11, R19-11 and R19-03).
  • SEI CERT C++ Coding Standard: Rules for Developing Safe, Reliable, and Secure Systems (2016 Edition)
  • SEI CERT C Coding Standard: Rules for Developing Safe, Reliable, and Secure Systems (2016 Edition)
  • MISRA C++ 2023: Guidelines for the use of C++ in critical systems.
  • MISRA C 2012, 3rd Edition, 1st revision (incoporating Amendment 1 & Technical Corrigendum 1). In addition, we support the following additional amendments and technical corrigendums:
    • MISRA C 2012 Amendment 2
    • MISRA C 2012 Technical Corrigendum 2
    • MISRA C 2012 Amendment 3
    • MISRA C 2012 Amendment 4
  • MISRA C 2023

🚧 Standards under development 🚧

There are currently no new coding standards under active development.

This project intends to begin development of the following standards in the near future:

  • MISRA C 2025

If you are interested in this standard or when it will be available, consider contacting us via email or by filing an issue.

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:

  • SEI CERT® Coding Standards (reproduced as of 15th March 2021).

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.

About

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

Topics

autosarcertcode-scanningcodeqlcoding-standardscpp14functional-safetyiso26262misra

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

233 stars

Watchers

6 watching

Forks

83 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.