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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.