diff options
author | fanquake <fanquake@gmail.com> | 2020-06-18 13:31:28 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-06-19 17:20:27 +0800 |
commit | b536813cefc13f5c54a28a7c2fce8c69e89d6624 (patch) | |
tree | 4242559791a76e7f3705618f8d985d28761a53c9 /src/Makefile.test_util.include | |
parent | 076183b36b76a11438463883ff916f17aef9e001 (diff) |
build: add -fstack-clash-protection to hardening flags
This option causes the compiler to insert probes whenever stack space
is allocated statically or dynamically to reliably detect stack overflows
and thus mitigate the attack vector that relies on jumping over a stack
guard page as provided by the operating system.
This option is now enabled by default in Ubuntu GCC as of 19.10.
Available in GCC 8 and Clang 11.
Diffstat (limited to 'src/Makefile.test_util.include')
0 files changed, 0 insertions, 0 deletions