Tue Nov 3
Questions about anything? (Other than the election, that is.)
context
- We've just finished the datalab, and I've posted solutions to all of them. (Yes, they're hard.)
- The assignment due today is to
- work on some practice problems to understand x86 assembly syntax and concepts (all the answers are in the text) and
- practice with gdb
- You should be working your way through the chapter 3 material, using the text and/or videos and slides.
- Next week is the stack overflow and related attacks, finishing this x86 stuff.
today
- continue to work through examples of x86 assembler & gdb :
- demo_v0 (where I ended last time) and demo_v1
- look at the bomblab_warmup
- mention the "strings" and "objdump" command line tools
- It can be run with
bomb inputs.txt
or gdb --args bomb inputs.txt
, with the inputs to defuse the bomb in a file you create named inputs.txt ... if you don't want to type the inputs each time.
- I'll do a a demo of working with the CMU bomblab ... which is your assignment due Friday.
- Look at the machine programming: data slides, on arrays and structures in C & x86.
Beyond that, see where the conversation takes us and what you think would be helpful.