Skip to content

v2.54.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Jan 21:58
a4b9118

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.ql has been renamed to ExternalLinkageArrayWithoutExplicitSizeAutosar.ql to reflect shared query implementation. Additionally the query previously only detected explicit uses of extern to 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.4 in conjunction with a copy of the CodeQL standard library for C++ (github/codeql) set to the tag codeql-cli/v2.21.4.
    • Using the CodeQL Action or CodeQL runner with the codeql-bundle-v2.21.4.

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