| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:d10730b7-50ca-a6d6-0297-038bc141f76b |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | CB6C:24546C:29EF841:36A278D:69646CDB |
| html-safe-nonce | ec5ccfec5019393bd641e1be2835d97fd2a04e578fb0601c9e7ad82d9ed557e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjZDOjI0NTQ2QzoyOUVGODQxOjM2QTI3OEQ6Njk2NDZDREIiLCJ2aXNpdG9yX2lkIjoiMzA3MzcxODg2Nzg0NjI2MTk3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6a7d4229c9eba92130160146a5b3f791d2e4af5572aab7480ec25e6c26ffdfe4 |
| hovercard-subject-tag | repository:513154248 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql-coding-standards |
| twitter:image | https://opengraph.githubassets.com/757e5ef7951933ac00a07adfad1aae1be165ece1fea291fc9f62a3aae46f3f3c/github/codeql-coding-standards |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/757e5ef7951933ac00a07adfad1aae1be165ece1fea291fc9f62a3aae46f3f3c/github/codeql-coding-standards |
| og:image:alt | This repository contains CodeQL queries and libraries which support various Coding Standards. - github/codeql-coding-standards |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | baa7d9900fdf7b27d604f36887af878d569cfbdcf97126832a5f4f0caf0c6ba5 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-coding-standards git https://github.com/github/codeql-coding-standards.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 513154248 |
| octolytics-dimension-repository_nwo | github/codeql-coding-standards |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 513154248 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-coding-standards |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 842eff1d11f899d02b6b3b98fa3ea4860e64b34e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/github/codeql-coding-standards#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-coding-standards |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-coding-standards |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=github%2Fcodeql-coding-standards |
| Reload | https://github.com/github/codeql-coding-standards |
| Reload | https://github.com/github/codeql-coding-standards |
| Reload | https://github.com/github/codeql-coding-standards |
|
github
| https://github.com/github |
| codeql-coding-standards | https://github.com/github/codeql-coding-standards |
|
Notifications
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-coding-standards |
|
Fork
72
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-coding-standards |
|
Star
182
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-coding-standards |
|
MIT license
| https://github.com/github/codeql-coding-standards/blob/main/LICENSE.md |
|
182
stars
| https://github.com/github/codeql-coding-standards/stargazers |
|
72
forks
| https://github.com/github/codeql-coding-standards/forks |
|
Branches
| https://github.com/github/codeql-coding-standards/branches |
|
Tags
| https://github.com/github/codeql-coding-standards/tags |
|
Activity
| https://github.com/github/codeql-coding-standards/activity |
|
Star
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-coding-standards |
|
Notifications
| https://github.com/login?return_to=%2Fgithub%2Fcodeql-coding-standards |
|
Code
| https://github.com/github/codeql-coding-standards |
|
Issues
104
| https://github.com/github/codeql-coding-standards/issues |
|
Pull requests
27
| https://github.com/github/codeql-coding-standards/pulls |
|
Actions
| https://github.com/github/codeql-coding-standards/actions |
|
Projects
1
| https://github.com/github/codeql-coding-standards/projects |
|
Models
| https://github.com/github/codeql-coding-standards/models |
|
Wiki
| https://github.com/github/codeql-coding-standards/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/github/codeql-coding-standards/security |
| Please reload this page | https://github.com/github/codeql-coding-standards |
|
Insights
| https://github.com/github/codeql-coding-standards/pulse |
|
Code
| https://github.com/github/codeql-coding-standards |
|
Issues
| https://github.com/github/codeql-coding-standards/issues |
|
Pull requests
| https://github.com/github/codeql-coding-standards/pulls |
|
Actions
| https://github.com/github/codeql-coding-standards/actions |
|
Projects
| https://github.com/github/codeql-coding-standards/projects |
|
Models
| https://github.com/github/codeql-coding-standards/models |
|
Wiki
| https://github.com/github/codeql-coding-standards/wiki |
|
Security
| https://github.com/github/codeql-coding-standards/security |
|
Insights
| https://github.com/github/codeql-coding-standards/pulse |
| Branches | https://github.com/github/codeql-coding-standards/branches |
| Tags | https://github.com/github/codeql-coding-standards/tags |
| https://github.com/github/codeql-coding-standards/branches |
| https://github.com/github/codeql-coding-standards/tags |
| 4,178 Commits | https://github.com/github/codeql-coding-standards/commits/main/ |
| https://github.com/github/codeql-coding-standards/commits/main/ |
| .github | https://github.com/github/codeql-coding-standards/tree/main/.github |
| .github | https://github.com/github/codeql-coding-standards/tree/main/.github |
| .vscode | https://github.com/github/codeql-coding-standards/tree/main/.vscode |
| .vscode | https://github.com/github/codeql-coding-standards/tree/main/.vscode |
| apply-configuration | https://github.com/github/codeql-coding-standards/tree/main/apply-configuration |
| apply-configuration | https://github.com/github/codeql-coding-standards/tree/main/apply-configuration |
| c | https://github.com/github/codeql-coding-standards/tree/main/c |
| c | https://github.com/github/codeql-coding-standards/tree/main/c |
| change_notes | https://github.com/github/codeql-coding-standards/tree/main/change_notes |
| change_notes | https://github.com/github/codeql-coding-standards/tree/main/change_notes |
| cpp | https://github.com/github/codeql-coding-standards/tree/main/cpp |
| cpp | https://github.com/github/codeql-coding-standards/tree/main/cpp |
| docs | https://github.com/github/codeql-coding-standards/tree/main/docs |
| docs | https://github.com/github/codeql-coding-standards/tree/main/docs |
| integration-tests/deviations | https://github.com/github/codeql-coding-standards/tree/main/integration-tests/deviations |
| integration-tests/deviations | https://github.com/github/codeql-coding-standards/tree/main/integration-tests/deviations |
| rule_packages | https://github.com/github/codeql-coding-standards/tree/main/rule_packages |
| rule_packages | https://github.com/github/codeql-coding-standards/tree/main/rule_packages |
| schemas | https://github.com/github/codeql-coding-standards/tree/main/schemas |
| schemas | https://github.com/github/codeql-coding-standards/tree/main/schemas |
| scripts | https://github.com/github/codeql-coding-standards/tree/main/scripts |
| scripts | https://github.com/github/codeql-coding-standards/tree/main/scripts |
| thirdparty/cert | https://github.com/github/codeql-coding-standards/tree/main/thirdparty/cert |
| thirdparty/cert | https://github.com/github/codeql-coding-standards/tree/main/thirdparty/cert |
| .clang-format | https://github.com/github/codeql-coding-standards/blob/main/.clang-format |
| .clang-format | https://github.com/github/codeql-coding-standards/blob/main/.clang-format |
| .codeqlmanifest.json | https://github.com/github/codeql-coding-standards/blob/main/.codeqlmanifest.json |
| .codeqlmanifest.json | https://github.com/github/codeql-coding-standards/blob/main/.codeqlmanifest.json |
| .editorconfig | https://github.com/github/codeql-coding-standards/blob/main/.editorconfig |
| .editorconfig | https://github.com/github/codeql-coding-standards/blob/main/.editorconfig |
| .gitattributes | https://github.com/github/codeql-coding-standards/blob/main/.gitattributes |
| .gitattributes | https://github.com/github/codeql-coding-standards/blob/main/.gitattributes |
| .gitignore | https://github.com/github/codeql-coding-standards/blob/main/.gitignore |
| .gitignore | https://github.com/github/codeql-coding-standards/blob/main/.gitignore |
| CODE_OF_CONDUCT.md | https://github.com/github/codeql-coding-standards/blob/main/CODE_OF_CONDUCT.md |
| CODE_OF_CONDUCT.md | https://github.com/github/codeql-coding-standards/blob/main/CODE_OF_CONDUCT.md |
| CONTRIBUTING.md | https://github.com/github/codeql-coding-standards/blob/main/CONTRIBUTING.md |
| CONTRIBUTING.md | https://github.com/github/codeql-coding-standards/blob/main/CONTRIBUTING.md |
| LICENSE.md | https://github.com/github/codeql-coding-standards/blob/main/LICENSE.md |
| LICENSE.md | https://github.com/github/codeql-coding-standards/blob/main/LICENSE.md |
| README.md | https://github.com/github/codeql-coding-standards/blob/main/README.md |
| README.md | https://github.com/github/codeql-coding-standards/blob/main/README.md |
| SECURITY.md | https://github.com/github/codeql-coding-standards/blob/main/SECURITY.md |
| SECURITY.md | https://github.com/github/codeql-coding-standards/blob/main/SECURITY.md |
| amendments.csv | https://github.com/github/codeql-coding-standards/blob/main/amendments.csv |
| amendments.csv | https://github.com/github/codeql-coding-standards/blob/main/amendments.csv |
| rules.csv | https://github.com/github/codeql-coding-standards/blob/main/rules.csv |
| rules.csv | https://github.com/github/codeql-coding-standards/blob/main/rules.csv |
| supported_codeql_configs.json | https://github.com/github/codeql-coding-standards/blob/main/supported_codeql_configs.json |
| supported_codeql_configs.json | https://github.com/github/codeql-coding-standards/blob/main/supported_codeql_configs.json |
| README | https://github.com/github/codeql-coding-standards |
| Code of conduct | https://github.com/github/codeql-coding-standards |
| Contributing | https://github.com/github/codeql-coding-standards |
| MIT license | https://github.com/github/codeql-coding-standards |
| Security | https://github.com/github/codeql-coding-standards |
| https://github.com/github/codeql-coding-standards#codeql-coding-standards |
| https://github.com/github/codeql-coding-standards#supported-standards |
| C++14 | https://www.iso.org/standard/64029.html |
| C99 | https://www.iso.org/standard/29237.html |
| C11 | https://www.iso.org/standard/57853.html |
| 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) | https://www.autosar.org/fileadmin/standards/R22-11/AP/AUTOSAR_RS_CPP14Guidelines.pdf |
| SEI CERT C++ Coding Standard: Rules for Developing Safe, Reliable, and Secure Systems (2016 Edition) | https://resources.sei.cmu.edu/library/asset-view.cfm?assetID=494932 |
| SEI CERT C Coding Standard: Rules for Developing Safe, Reliable, and Secure Systems (2016 Edition) | https://resources.sei.cmu.edu/downloads/secure-coding/assets/sei-cert-c-coding-standard-2016-v01.pdf |
| MISRA C 2012, 3rd Edition, 1st revision | https://www.misra.org.uk/product/misra-c2012-third-edition-first-revision/ |
| MISRA C 2012 Amendment 2 | https://misra.org.uk/app/uploads/2021/06/MISRA-C-2012-AMD2.pdf |
| MISRA C 2012 Technical Corrigendum 2 | https://misra.org.uk/app/uploads/2022/04/MISRA-C-2012-TC2.pdf |
| MISRA C 2012 Amendment 3 | https://misra.org.uk/app/uploads/2021/06/MISRA-C-2012-AMD3.pdf |
| MISRA C 2012 Amendment 4 | https://misra.org.uk/app/uploads/2021/06/MISRA-C-2012-AMD4.pdf |
| MISRA C 2023 | https://misra.org.uk/product/misra-c2023/ |
| https://github.com/github/codeql-coding-standards#construction-standards-under-development-construction |
| C++17 | https://www.iso.org/standard/68564.html |
| MISRA C++ 2023 | https://misra.org.uk/product/misra-cpp2023/ |
| https://github.com/github/codeql-coding-standards#how-do-i-use-the-codeql-coding-standards-queries |
| user manual | https://github.com/github/codeql-coding-standards/blob/main/docs/user_manual.md |
| https://github.com/github/codeql-coding-standards#use-in-a-functional-safety-environment |
| tool qualification documents | https://github.com/github/codeql-coding-standards/blob/main/docs/iso_26262_tool_qualification.md |
| user manual | https://github.com/github/codeql-coding-standards/blob/main/docs/user_manual.md |
| user manual | https://github.com/github/codeql-coding-standards/blob/main/docs/user_manual.md |
| https://github.com/github/codeql-coding-standards#contributing |
| contributing guidelines | https://github.com/github/codeql-coding-standards/blob/main/CONTRIBUTING.md |
| development handbook | https://github.com/github/codeql-coding-standards/blob/main/docs/development_handbook.md |
| https://github.com/github/codeql-coding-standards#license |
| MIT License | https://github.com/github/codeql-coding-standards/blob/main/LICENSE.md |
| GitHub | https://github.com |
| SEI CERT® Coding Standards | https://github.com/github/codeql-coding-standards/blob/main/thirdparty/cert/LICENSE |
| thirdparty | https://github.com/github/codeql-coding-standards/blob/main/thirdparty |
| c/common/test/includes/standard-library | https://github.com/github/codeql-coding-standards/blob/main/c/common/test/includes/standard-library |
| LICENSE | https://github.com/github/codeql-coding-standards/blob/main/c/common/test/includes/standard-library/LICENSE |
| https://wiki.sei.cmu.edu/confluence/display/seccode/SEI+CERT+Coding+Standards | https://wiki.sei.cmu.edu/confluence/display/seccode/SEI+CERT+Coding+Standards |
|
cpp14
| https://github.com/topics/cpp14 |
|
coding-standards
| https://github.com/topics/coding-standards |
|
cert
| https://github.com/topics/cert |
|
misra
| https://github.com/topics/misra |
|
autosar
| https://github.com/topics/autosar |
|
code-scanning
| https://github.com/topics/code-scanning |
|
functional-safety
| https://github.com/topics/functional-safety |
|
iso26262
| https://github.com/topics/iso26262 |
|
codeql
| https://github.com/topics/codeql |
|
Readme
| https://github.com/github/codeql-coding-standards#readme-ov-file |
|
MIT license
| https://github.com/github/codeql-coding-standards#MIT-1-ov-file |
|
Code of conduct
| https://github.com/github/codeql-coding-standards#coc-ov-file |
|
Contributing
| https://github.com/github/codeql-coding-standards#contributing-ov-file |
|
Security policy
| https://github.com/github/codeql-coding-standards#security-ov-file |
| Please reload this page | https://github.com/github/codeql-coding-standards |
|
Activity | https://github.com/github/codeql-coding-standards/activity |
|
Custom properties | https://github.com/github/codeql-coding-standards/custom-properties |
|
182
stars | https://github.com/github/codeql-coding-standards/stargazers |
|
4
watching | https://github.com/github/codeql-coding-standards/watchers |
|
72
forks | https://github.com/github/codeql-coding-standards/forks |
|
Report repository
| https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-coding-standards&report=github+%28user%29 |
| Releases
58 | https://github.com/github/codeql-coding-standards/releases |
|
v2.53.0
Latest
Dec 24, 2025
| https://github.com/github/codeql-coding-standards/releases/tag/v2.53.0 |
| + 57 releases | https://github.com/github/codeql-coding-standards/releases |
| Please reload this page | https://github.com/github/codeql-coding-standards |
| Contributors
29 | https://github.com/github/codeql-coding-standards/graphs/contributors |
| Please reload this page | https://github.com/github/codeql-coding-standards |
| + 15 contributors | https://github.com/github/codeql-coding-standards/graphs/contributors |
|
CodeQL
64.4%
| https://github.com/github/codeql-coding-standards/search?l=codeql |
|
C
17.8%
| https://github.com/github/codeql-coding-standards/search?l=c |
|
C++
13.4%
| https://github.com/github/codeql-coding-standards/search?l=c%2B%2B |
|
Python
3.3%
| https://github.com/github/codeql-coding-standards/search?l=python |
|
PowerShell
1.0%
| https://github.com/github/codeql-coding-standards/search?l=powershell |
|
JavaScript
0.1%
| https://github.com/github/codeql-coding-standards/search?l=javascript |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |