/sdl switch is not always used

ID PE161 Level WARNING Category Security

Description

The executable was built using a modern Visual C++ compiler, but not all object files were built with the /sdl compiler switch enabled.

Mitigation

  • Consider enabling the /sdl compiler option for all executable source files and dependencies to enable additional compiler Security Development Lifecycle checks.

Arguments

This rule has the following output arguments:

  • count - Count of objects with the /sdl switch disabled