Home>Courses>Debugging, Disassembly & Reversing in Linux for x64 Architecture

Debugging, Disassembly & Reversing in Linux for x64 Architecture

Gain insights into using GDB for debugging in Linux. Explore disassembly, memory investigation, and register updates. Learn about pointers, stack, and function parameters in x64 architecture.

Intermediate

43 Lessons

16h

Certificate of Completion

Gain insights into using GDB for debugging in Linux. Explore disassembly, memory investigation, and register updates. Learn about pointers, stack, and function parameters in x64 architecture.
AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

1 Assessment
14 Playgrounds
5 Quizzes
Course Overview
What You'll Learn
Course Content

Course Overview

GNU Debugger (GDB) is used for debugging C/C++ programs in LINUX/UNIX environments. It is a good tool to investigate what is happening inside a program, and how the contents inside the memory are changed with the execution of the program. The main focus of the course is the disassembly of the program, where we'll use simple operations in C. With the help of GDB, we'll examine the contents of the registers and memory. We'll also learn how they are changed while executing basic operations. We’ll then explore...Show More
GNU Debugger (GDB) is used for debugging C/C++ programs in LINUX/UNIX environments. It is a good tool to investigate what is hap...Show More

What You'll Learn

A familiarity with disassembly in GDB environment of simple C/C++ programs
A good understanding of how to debug programs with a cross-sectional view to the contents of registers, stack and memory
The ability to use GDB as a dump analysis tool
Hands-on experience with C/C++ programs from the disassembly output
A familiarity with disassembly in GDB environment of simple C/C++ programs

Show more

Course Content

1.

Introduction to the Course

1 Lessons

Get familiar with GDB for debugging, disassembly, and program reconstruction in Linux.

2.

Memory, Registers, and Simple Arithmetic

5 Lessons

Grasp the fundamentals of memory, registers, arithmetic operations, and their representations in assembly language.

3.

Code Optimization

3 Lessons

Go hands-on with debugging and optimizing code using GDB to enhance performance.

4.

Number Representations

2 Lessons

Grasp the fundamentals of number systems, including decimal, ternary, binary, and hexadecimal.

6.

Bytes, Words, Double, and Quad Words

2 Lessons

Investigate memory granularity and layout in x64 Linux, focusing on bytes to quadwords.

7.

Pointers to Memory

3 Lessons

Practice using pointers, their types, initialization, and debugging in memory management.

8.

Logical Instructions and RIP

4 Lessons

Step through logical instructions, zeroing techniques, and the role of the Instruction Pointer.

9.

Reconstructing a Program with Pointers

3 Lessons

Unpack the core of disassembling, reconstructing, and optimizing C/C++ code with pointers.

10.

Memory and Stacks

3 Lessons

Go hands-on with stacks in memory, function calls, and GDB debugging techniques.

11.

Frame Pointer and Local Variables

4 Lessons

Break down the steps to understand stack functionality, function prolog/epilog, and local variables.

12.

Function Parameters

2 Lessons

Solve problems in function parameter passing and stack memory analysis in x64 Linux systems.

13.

More Instructions

2 Lessons

Simplify complex topics of CPU flags, conditional jumps, and assembly instructions.

14.

Function Pointer Parameters

2 Lessons

Practice using function pointers in projects, dissembling with GDB, and enhancing debugging skills.

15.

Summary of Code Disassembly Patterns

1 Lessons

Break down key concepts in debugging, disassembly, and reversing for x64 Linux.

Course Author

Trusted by 2.6 million developers working at companies

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath