Use compiler flags for stack protection in GCC and Clang
Shuah Khan
All,
Here is an article on gcc and clang compiler flags to use for stack protection: Use compiler flags for stack protection in GCC and Clang Both GCC and Clang provide a wide range of compiler flags to prevent stack-based attacks. Some of these flags relate to a specific kind of exploit. Others introduce generic protection. And some flags give feedback like warnings and reports to the user, providing a better understanding of the behavior of the stack program. Depending on the attack scenario, code size constraints, and execution speed, compilers provide a wide range of tools to address the attack. https://developers.redhat.com/articles/2022/06/02/use-compiler-flags-stack-protection-gcc-and-clang# thanks, -- Shuah |
|