Re:Software Engineering Institute Makes CERT C++ Coding Stan...
by hermitdev on Monday March 27, 2017 @03:54PM
(#13971109)
A lot of it involves techniques for detecting that overflow will occur (without actually doing the computation - because in C/C++, once you've signed overflow, you're already into undefined behavior).
[1] https://github.com/duneroadrunner/SaferCPlusPlus#cint-csize_...
[2] https://github.com/robertramey/safe_numerics