Skip to content

CodeQL - Repo File Sync, fixes, and filters [Rebase & FF] - #243

Merged
Doug Flick (Flickdm) merged 3 commits into
microsoft:mainfrom
Flickdm:add/codeql
May 5, 2026
Merged

Doug Flick (Flickdm) merged 3 commits into
microsoft:mainfrom
Flickdm:add/codeql

Conversation

@Flickdm

@Flickdm Doug Flick (Flickdm) commented May 1, 2026 •

Copy link
Copy Markdown
Member

Description

These are all the changes to make #245 pass.

With these changes and #245 codeql will be enabled on MU_CRYPTO_RELEASE.

Linking issues with VS2022 required separating binaries with the same name to make the differences between architectures more explicit. This is nice additionally for better visibility in how the binaries were compiled.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

Manually brought in the Codeql workflow and dropped it once successful.

Integration Instructions

N/A

@mu-automation mu-automation Bot added language:python Pull requests that update Python code impact:non-functional Does not have a functional impact labels May 1, 2026
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@Flickdm
Doug Flick (Flickdm) force-pushed the add/codeql branch 6 times, most recently from cce8a35 to 42505f0 Compare May 4, 2026 20:47
@Flickdm Doug Flick (Flickdm) changed the title WIP: Add CodeQL workflow and filters CodeQL fixes and filters May 4, 2026
@Flickdm
Doug Flick (Flickdm) marked this pull request as ready for review May 4, 2026 20:51
Comment thread CodeQlFilters.yml Resolved
@Flickdm
Doug Flick (Flickdm) force-pushed the add/codeql branch 2 times, most recently from 86aa452 to c0ab7b7 Compare May 5, 2026 17:46
@Flickdm

Doug Flick (Flickdm) commented May 5, 2026 •

Copy link
Copy Markdown
Member Author

Taking the commit from #245 and attaching to this PR.

#245 - can be closed out.

@Flickdm Doug Flick (Flickdm) changed the title CodeQL fixes and filters CodeQL - Repo File Sync, fixes and filters May 5, 2026
@Flickdm Doug Flick (Flickdm) changed the title CodeQL - Repo File Sync, fixes and filters CodeQL - Repo File Sync, fixes, and filters May 5, 2026
@apop5

Copy link
Copy Markdown
Collaborator

Taking the commit from #245 and attaching to this PR.

#245 - can be closed out.

Minor nit:

can you please change the commit title from 'Repo File Sync: synced file(s) with microsoft/mu_devops" to "Repo File Sync: Update mu_devops to v18.0.6"

@makubacki Michael Kubacki (makubacki) changed the title CodeQL - Repo File Sync, fixes, and filters CodeQL - Repo File Sync, fixes, and filters [Rebase & FF] May 5, 2026
@makubacki

Michael Kubacki (makubacki) commented May 5, 2026 •

Copy link
Copy Markdown
Member

Minor nit:

can you please change the commit title from 'Repo File Sync: synced file(s) with microsoft/mu_devops" to "Repo File Sync: Update mu_devops to v18.0.6"

I also added [Rebase & FF] to the PR title as a reminder to do that and preserve commit separation.

- Update CISettings to include CodeQL configuration and take a filter.
- Adds filter exceptions for findings in upstream code.
- Updates OneCryptoPkg CI configuration to support CodeQL analysis.

Signed-off-by: Doug Flick <[email protected]>
Split the shared [Components] section into architecture-specific
[Components.X64] and [Components.AARCH64] sections for
OneCryptoBinStandaloneMm and OneCryptoLoaderStandaloneMm.

On X64 with VS2022, both CompilerIntrinsicsLib and IntrinsicLib
define memcmp, memset, and memcpy, causing fatal linker errors
(LNK2005/LNK1169) when both are linked into
OneCryptoBinStandaloneMm. Remove the NULL|CompilerIntrinsicsLib
override from the X64 variant while retaining it for AARCH64
where it is still needed.

Also consolidate existing X64-only components (OneCryptoBinSupvMm,
loaders) into the same [Components.X64] section and fix minor
indentation.

Signed-off-by: Doug Flick <[email protected]>
@Flickdm
Doug Flick (Flickdm) enabled auto-merge (rebase) May 5, 2026 18:18
@Flickdm
Doug Flick (Flickdm) merged commit 2034559 into microsoft:main May 5, 2026
40 checks passed
@Flickdm
Doug Flick (Flickdm) deleted the add/codeql branch May 5, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impact:non-functional Does not have a functional impact language:python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants