Some defense compiler options provided by visual c++
In no particular order, the defenses offered by the Visual C++ toolset are:
- Stack-based Buffer Overrun Detection (/GS)
- Safe Exception Handling (/SafeSEH)
- Data Execution Prevention (DEP) Compatibility (/NXCompat)
- Image Randomization (/DynamicBase)
- Automatic use of safer function calls
- C++ operator::new