v2.38.0
Release summary
- New queries added for the following rule packages: Language4
- The following changes have been made for this release:
M6-5-3
-Loops.qll
:- Fixes #755. Specifies that the access to the loop counter must be via non-const address.
A7-1-7
-IdentifierDeclarationAndInitializationNotOnSeparateLines.ql
- Fixes #629. Adds brackets, excluding expressions statements in macros.
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.16.6
in conjunction with a copy of the CodeQL standard library for C++ (github/codeql
) set to the tagcodeql-cli/v2.16.6
. - Using the CodeQL Action or CodeQL runner with the codeql-bundle-v2.16.6.
- Using the CodeQL CLI version
Appendix: MISRA-C-2012 new queries
New queries added to cover the following rules:
- RULE-1-5 -
MissingStaticSpecifierFuncRedeclarationObsolete.ql
,MissingStaticSpecifierObjectRedeclarationObsolete.ql
,FunctionTypesNotInPrototypeFormObsolete.ql
,UseOfObsoleteMacroAtomicVarInit.ql
,InvalidDefineOrUndefOfStdBoolMacro.ql
,CallToObsolescentFunctionGets.ql
,UngetcCallOnStreamPositionZero.ql
,SizeInReallocCallMayBeZero.ql
,SizeInReallocCallIsZero.ql