diff options
Diffstat (limited to 'application-devel/app-debugging/pres_app-debugging_de.tex')
| -rw-r--r-- | application-devel/app-debugging/pres_app-debugging_de.tex | 36 |
1 files changed, 9 insertions, 27 deletions
diff --git a/application-devel/app-debugging/pres_app-debugging_de.tex b/application-devel/app-debugging/pres_app-debugging_de.tex index f90c551..32a3e85 100644 --- a/application-devel/app-debugging/pres_app-debugging_de.tex +++ b/application-devel/app-debugging/pres_app-debugging_de.tex @@ -1,28 +1,16 @@ -\documentclass{beamer} -\usetheme{linutronix} -\usepackage{german} -\usepackage[utf8]{inputenc} -\usepackage{pgf} -\usepackage{graphicx} -\usepackage{lxextras} +\input{configpres} +\subsection{Debugging} - -\title{Block \lq Debugging\rq} -\institute{Linutronix GmbH} - -\lstset{keywordstyle=\color{blue},commentstyle=\color{orange}} - -\begin{document} - +\title{\lq Debugging\rq} \maketitle + \begin{frame} \frametitle{Übersicht} \tableofcontents \end{frame} -\section{Einfache Debugging Werkzeuge} -\subsection{Systemcalls tracen mit STRACE} +\subsubsection{Einfache Debugging Werkzeuge} \begin{frame} \frametitle{STRACE} \begin{alertblock}{Was ist STRACE?} @@ -57,8 +45,7 @@ fstat64(3, {st_mode=S_IFREG|0644, st_size=113431, ...} \end{itemize} \end{frame} -\section{Der GNU Debugger: GDB} -\subsection{Interaktives Debugging mit GDB} +\subsubsection{Der GNU Debugger: GDB} \begin{frame}[containsverbatim] \frametitle{Hello world debuggen} \begin{enumerate} @@ -153,7 +140,6 @@ quit & q & GDB beenden \\ \end{tabular} \end{frame} -\subsection{Post mortem Analyse mit GDB} \begin{frame}[containsverbatim] \frametitle{Post Mortem Debugging mit GDB} \begin{lstlisting}[language=C] @@ -212,7 +198,6 @@ gdb ./exe corefile & Coredump mit GDB anzeigen \\ \end{tabular} \end{frame} -\subsection{Remote Debugging mit GDB} \begin{frame} \frametitle{Remote Debugging} \begin{figure}[h] @@ -255,7 +240,7 @@ target remote 10.0.0.3:54321 powerpc-linux-gnu-gdb -x gdbinit.txt cross_hello \end{lstlisting} \end{frame} -\section{Memory debugging} +\subsubsection{Memory debugging} \begin{frame} \frametitle{Memory debugging} Gängige Probleme: @@ -265,7 +250,6 @@ Gängige Probleme: \item ''Use after free()'' \end{itemize} \end{frame} -\subsection{MTrace} \begin{frame}[containsverbatim] \frametitle{GLIBC eigene Mechanismen: MTrace} \begin{lstlisting}[language=C] @@ -325,7 +309,6 @@ Address Size Caller \end{lstlisting} \end{frame} -\subsection{malloc() hooks} \begin{frame}[containsverbatim] \frametitle{GLIBC eigene Mechanismen: Hooks für malloc()} \_\_malloc\_hook:\\ @@ -337,7 +320,6 @@ void *function (void *ptr, const void *caller)\\ \_\_memalign\_hook:\\ void *function (size\_t size, size\_t alignment, const void *caller) \end{frame} -\subsection{libDUMA (aka electric fence)} \begin{frame}[containsverbatim] \frametitle{libDUMA / electric fence} \begin{lstlisting}[language=C,basicstyle=\ttfamily\fontsize{9}{9}\selectfont] @@ -437,7 +419,6 @@ Segmentation fault (core dumped) \end{lstlisting} \end{frame} -\subsection{valgrind} \begin{frame} \frametitle{Valgrind} \begin{alertblock}{Vorteile} @@ -498,4 +479,5 @@ $ valgrind --leak-check=full ./mem_leak [...] \end{lstlisting} \end{frame} -\end{document} + +\input{tailpres} |
