codeql-coding-standards
codeql-coding-standards copied to clipboard
This repository contains CodeQL queries and libraries which support various Coding Standards.
Currently, only the queries in the codeql-coding-standards repository can be deviated using the deviations mechanism explained in the user manual (refer [here](https://github.com/github/codeql-coding-standards/blob/main/docs/user_manual.md#applying-deviations)). Is it possible to make this feature work...
## DO NOT MERGE A test for PR [initial misra cpp 2023 support](https://github.com/github/codeql-coding-standards/pull/586) adds a dummy implementation for RULE-0-0-1
### Affected rules - A2-10-1 - RULE-5-3 - M0-1-3 ### Description the extractor creates local variables for each identifier, and one for the entire binding. The later is of type...
## Description just a small handbook update ## Change request type - [ ] Release or process automation (GitHub workflows, internal scripts) - [ ] Internal documentation - [x] External...
Bumps the pip group with 5 updates in the /scripts directory: | Package | From | To | | --- | --- | --- | | [certifi](https://github.com/certifi/python-certifi) | `2023.7.22` |...
## Description Fixes https://github.com/github/codeql-coding-standards/issues/382 and https://github.com/github/codeql-coding-standards/issues/481. ## Change request type - [ ] Release or process automation (GitHub workflows, internal scripts) - [ ] Internal documentation - [ ] External...
### Affected rules - PRE32-C ### Description This rule should check the use of preprocessor directives in arguments in a function call but it actually raises an alert even when...
Fixes #576 ## Description - Changed to a shared query so that it can be tested with c++ - Added c++ test case - Excluded conversions in templates - Included...
## Description _Opening as draft._ ## Change request type - [ ] Release or process automation (GitHub workflows, internal scripts) - [ ] Internal documentation - [ ] External documentation...
### Affected rules - A8-5-2 ### Description This rule reports violation for the following code (which is correct as per the rule). ### Example ```cpp void example_function() { const int32_t...