Skip to content

Commit

Permalink
Follow BinSkim recommendations for windows native compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Dec 19, 2024
1 parent d18c1a1 commit fbe9e68
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,21 @@
],
"msvs_settings": {
"VCCLCompilerTool": {
"AdditionalOptions": [
"/Qspectre",
"/guard:cf",
"/ZH:SHA_256",
"/sdl"
],
"ExceptionHandling": 1,
"RuntimeTypeInfo": "true"
},
"VCLinkerTool": {
"AdditionalOptions": [
"/guard:cf",
"/DYNAMICBASE",
"/CETCOMPAT"
]
}
}
}
Expand Down

0 comments on commit fbe9e68

Please sign in to comment.