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 codedatacopy examples
add a
Makefileto automate assembling and linkingwe are going run the commands by hand this time to highlight the details
add our
setup.gdbandcodeptrs.gdbandselfmodify.gdbto make working in gdb easiernormally you would want to track everything in git