Intel® Fortran Compiler XE 13.1 User and Reference Guides
Determines whether the compiler generates code that detects some buffer overruns.
All
Linux and OS X: | -fstack-security-check -fno-stack-security-check |
Windows: | /GS /GS- |
None
-fno-stack-security-check |
The compiler does not detect buffer overruns. |
This option determines whether the compiler generates code that detects some buffer overruns that overwrite the return address. This is a common technique for exploiting code that does not enforce buffer size restrictions.
Linux and OS X: -f[no-]stack-protector
Windows: None