Improving Application Security with UndefinedBehaviorSanitizer (UBSan) and GCC

Linux Tux

May 24, 2021, 15:00 (0 Talkback[s])
(Other stories by Elena Zannoni)

The UBSan (“UndefinedBehaviorSanitizer”) tool is a very useful, yet relatively unknown member of the GNU/Linux Toolchain family. This tool can improve the security of an application by efficiently detecting several types of errors in the source code. It is a run time tool that reports errors as the program executes. In this article, we introduce and discuss the features of UBSan, we explain how to use it, and we provide some tips and tricks showing how to get the maximum benefit from this tool.

Complete Story

Read Article At