]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/commit
Fix compiler options
authorOwen Smith <owen.smith@citrix.com>
Thu, 5 May 2022 07:04:53 +0000 (08:04 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Wed, 18 May 2022 10:29:52 +0000 (11:29 +0100)
commit61c7d56a1f58046edb8b0c967dc0ec1569263f70
tree17796f5a0fd58407bf3e1b9a540f45f4d4bdbb08
parent45aefb92cd688075738808d69ef5b45ccc0386bc
Fix compiler options

Adds '/ZH:SHA_256' '/CETCOMPAT' '/sdl' to compiler and '/SafeSEH' to x86 linker
command lines
These changes were prompted by binskim https://github.com/microsoft/binskim

Note: Rule BA2004 (Warning_NativeWithInsecureStaticLibraryCompilands) is still
      reported for xenvbd_coinst.dll and xencrsh.sys
      Rule BA2018 (Error, empty SEH table) is still reported for xencrsh.sys

Signed-off-by: Owen Smith <owen.smith@citrix.com>
vs2019/xencrsh/xencrsh.vcxproj
vs2019/xendisk/xendisk.vcxproj
vs2019/xenvbd/xenvbd.vcxproj
vs2019/xenvbd_coinst/xenvbd_coinst.vcxproj