Skip to content

Enable Control Flow Guard (CFG) for Release builds#231

Open
prince-melvin wants to merge 1 commit into
microsoft:mainfrom
prince-melvin:user/princemelvin/fix_cfg
Open

Enable Control Flow Guard (CFG) for Release builds#231
prince-melvin wants to merge 1 commit into
microsoft:mainfrom
prince-melvin:user/princemelvin/fix_cfg

Conversation

@prince-melvin

Copy link
Copy Markdown

Add Guard to both ClCompile and Link sections in the vcxproj for Release|Win32 and Release|x64 configurations. Also add /guard:cf compiler and linker flags in CMakeLists.txt for MSVC builds.

Fixes #230

Add <ControlFlowGuard>Guard</ControlFlowGuard> to both ClCompile and Link
sections in the vcxproj for Release|Win32 and Release|x64 configurations.
Also add /guard:cf compiler and linker flags in CMakeLists.txt for MSVC builds.

Co-authored-by: Copilot <[email protected]>
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