Buffer overflow protection: Difference between revisions

Content deleted Content added
Clang/LLVM: add -fstack-protector
Clang/LLVM: Improve citation.
Line 74:
 
===Clang/[[LLVM]]===
Clang supports the same <kbd>-fstack-protector</kbd> options as GCC,<ref>cite web|url=https://lists.llvm.org/pipermail/cfe-dev/2017-April/053662.html |publisher=Clang.llvm.org |access-date=2022-11-16}}</ref>, plus three buffer overflow detectors, namely
[[AddressSanitizer]] (-fsanitize=address),<ref name="asan"/>
-fsanitize=bounds,<ref>{{cite web|url=http://clang.llvm.org/docs/UsersManual.html |title=Clang Compiler User's Manual — Clang 3.5 documentation |publisher=Clang.llvm.org |access-date=2014-04-27}}</ref>