This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/66514] New: UBSAN: Add -fsanitize=lifetime


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]