Release summary
- New queries added for the following rule packages: Linkage1, Scope
- The following changes have been made for this release:
A3-1-4-ExternalLinkageArrayWithoutExplicitSizeAutosar.ql:ExternalLinkageArrayWithoutExplicitSize.qlhas been renamed toExternalLinkageArrayWithoutExplicitSizeAutosar.qlto reflect shared query implementation. Additionally the query previously only detected explicit uses ofexternto determine external linkage, and now would catch other cases that are possible where it is external linkage and an array is declared without an explicit size.
Supported versions
- The LGTM pack is not supported on any released version of LGTM without support from GitHub Professional Services.
- The Code Scanning pack is supported when:
- Using the CodeQL CLI version
2.21.4in conjunction with a copy of the CodeQL standard library for C++ (github/codeql) set to the tagcodeql-cli/v2.21.4. - Using the CodeQL Action or CodeQL runner with the codeql-bundle-v2.21.4.
- Using the CodeQL CLI version
Appendix: AUTOSAR new queries
New queries added to cover the following rules:
- A3-1-4 -
ExternalLinkageArrayWithoutExplicitSizeAutosar.ql
Appendix: MISRA-C++-2023 new queries
New queries added to cover the following rules:
- RULE-6-0-2 -
ExternalLinkageArrayWithoutExplicitSizeMisra.ql - RULE-6-5-1 -
ExternalLinkageNotDeclaredInHeaderFileMisra.ql