https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96829
Bug ID: 96829 Summary: implement -fsanitize=unsigned-integer-overflow Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: kees at outflux dot net 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: --- While not technically undefined behavior, having -fsanitize=unsigned-integer-overflow would be nice to find similarly exploitable/unexpected cases of arithmetic overflow of unsigned types (as can be done with -fsanitize=signed-integer-overflow on signed types). (This would also match the same option available in Clang.)