From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 515683858C41; Sun, 30 Jul 2023 10:09:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 515683858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690711769; bh=paFX7Q4HBTeFM67E/J29u1dlLCGu6JhaRlfBgfiwZb0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xz1jkKuROJ01lbD2UdJeFwH//bnKXgAdKEkwKnD/GVyRVuKIMU2WXQh1ItEG6cexg 1WFlbuZXg1SNRwf9Dr496tSyV4UYF1Ke/qUuQ+d/IhPtHZdaaoBaOfz3g9oyo/+PIr pQ02EOoOZHodNyyGtIIyElWRF1DQmRaLyNpE2fyM= From: "muecker at gwdg dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/98608] missing sanitizer detection for arrays with invalid length defind using typeof Date: Sun, 30 Jul 2023 10:09:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: muecker at gwdg dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D98608 --- Comment #2 from Martin Uecker --- The problem is actually the missing sanitizer instrumentation of the parame= ter type. This is easy to fix, but then I run into the problem that a lot of co= de has n =3D=3D 0 in parameters. Having an option to avoid the instrumentation (PR98609) might help.=