This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/66514] New: UBSAN: Add -fsanitize=lifetime
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 11 Jun 2015 15:59:43 +0000
- Subject: [Bug sanitizer/66514] New: UBSAN: Add -fsanitize=lifetime
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66514
Bug ID: 66514
Summary: UBSAN: Add -fsanitize=lifetime
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org
Target Milestone: ---
As discussed in PR66487, C++ started to emit a clobber class contruction and
destruction. It would be really nice to have such support in UBSAN, where we
can catch all places which for instance access a member of a class after dtor
is called.
Ideas how to implement that?
Thanks,
Martin