This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
labs:disassembly [2017/03/23 16:58] manuelei |
labs:disassembly [2017/03/24 14:42] manuelei |
||
---|---|---|---|
Line 3: | Line 3: | ||
In this lab you learn how code and data are represented in memory and how to make low-level changes to a program in an assembly language. You will create modifications (mods) to a game. | In this lab you learn how code and data are represented in memory and how to make low-level changes to a program in an assembly language. You will create modifications (mods) to a game. | ||
- | ===== Exercises ===== | + | ===== Mount your home directory ===== |
+ | Use the following commands to connect to your remote home directory: | ||
- | * Download the ZIP file with the the material for this lab from http://www.disco.ethz.ch/lectures/ti2fp/exercises/disassembly.zip. Unpack it to some local folder. | + | * ''sudo apt install sshfs'' |
+ | * ''mkdir tardis-home/'' | ||
+ | * ''sshfs <yournethzlogin>@login.ee.ethz.ch: tardis-home/'' | ||
+ | |||
+ | Store all your files during this lab in a folder below tardis-home, so it is stored remotely in case your machine crashes. | ||
+ | |||
+ | ===== Exercises ===== | ||
+ | * 0) Download and unpack the ZIP file with the the material for this lab from http://www.disco.ethz.ch/lectures/ti2fp/exercises/disassembly.zip. | ||
* 1) Find the correct input to defuse the "bomb". | * 1) Find the correct input to defuse the "bomb". | ||
Line 14: | Line 22: | ||
===== Recommended Tools ===== | ===== Recommended Tools ===== | ||
- | |||
* Text editor: Geany | * Text editor: Geany | ||
* Hex editor: Bless | * Hex editor: Bless | ||
Line 24: | Line 31: | ||
===== Hints for SuperTuxKart Modding ===== | ===== Hints for SuperTuxKart Modding ===== | ||
- | * | + | * Some items and events slow karts down |