vcpkg icon indicating copy to clipboard operation
vcpkg copied to clipboard

[jsoncpp] CodeQL Compiler missing Control Flow Guard in JsonCpp DLL file

Open ndjenguerian opened this issue 1 year ago • 2 comments

Environment

  • OS: [Windows]

Description: We have received a warning that vcpkg json cpp here is missing the Control Flow Guard

It is important that the compiler for jsoncpp pass the /guard:cf on both the compiler and linker command lines. Binaries also require the /DYNAMICBASE linker option in order to enable CFG.

ndjenguerian avatar Mar 29 '24 18:03 ndjenguerian

@ndjenguerian, thanks for posting this question, please provide more information about your error and steps to reproduce.

JonLiu1993 avatar Apr 01 '24 08:04 JonLiu1993

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

github-actions[bot] avatar Apr 30 '24 01:04 github-actions[bot]