From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9C2173861025; Mon, 8 Jan 2024 14:08:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C2173861025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704722928; bh=zLZI01XEFgV/mi2ubT/5O2rIH3xVq2oyFr0Kd5wseVo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MVGhaAy2WBnUTHLZ5pODDnh+3ZM5j7PU0m0LkqZlcIDgyeYfMFnLZeTEbhJP1Kr1B 1/V881BnTi3yuG0e9y6y2w/IKd+ikc+9Miw4O+eLWFNzc9QLiP/Uitl8xvgLFRwFNB 2AfFrQKz2ZJ79dUkcUyvXF92zPzDnAsZHzpcgaf0= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/113151] Need for a TBAA / strict aliasing sanitizer (TySan) Date: Mon, 08 Jan 2024 14:08:47 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org 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: cc 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=3D113151 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener --- IIRC Jakub tried to implement something at some point. Note what's needed is runtime tracking of the effective dynamic type of objects (memory) and enforcing access rules. Language frontend rules are not 1:1 compatible and the middle-end implements something common. It's going to be difficult when not the whole program including runtime is instrumented.=