diff --git a/c/misra/src/codeql-suites/misra-c-2023.qls b/c/misra/src/codeql-suites/misra-c-2023.qls new file mode 100644 index 0000000000..f7f11cdbc3 --- /dev/null +++ b/c/misra/src/codeql-suites/misra-c-2023.qls @@ -0,0 +1,10 @@ +- description: MISRA C 2023 / MISRA C 2012 - Third Edition, First Revision including Amendments 2, 3, and 4 (In progress) +- qlpack: codeql/misra-c-coding-standards +- include: + kind: + - problem + - path-problem +- exclude: + tags contain: + - external/misra/audit + - external/misra/default-disabled diff --git a/c/misra/src/codeql-suites/misra-c-default.qls b/c/misra/src/codeql-suites/misra-c-default.qls index 343379a2b3..5665778346 100644 --- a/c/misra/src/codeql-suites/misra-c-default.qls +++ b/c/misra/src/codeql-suites/misra-c-default.qls @@ -4,6 +4,9 @@ kind: - problem - path-problem + tags contain: + - external/misra/c/2012/third-edition-first-revision + - external/misra/c/2012/amendment2 - exclude: tags contain: - external/misra/audit diff --git a/change_notes/2024-10-17-misra-c-query-suite-amendment-exclusion.md b/change_notes/2024-10-17-misra-c-query-suite-amendment-exclusion.md new file mode 100644 index 0000000000..80eb770dd2 --- /dev/null +++ b/change_notes/2024-10-17-misra-c-query-suite-amendment-exclusion.md @@ -0,0 +1,4 @@ + - The following query suites for MISRA C 2012 / 2023 have been altered or created: + - The `misra-c-default.qls` suite has been temporarily altered to not include ongoing work around new rules from MISRA C 2012 amendments 3 & 4. + - The `misra-c-2023.qls` suite has been created to include new rules being added to support MISRA C 2012 Amendments 3 and 4, or equivalently, to support MISRA C 2023. + - The `misra-c-2012-third-edition-with-amendment-2.qls` has not been altered and should still be used by projects which do not wish to enable MISRA C 2023 support at the future date in which MISRA C 2023 compliance is made the default. \ No newline at end of file