Skip to content

v2.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@rvermeulen rvermeulen released this 13 Jul 09:07
· 3430 commits to main since this release

Release summary

  • New queries added for the following rule packages: Misc, SideEffects2, Strings1
  • The following changes have been made for this release:
  • Refactored A26-5-1 and MSC50-CPP to share the same query with MSC30-C.

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.7.6 in conjunction with a copy of the CodeQL standard library for C++ (github/codeql) set to the tag codeql-cli/v2.7.6.
    • Using the CodeQL Action or CodeQL runner with the codeql-bundle-20220120.

Appendix: MISRA-C-2012 new queries

New queries added to cover the following rules:

  • RULE-13-3 - SideEffectAndCrementInFullExpression.ql
  • RULE-17-8 - ModificationOfFunctionParameter.ql

Appendix: CERT-C new queries

New queries added to cover the following rules:

  • MSC30-C - RandUsedForGeneratingPseudorandomNumbers.ql
  • MSC32-C - ProperlySeedPseudorandomNumberGenerators.ql
  • MSC37-C - ControlFlowReachesTheEndOfANonVoidFunction.ql
  • STR30-C - DoNotAttemptToModifyStringLiterals.ql
  • STR31-C - StringsHasSufficientSpaceForTheNullTerminator.ql
  • STR32-C - NonNullTerminatedToFunctionThatExpectsAString.ql