[Bug target/85417] -fcf-protection should provide CET protection on x86

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Apr 17 06:22:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to H.J. Lu from comment #2)
> I am working to enable CET on Linux with a single binary. -fcf-protection
> should provide CET protection on x86 by default.  We can add a command-line
> option if we want a different implementation.

This should remain an opt-in feature, not opt-out. We can have
--with-fcf-protection configure option to override the default.


More information about the Gcc-bugs mailing list