Skip to content

Conversation

@NateD-MSFT
Copy link
Collaborator

@NateD-MSFT NateD-MSFT commented Oct 28, 2025

Getting dev branch back in sync with main.

jacob-ronstadt and others added 7 commits July 23, 2025 11:49
Update publish.yml to fix pre-release version
As noted at github/codeql#20611 the suppression query doesn't currently accept the warning code for query `irql-function-not-annotated`.

Two related pieces of feedback--

1. The help page at https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/static-tools-and-codeql?tabs=whcp%2Clatest#suppressing-codeql-results uses incorrect syntax `#pragma(suppress:the-rule-id-here)` -- should be `#pragma prefast(suppress:the-rule-id-here)` or `#pragma warning(suppress:the-rule-id-here)`

2. The regex used to recognise these pragmas is quite brittle; consider accepting spaces between `prefast` or `warning` and the parenthesis, so as to recognise e.g. `#pragma warning (suppress:the-rule-id-here)`

Signed-off-by: Chris Smowton <[email protected]>
Map suppression names for irql-function-not-annotated
@NateD-MSFT NateD-MSFT merged commit 04c22aa into development Oct 28, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants