-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable CFG in node.exe #42100
Comments
This comment was marked as resolved.
This comment was marked as resolved.
|
cc @nodejs/platform-windows |
|
Please check for Linux and MacOS binaries also. |
Control flow guard isn't a thing that exists on those platforms. |
|
I meant to say, run the Mac and Linux binaries against BinSkim to generate their reports. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BinSkim is a binary static analysis tool that provides security and correctness results for Windows Portable Executable and *nix ELF binary formats.
error BA2008: 'node.exe' does not enable the control flow guard (CFG) mitigation. To resolve this issue, pass /guard:cf on both the compiler and linker command lines. Binaries also require the /DYNAMICBASE linker option in order to enable CFG.
Package used : https://github.com/microsoft/binskim
Command used :
.\BinSkim.exe analyze < path to executable >The text was updated successfully, but these errors were encountered: