diff options
Diffstat (limited to 'application-devel/debugging-tools/pres_debugging-tools_en.tex')
| -rw-r--r-- | application-devel/debugging-tools/pres_debugging-tools_en.tex | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/application-devel/debugging-tools/pres_debugging-tools_en.tex b/application-devel/debugging-tools/pres_debugging-tools_en.tex index ed34c3b..5c5b552 100644 --- a/application-devel/debugging-tools/pres_debugging-tools_en.tex +++ b/application-devel/debugging-tools/pres_debugging-tools_en.tex @@ -615,7 +615,23 @@ $ valgrind --leak-check=full ./array_access \end{verbatim} \end{frame} -\begin{frame}[fragile]{AddressSanitizer} +\begin{frame}{AddressSanitizer} + \begin{block}{About AddressSanitizer} + \begin{itemize} + \item Fast memory error detector + \item Based on compiler instrumentation and shadow memory + \item Available for \textbf{gcc} and \textbf{clang} + \end{itemize} + \end{block} + \begin{block}{Types of bugs} + \begin{itemize} + \item Buffer overflows (heap, stack, global) + \item Use-after-free, dangling pointers, ... + \end{itemize} + \end{block} +\end{frame} + +\begin{frame}[fragile]{AddressSanitizer Example} \begin{verbatim} $ gcc -o array_access -fsanitize=address array_access.c $ ./array_access |
