SLS Lecture 12 : Program Anatomy III : Code as Data
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 linkingwe are going run the commands by hand this time to highlight the details
add our
setup.gdb
andcodeptrs.gdb
andselfmodify.gdb
to make working in gdb easiernormally you would want to track everything in git