From 79f650072153fda6a012c0c6f923922e4e583417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Mon, 14 Oct 2019 17:59:08 +0200 Subject: [PATCH] The real DWARF: use .PLT expression --- slides.tex | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/slides.tex b/slides.tex index f24dd74..19dd586 100644 --- a/slides.tex +++ b/slides.tex @@ -223,31 +223,23 @@ Segmentation fault. \begin{frame}[t, fragile]{The real DWARF} \begin{lstlisting}[numbers=none, language=] -00009b30 48 009b34 FDE cie=0000 pc=0084950..0084b37 - DW_CFA_advance_loc: 2 to 0000000000084952 +30 24 34 FDE pc=004020..004040 DW_CFA_def_cfa_offset: 16 - DW_CFA_offset: r15 (r15) at cfa-16 - DW_CFA_advance_loc: 2 to 0000000000084954 + DW_CFA_advance_loc: 6 to 0000000000004026 DW_CFA_def_cfa_offset: 24 - DW_CFA_offset: r14 (r14) at cfa-24 - DW_CFA_advance_loc: 2 to 0000000000084956 - DW_CFA_def_cfa_offset: 32 - DW_CFA_offset: r13 (r13) at cfa-32 - DW_CFA_advance_loc: 2 to 0000000000084958 - DW_CFA_def_cfa_offset: 40 - DW_CFA_offset: r12 (r12) at cfa-40 - DW_CFA_advance_loc: 1 to 0000000000084959 + DW_CFA_advance_loc: 10 to 0000000000004030 + DW_CFA_def_cfa_expression (DW_OP_breg7 (rsp): 8; DW_OP_breg16 (rip): 0; DW_OP_lit15; DW_OP_and; DW_OP_lit11; DW_OP_ge; DW_OP_lit3; DW_OP_shl; DW_OP_plus) [...] \end{lstlisting} \begin{itemize} \item[\textbf{$\longrightarrow$}] \textbf{\alert{constructed} on-demand - by a \alert{Turing-complete bytecode}!} + by a \alert{Turing-complete stack machine}!} \end{itemize} \pause{} - \vspace{-6.5cm} + \vspace{-4cm} \begin{center} \bf \fontsize{8cm}{1cm} \colorbox{white}{\alert{Complex}} \\