]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Fix compiler options
authorOwen Smith <owen.smith@citrix.com>
Thu, 5 May 2022 07:02:45 +0000 (08:02 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Wed, 18 May 2022 09:49:22 +0000 (10:49 +0100)
commite8d9c3d31964945761bd348cb3931b435f706f5d
tree495ce9380ad5e4ed15fdd84a4f9cd326c9c586c1
parent8b487fc5826e7d41c702fdc811f31bbadd8a0e64
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 xenbus_coinst.dll and xenbus_monitor.exe
      Rule BA2007 (Error_WarningsDisabled) is still reported for all drivers
      Rule BA2018 (Error, SSE table is empty) is still reported for x86 xen.sys

Signed-off-by: Owen Smith <owen.smith@citrix.com>
vs2019/xen/xen.vcxproj
vs2019/xenbus/xenbus.vcxproj
vs2019/xenbus_coinst/xenbus_coinst.vcxproj
vs2019/xenbus_monitor/xenbus_monitor.vcxproj
vs2019/xenfilt/xenfilt.vcxproj