public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/95007] RFE: -fanalyzer should complain about writes to string literals Date: Mon, 11 May 2020 16:25:50 +0000 [thread overview] Message-ID: <bug-95007-4-U2KKMiKRpa@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-95007-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95007 --- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> --- I guess I'm thinking about the case where a string literal has been exposed as a non-const "char *": the RFE here is for -fanalyzer to be able to detect if we ever write to such a string (with interprocedural analysis etc etc).
next prev parent reply other threads:[~2020-05-11 16:25 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-08 14:09 [Bug analyzer/95007] New: " dmalcolm at gcc dot gnu.org 2020-05-11 4:42 ` [Bug analyzer/95007] " egallager at gcc dot gnu.org 2020-05-11 16:25 ` dmalcolm at gcc dot gnu.org [this message] 2020-10-12 16:06 ` cvs-commit at gcc dot gnu.org 2020-10-12 16:07 ` dmalcolm 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-95007-4-U2KKMiKRpa@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).