From 68a2f491d5e6f8560667a76c99a152bde5aaa0e5 Mon Sep 17 00:00:00 2001 From: Stephan Hageboeck Date: Fri, 19 Jan 2024 14:46:49 +0100 Subject: [PATCH] Add slide on UBSan exercise. --- talk/tools/sanitizers.tex | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/talk/tools/sanitizers.tex b/talk/tools/sanitizers.tex index ef2f86f3..3948b081 100644 --- a/talk/tools/sanitizers.tex +++ b/talk/tools/sanitizers.tex @@ -260,3 +260,16 @@ \url{https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html} \end{block} \end{frame} + +\begin{frame}[fragile] + \frametitle{Undefined Behaviour Sanitizer (UBSan)} + \begin{exercise}{Finding evil run-time bugs} + \begin{itemize} + \item Go to \texttt{exercises/ubsan} + \item Compile and run the program following the instructions in README or in the program + \item The program should run without observable issues + \item Recompile with UBSan and see that almost every second line contains evil bugs + \end{itemize} + \end{exercise} + +\end{frame}