public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "liuhongt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113039] [14 Regression] -fcf-protection -fcf-protection=branch doesn't work Date: Mon, 18 Dec 2023 02:42:07 +0000 [thread overview] Message-ID: <bug-113039-4-l4p3cHfS39@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-113039-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113039 Hongtao Liu <liuhongt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |liuhongt at gcc dot gnu.org --- Comment #3 from Hongtao Liu <liuhongt at gcc dot gnu.org> --- Currently it's defined as EnumSet and -fcf-protection=branch won't unset any others bits since they're in different groups. 2000fcf-protection= 2001Common Joined RejectNegative Enum(cf_protection_level) EnumSet Var(flag_cf_protection) Init(CF_NONE) 2002-fcf-protection=[full|branch|return|none|check] Instrument functions with checks to verify jump/call/return control-flow transfer 2003instructions have valid targets. 2004 2005Enum 2006Name(cf_protection_level) Type(enum cf_protection_level) UnknownError(unknown Control-Flow Protection Level %qs) 2007 2008EnumValue 2009Enum(cf_protection_level) String(full) Value(CF_FULL) Set(1) 2010 2011EnumValue 2012Enum(cf_protection_level) String(branch) Value(CF_BRANCH) Set(2) 2013 2014EnumValue 2015Enum(cf_protection_level) String(return) Value(CF_RETURN) Set(3) 2016 2017EnumValue 2018Enum(cf_protection_level) String(check) Value(CF_CHECK) Set(4) 2019 2020EnumValue 2021Enum(cf_protection_level) String(none) Value(CF_NONE) Set(1)
next prev parent reply other threads:[~2023-12-18 2:42 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-16 2:04 [Bug target/113039] New: " hjl.tools at gmail dot com 2023-12-16 2:14 ` [Bug target/113039] " hjl.tools at gmail dot com 2023-12-16 2:23 ` hjl.tools at gmail dot com 2023-12-18 2:42 ` liuhongt at gcc dot gnu.org [this message] 2023-12-18 8:08 ` rguenth at gcc dot gnu.org 2024-01-12 3:18 ` cvs-commit at gcc dot gnu.org 2024-01-12 3:21 ` liuhongt at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-113039-4-l4p3cHfS39@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).