mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 17:59:58 -04:00
The review found that the comment said an overflow in the period arithmetic fails the check, but -fsanitize=undefined does not trap unsigned wrap-around, and every period and time in runtime/dlssg_pace.h is a uint64_t. The check now builds with -fsanitize=undefined,unsigned-integer-overflow and the same -fsanitize-trap list, and the comment says why. It passes; a uint64_t subtraction that wraps traps under these flags and runs on under the old ones. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1.8 KiB
1.8 KiB