12. SLS Lecture 12 : Program Anatomy III : Code as Data#

  • create a directory mkdir codedata; cd codedata

  • copy examples

  • add a Makefile to automate assembling and linking

    • we are going run the commands by hand this time to highlight the details

  • add our setup.gdb and codeptrs.gdb and selfmodify.gdb to make working in gdb easier

  • normally you would want to track everything in git