HomeCoursesFoundations of Linux ARM64: Debug, Disassemble, and Reverse

Intermediate

12h

Updated 5 months ago

Foundations of Linux ARM64: Debug, Disassemble, and Reverse
Save

Gain insights into debugging C/C++ programs on Linux ARM64, delve into program disassembly, probe memory/register changes using GDB, and discover techniques for core dump analysis and assembly-level debugging.
Join 2.7 million developers at
Overview
Content
Reviews
Related
The 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. You’ll use the Linux ARM64 which is a popular RISC architecture. You’ll use simple operations in C/C++ such as assignment, increment, addition, multiplication. With the help of the GDB, you will probe into the contents of the registers and memory. You'll learn how they are changed while executing basic operations. With the help of the disassembly output, you’ll learn how a simple C/C++ program can be reconstructed. The disassembly output is important for debugging and core dump analysis. By the end of this course, you should be able to debug the programs and memory contents at assembly level when a program executes or probe into the problem when a program crashes.
The GNU Debugger (GDB) is used for debugging C/C++ programs in LINUX/UNIX environments. It is a good tool to investigate what is...Show More

WHAT YOU'LL LEARN

Familiarity with disassembly in the GDB environment of simple C/C++ programs
An understanding of how to debug programs with a cross-sectional view to the contents of registers, stack, and memory
Ability to use GDB as a dump analysis tool
Hands-on experience to reconstruct simple C/C++ programs from the disassembly output
A deeper understanding of the basic assembly language programming skills
Familiarity with disassembly in the GDB environment of simple C/C++ programs

Show more

Content

1.

Introduction to the Course

1 Lessons

Get familiar with Linux ARM64 debugging, disassembly, and reverse engineering tools.

2.

Memory, Registers, and Simple Arithmetic

5 Lessons

Unpack the core of memory and registers, arithmetic operations, and their implementation in ARM64.

3.

Code Optimization

3 Lessons

Go hands-on with GDB disassembly for both non-optimized and optimized C/C++ code.

4.

Number Representations

2 Lessons

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

6.

Bytes, Half Words, Words, and Double Words

2 Lessons

Investigate ARM64 memory management, organization, and the relationship between bytes, words, and memory addresses.

7.

Pointers to Memory

3 Lessons

Practice using pointers for memory management, addressing types, and debugging techniques in Linux ARM64.

8.

Logical Instructions and PC

4 Lessons

Get familiar with logical operations, zeroing methods, and the instruction pointer in ARM64.

9.

Reconstructing a Program with Pointers

3 Lessons

Unpack the core of program reconstruction using disassembly output and optimization techniques.

10.

Memory and Stacks

3 Lessons

Break apart stack operations, memory roles, and GDB exploration in ARM64 Linux.

11.

Frame Pointer and Local Variables

4 Lessons

Enhance your skills in stack management, function prolog/epilog, and local variable debugging on ARM64.

12.

Function Parameters

2 Lessons

Take a closer look at ARM64 function parameters, stack usage, and debugging with GDB.

13.

More Instructions

2 Lessons

Simplify complex topics like PSTATE flags, conditional jumps, TST and CMP instructions.

14.

Function Pointer Parameters

2 Lessons

Practice using GDB to explore function parameter implementation and arithmetic examples.

15.

Conclusion

2 Lessons

Get familiar with ARM64 function prologs, epilogs, parameter passing, and practical disassembly.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.

Course Author:

Developed by MAANG Engineers
Every Educative resource is designed by our in-house team of ex-MAANG software engineers and PhD computer science educators — subject matter experts who’ve shipped production code at scale and taught the theory behind it. The goal is to get you hands-on with the skills you need to stay ahead in today's constantly evolving tech landscape. No videos, no fluff — just interactive, project-based learning with personalized feedback that adapts to your goals and experience.

Trusted by 2.7 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.

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