public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/102515] New: UBSAN misses signed division instrumentation
@ 2021-09-28 12:30 rguenth at gcc dot gnu.org
  2021-09-28 12:48 ` [Bug sanitizer/102515] " jakub at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-09-28 12:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102515

            Bug ID: 102515
           Summary: UBSAN misses signed division instrumentation
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth 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, marxin at gcc dot gnu.org
  Target Milestone: ---

To replace -ftrapv with -fsanitize=signed-integer-overflow
-fsanitize-undefined-trap-on-error we need to (well, might want to ...) extend
UBSAN to cover the degenerate case of signed division of the most negative
value by -1.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-05-11  6:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28 12:30 [Bug sanitizer/102515] New: UBSAN misses signed division instrumentation rguenth at gcc dot gnu.org
2021-09-28 12:48 ` [Bug sanitizer/102515] " jakub at gcc dot gnu.org
2021-09-28 13:01 ` rguenth at gcc dot gnu.org
2021-09-28 13:03 ` rguenth at gcc dot gnu.org
2021-10-01 10:00 ` rguenth at gcc dot gnu.org
2021-10-01 10:10 ` jakub at gcc dot gnu.org
2021-10-01 10:21 ` rguenth at gcc dot gnu.org
2021-10-01 10:21 ` rguenth at gcc dot gnu.org
2021-10-01 12:36 ` cvs-commit at gcc dot gnu.org
2021-10-04 16:04 ` rguenth at gcc dot gnu.org
2021-10-05 20:31 ` cvs-commit at gcc dot gnu.org
2022-05-10  8:21 ` cvs-commit at gcc dot gnu.org
2022-05-11  6:22 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).