Linux and assembly code

In this section, we will read about the assembly language. The objective is to take a C code, translate it to an assembly, and see the proceedings. The sample C code that we will be loading and using is as follows:

Let's now run this program from the command line as ./buff and try to attach this executable program to the Evans debugger as follows:

We now attach our running code to the launched Evans debugger from the GUI by going to the File | Attach option. We attach the executable as follows:

When we click on OK

Get Hands-On Penetration Testing with Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.