In this section, we will learn about assembly language. Our objective is to take C code, translate it to an assembly language, and take a look at what happens.
The following is the sample C code that we will be loading and using in order to learn about assembly language:
We will run this piece of code in the immunity debugger, compiling it to a file called Bufferoverflow.exe. Let's start by opening it with the immunity debugger:
Note that at the top right, we have a Registers section. The first register, EAX, is the accumulator. ...