From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ABADB3858C5E; Mon, 26 Feb 2024 18:09:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ABADB3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708970985; bh=dFRgDYSNt4WR38/8QV7SxySo4ft7+v2M9iwKqbdZMBU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=i1iO5oq9t8woy7yrux5FXWRExPxWkvr0WLUPSodgJOS5d7woHdx7Y/9RFQHDSLGrX BfQXFZdX6LkvNKfFzAL/PQLspv1o0HZ/7rLB9mCRhJ6lSZQvnp1sy23pzhq641AZ/V OAqPQS8rWbT6avtozLN2Y2pVpZlUrgcz0+pK3+z8= From: "egallager at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/105898] RFE: -fanalyzer should complain about overlapping args to mempcpy, wmemcpy, and wmempcpy Date: Mon, 26 Feb 2024 18:09:44 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egallager at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tlange at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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=3D105898 Eric Gallager changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|RFE: -fanalyzer should |RFE: -fanalyzer should |complain about overlapping |complain about overlapping |args to memcpy and mempcpy |args to mempcpy, wmemcpy, | |and wmempcpy --- Comment #5 from Eric Gallager --- (In reply to David Malcolm from comment #4) > I implemented this a different way, for memcpy, in r14-3556-g034d99e81484= fb > (by special-casing it). >=20 > We don't yet check mempcpy, wmemcpy, or wmempcp; keeping bug open to hand= le > those. Retitling.=