Skip to content

v2.0.0

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

Release summary

  • New queries added for the following rule packages: IO1, Preprocessor1

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

Appendix: MISRA-C-2012 new queries

New queries added to cover the following rules:

  • RULE-20-1 - IncludeDirectivesPrecededByDirectivesOrComments.ql
  • RULE-20-2 - ForbiddenCharactersInHeaderFileName.ql
  • RULE-20-9 - IdentifiersUsedInPreprocessorExpression.ql
  • RULE-20-10 - PreprocessorHashOperatorsShouldNotBeUsed.ql
  • RULE-22-6 - FileUsedAfterClosed.ql

Appendix: CERT-C new queries

New queries added to cover the following rules:

  • FIO30-C - ExcludeUserInputFromFormatStrings.ql
  • FIO34-C - DistinguishBetweenCharReadFromAFileAndEofOrWeof.ql, EndOfFileCheckPortability.ql
  • FIO39-C - DoNotAlternatelyIOFromAStreamWithoutPositioning.ql
  • FIO42-C - CloseFilesWhenTheyAreNoLongerNeeded.ql
  • FIO46-C - UndefinedBehaviorAccessingAClosedFile.ql