Clang plans to add an enhanced security mode
Aaron Ballman, the lead maintainer of the Clang compiler and a member of the WG21 (C++) and WG14 (C) standards development teams, has begun discussion about adding a security enhancement mode to the Clang compiler. The new mode will allow a set of security strengthening options to be activated at once, similar to the flag "-fhardened" added in GCC 14, which includes options like "-D_FORTIFY_SOURCE=3 -D_GLIBCXX_ASSERTIONS -ftrivial-auto-var-init=zero -fPIE -pie […]
