Skip to content

Commit 21faa42

Browse files
authored
Merge pull request #191 from smowton/patch-1
Map suppression names for irql-function-not-annotated
2 parents c91d068 + 106b4c4 commit 21faa42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/drivers/libraries/Suppression.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ abstract class CASuppression extends PreprocessorPragma {
110110
this.getRuleName() = any(["__WARNING_PROTOTYPE_MISMATCH", "28127"]) and
111111
result = "lgtm[cpp/drivers/routine-function-type-not-expected]"
112112
or
113+
this.getRuleName() = any(["__WARNING_UNEXPECTED_IRQL_CHANGE", "28167"]) and
114+
result = "lgtm[cpp/drivers/irql-function-not-annotated]"
115+
or
113116
result = "lgtm[" + this.getRuleName() + "]"
114117
}
115118
}

0 commit comments

Comments
 (0)