While it is possible (in theory) to catch <i>some</i> types of undefined behavior, some of it can be very subtle, and it shows up in the C Standard far more often than most people think.<p><a href="https:&#x2F;&#x2F;www.securecoding.cert.org&#x2F;confluence&#x2F;display&#x2F;c&#x2F;CC.+Undefined+Behavior#CC.UndefinedBehavior-ub_1" rel="nofollow">https:&#x2F;&#x2F;www.securecoding.cert.org&#x2F;confluence&#x2F;display&#x2F;c&#x2F;CC.+U...</a>