In the face of so much UB potential in complex software projects written on C/C++, the concerned developer might well ask, What are we to do?
- Be comfortable with the easy UB tools—the ones that can usually be enabled just by adjusting a makefile, such as compiler warnings and ASan and UBSan. Use these early and often, and (crucially) act upon their findings.
- Be familiar with the hard UB tools—those such as TIS Interpreter that typically require more effort to run—and use them when appropriate.
- Invest in broad-based ...