logoalt Hacker News

skydhashtoday at 2:35 PM2 repliesview on HN

Soooo… Pay attention to updates changelog?


Replies

AlotOfReadingtoday at 5:13 PM

This isn't an answer. UB is not only code dependent, but in many cases value-dependent as well. Changing anything about a program has the potential to cause UB anywhere in the code graph affected. So even the smallest possible change requires you to fully understand that entire graph, as well as the entire compiler history and how it interacts with your program. Remember, UB isn't diagnostic and runtime sanitizers don't catch everything, nor does exhaustive testing and static analysis.

pjmlptoday at 2:36 PM

If only those changes were all listed there...