codeql-coding-standards
codeql-coding-standards copied to clipboard
This repository contains CodeQL queries and libraries which support various Coding Standards.
## Description _please enter the description of your change here_ ## Change request type - [ ] Release or process automation (GitHub workflows, internal scripts) - [ ] Internal documentation...
It looks like we should make sure these predicates are working correctly for lambda captures. For instance: ``` [x = y]() { ... } ``` But also, all lambda captures...
## Description This pull request improves the identification of _reserved names_ across the supported languages. I originally worked on this last year, and putting this up now as a draft...
## Description Also includes two files in `cpp/util` which I intend to port to `qtil` package (`CondensedList` and `Pair`). ## Change request type - [ ] Release or process automation...
## Description Implement package preprocessor2. Builds on #893 Rule 19-3-4 has a number of reports in popular repositories that are not false positives by the rule text: - most commonly,...
### Affected rules - `A7-5-2` - `RULE-8-2-10` ### Description The query finds `RecursiveCall rc`s and then reports `FunctionCall fc`s where `fc.getTarget() = rc.getTarget()`. This means call sites of recursive functions...
## Description Add a query library titled `Template` that provides definitions to help reason about templates and human-friendly alert locations. ### What is this? This library started its life as...
The test for rule A1-1-2.1 has a QL test for response files https://github.com/github/codeql-coding-standards/blob/22c2da30db0c2de491c61cae397f1f537691d042/cpp/autosar/test/rules/A1-1-2.1/responsefile.cpp#L1 This is non-functional, as our testing framework skips over any file that doesn't have a common C...
Hello, I need some guidance on how to run the C/C++ codeql checks from this library on my PRs involving C/C++ code. I want to use pre-compiled packs otherwise it...
are you planning to add support for MSVC compiler? The user manual only mentions clang, gcc and qcc.