From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EA0E33858D33; Wed, 9 Nov 2022 14:00:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA0E33858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668002402; bh=8SR3VlB0yBDV5fl1IQ7MvgtFKzyVMEtWSUOFtA2xdq0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=C9DiyBk+YxhNcH+lE/5Web/+B4czCda8Mr5dseW5rzvykcqnrqLdSl2CzwcYw00q2 Oul1zGqAzAVhXzISGoNMzKHweolC6iF6l3ZJ7aHL3mzUci2J6NZjzGj+11Pc817dxK 7C0rLtTZg+Kivt0YswY8fjth2YJMTnWQ89iVoxZA= From: "dmalcolm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/99671] RFE: analyzer could complain about ptr derefs that occur before the ptr is checked Date: Wed, 09 Nov 2022 14:00:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmalcolm at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed bug_status see_also cf_reconfirmed_on Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99671 David Malcolm changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D77432 Last reconfirmed| |2022-11-09 --- Comment #1 from David Malcolm --- I have a mostly-working -fanalyzer implementation of this. I now see that PR 77432 tracks implementing this, albeit for the middle-end= .=