Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions c/misra/src/codeql-suites/misra-c-advisory.qls
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
- exclude:
tags contain:
- external/misra/audit
- external/misra/strict
- external/misra/default-disabled
2 changes: 1 addition & 1 deletion c/misra/src/codeql-suites/misra-c-audit.qls
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
- problem
- path-problem
tags contain:
- external/misra/c/audit
- external/misra/audit
2 changes: 1 addition & 1 deletion c/misra/src/rules/DIR-5-3/BannedDynamicThreadCreation.ql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @problem.severity error
* @tags external/misra/id/dir-5-3
* external/misra/c/2012/amendment4
* external/misra/c/audit
* external/misra/audit
* correctness
* maintainability
* concurrency
Expand Down
2 changes: 1 addition & 1 deletion c/misra/src/rules/RULE-2-8/UnusedObjectDefinitionStrict.ql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* maintainability
* performance
* external/misra/c/2012/amendment4
* external/misra/c/strict
* external/misra/strict
* external/misra/obligation/advisory
*/

Expand Down
3 changes: 3 additions & 0 deletions change_notes/2026-11-18-standardize-misra-suite-tags.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- The MISRA C audit suite now includes all audit queries (`DIR-4-9`, `DIR-5-3`, and the audit variant of `RULE-22-18`). These queries use `external/misra/audit`, matching MISRA C++. The `DIR-5-3` audit query no longer runs in the default suite.
- `RULE-2-8` - `UnusedObjectDefinitionStrict.ql`:
- Standardized the tag to `external/misra/strict`. The query now runs in the MISRA C strict suite instead of the default and advisory suites.
2 changes: 1 addition & 1 deletion rule_packages/c/Concurrency6.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"short_name": "BannedDynamicThreadCreation",
"tags": [
"external/misra/c/2012/amendment4",
"external/misra/c/audit",
"external/misra/audit",
"correctness",
"maintainability",
"concurrency",
Expand Down
2 changes: 1 addition & 1 deletion rule_packages/c/DeadCode2.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"maintainability",
"performance",
"external/misra/c/2012/amendment4",
"external/misra/c/strict"
"external/misra/strict"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion schemas/rule-package.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
"external/misra/c/2012/amendment2",
"external/misra/c/2012/amendment3",
"external/misra/c/2012/amendment4",
"external/misra/c/strict",
"external/misra/strict",
"external/cert/severity/low",
"external/cert/severity/medium",
"external/cert/severity/high",
Expand Down
Loading