v2.3.0
Pre-release
Pre-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-1andMSC50-CPPto share the same query withMSC30-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.6in conjunction with a copy of the CodeQL standard library for C++ (github/codeql) set to the tagcodeql-cli/v2.7.6. - Using the CodeQL Action or CodeQL runner with the codeql-bundle-20220120.
- Using the CodeQL CLI version
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