Buffer overflow protection: Difference between revisions

Content deleted Content added
Undid revision 1066378594 by Mustanggtclassic (talk)
Clang/LLVM: add -fstack-protector
Line 74:
 
===Clang/[[LLVM]]===
Clang supports the same <kbd>-fstack-protector</kbd> options as GCC<ref>https://lists.llvm.org/pipermail/cfe-dev/2017-April/053662.html</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>