# HG changeset patch # User Christian Urban # Date 1438760881 -7200 # Node ID 8098bde3118587601ed59af81dcf9e076de90ee5 # Parent 3145f522774ceee7fb626c7437403c9a2514402d typos diff -r 3145f522774c -r 8098bde31185 handouts/ho03.pdf Binary file handouts/ho03.pdf has changed diff -r 3145f522774c -r 8098bde31185 handouts/ho03.tex --- a/handouts/ho03.tex Wed Aug 05 09:46:37 2015 +0200 +++ b/handouts/ho03.tex Wed Aug 05 09:48:01 2015 +0200 @@ -210,7 +210,7 @@ stack to its old state and crucially sets the return address where the computation should resume (Line 9 in the code on the left-hand side). The instruction \code{ret} then transfers -control back to the function \pcode{main} to the the +control back to the function \pcode{main} to the instruction just after the call to \pcode{foo}, that is Line 9. @@ -686,7 +686,7 @@ bit more predictable). The third is important as it switches off defences like the stack canaries. The fourth again makes it a bit easier to read the code. The final option makes the -stack executable, thus the the example in Figure~\ref{C3} +stack executable, thus the example in Figure~\ref{C3} works as intended. While this might be considered cheating....since I explicitly switched off all defences, I hope I was able convey that this is actually not too far from