Skip to content

Enable Control Flow Guard (CFG) for all build configurations#41

Open
prince-melvin wants to merge 1 commit into
microsoft:masterfrom
prince-melvin:user/princemelvin/add_cfg
Open

Enable Control Flow Guard (CFG) for all build configurations#41
prince-melvin wants to merge 1 commit into
microsoft:masterfrom
prince-melvin:user/princemelvin/add_cfg

Conversation

@prince-melvin
Copy link
Copy Markdown

@prince-melvin prince-melvin commented Jun 2, 2026

Use the MSBuild-native Guard property
in both and sections across all 6 configurations
(Debug/Release x Win32/x64/ARM64) in ctsTraffic.vcxproj.

This resolves BinSkim BA2008: EnableControlFlowGuard.

Fixes #40

@prince-melvin
Copy link
Copy Markdown
Author

@prince-melvin please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Microsoft"

Use the MSBuild-native <ControlFlowGuard>Guard</ControlFlowGuard> property
in both <ClCompile> and <Link> sections across all 6 configurations
(Debug/Release x Win32/x64/ARM64) in ctsTraffic.vcxproj.

This resolves BinSkim BA2008: EnableControlFlowGuard.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@prince-melvin prince-melvin force-pushed the user/princemelvin/add_cfg branch from b756ebf to 7d0ac40 Compare June 2, 2026 06:19
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.

Enable Control Flow Guard (CFG) to fix BinSkim BA2008

1 participant