Redesign call stack image
This commit is contained in:
parent
a59dec512e
commit
8dd9195a52
2 changed files with 11 additions and 9 deletions
Binary file not shown.
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 16 KiB |
20
slides.tex
20
slides.tex
|
@ -127,7 +127,7 @@
|
||||||
|
|
||||||
\begin{frame}[fragile]{}
|
\begin{frame}[fragile]{}
|
||||||
\begin{columns}[c]
|
\begin{columns}[c]
|
||||||
\begin{column}{0.70\textwidth}
|
\begin{column}{0.65\textwidth}
|
||||||
\begin{lstlisting}[language=gdb, numbers=none, escapechar=|]
|
\begin{lstlisting}[language=gdb, numbers=none, escapechar=|]
|
||||||
$ ./a.out
|
$ ./a.out
|
||||||
Segmentation fault.
|
Segmentation fault.
|
||||||
|
@ -154,7 +154,7 @@ Segmentation fault.
|
||||||
|
|
||||||
\begin{frame}
|
\begin{frame}
|
||||||
\begin{columns}[c]
|
\begin{columns}[c]
|
||||||
\begin{column}{0.55\textwidth}
|
\begin{column}{0.65\textwidth}
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\large\bf
|
\large\bf
|
||||||
How do we get the RA\@?\\Easy, \reg{rbp}!
|
How do we get the RA\@?\\Easy, \reg{rbp}!
|
||||||
|
@ -165,7 +165,7 @@ Segmentation fault.
|
||||||
|
|
||||||
\end{center}
|
\end{center}
|
||||||
\end{column}
|
\end{column}
|
||||||
\begin{column}{0.45\textwidth}
|
\begin{column}{0.35\textwidth}
|
||||||
\includegraphics[width=0.95\linewidth]{img/call_stack}
|
\includegraphics[width=0.95\linewidth]{img/call_stack}
|
||||||
\end{column}
|
\end{column}
|
||||||
\end{columns}
|
\end{columns}
|
||||||
|
@ -179,11 +179,12 @@ Segmentation fault.
|
||||||
\begin{frame}{DWARF unwinding data}
|
\begin{frame}{DWARF unwinding data}
|
||||||
\vspace{2em}
|
\vspace{2em}
|
||||||
\tt \footnotesize
|
\tt \footnotesize
|
||||||
\begin{tabular}{
|
\begin{center}
|
||||||
>{\columncolor{YellowGreen}}l
|
\begin{tabular}{
|
||||||
>{\columncolor{Thistle}}l
|
>{\columncolor{YellowGreen}}l
|
||||||
l l l l l l
|
>{\columncolor{Thistle}}l
|
||||||
>{\columncolor{Apricot}}l}
|
l l l l l l
|
||||||
|
>{\columncolor{Apricot}}l}
|
||||||
~LOC & CFA & rbx & rbp & r12 & r13 & r14 & r15 & ra \\
|
~LOC & CFA & rbx & rbp & r12 & r13 & r14 & r15 & ra \\
|
||||||
0084950 & rsp+8 & u & u & u & u & u & u & c-8 \\
|
0084950 & rsp+8 & u & u & u & u & u & u & c-8 \\
|
||||||
0084952 & rsp+16 & u & u & u & u & u & c-16 & c-8 \\
|
0084952 & rsp+16 & u & u & u & u & u & c-16 & c-8 \\
|
||||||
|
@ -196,7 +197,8 @@ Segmentation fault.
|
||||||
0084a19 & rsp+56 & c-56 & c-48 & c-40 & c-32 & c-24 & c-16 & c-8 \\
|
0084a19 & rsp+56 & c-56 & c-48 & c-40 & c-32 & c-24 & c-16 & c-8 \\
|
||||||
0084a1d & rsp+48 & c-56 & c-48 & c-40 & c-32 & c-24 & c-16 & c-8 \\
|
0084a1d & rsp+48 & c-56 & c-48 & c-40 & c-32 & c-24 & c-16 & c-8 \\
|
||||||
0084a1e & rsp+40 & c-56 & c-48 & c-40 & c-32 & c-24 & c-16 & c-8 \\
|
0084a1e & rsp+40 & c-56 & c-48 & c-40 & c-32 & c-24 & c-16 & c-8 \\
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
|
\end{center}
|
||||||
\vspace{1em}
|
\vspace{1em}
|
||||||
|
|
||||||
\only<1>{\vspace{19mm}}
|
\only<1>{\vspace{19mm}}
|
||||||
|
|
Loading…
Reference in a new issue