Foundations of Linux Debugging, Disassembling, and Reversing
eBook - ePub

Foundations of Linux Debugging, Disassembling, and Reversing

Analyze Binary Code, Understand Stack Memory Usage, and Reconstruct C/C++ Code with Intel x64

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Foundations of Linux Debugging, Disassembling, and Reversing

Analyze Binary Code, Understand Stack Memory Usage, and Reconstruct C/C++ Code with Intel x64

About this book

Review topics ranging from Intel x64 assembly language instructions and writing programs in assembly language, to pointers, live debugging, and static binary analysis of compiled C and C++ code. This book is ideal for Linux desktop and cloud developers. 

Using the latest version of Debian, you'll focus on the foundations of the diagnostics of core memory dumps, live and postmortem debugging of Linux applications, services, and systems, memory forensics, malware, and vulnerability analysis. This requires an understanding of x64 Intel assembly language and how C and C++ compilers generate code, including memory layout and pointers.

This book provides the back­ground knowledge and practical foundations you'll need in order to master internal Linux program structure and behavior. It consists of practical step-by-step exercises of increasing complexity with explanations and ample diagrams. You'll also work with the GDB debugger and use it for disassembly and reversing.  

By the end of the book, you will have a solid understanding of how Linux C and C++ compilers generate binary code. In addition, you will be able to analyze such code confidently, understand stack memory usage, and reconstruct original C/C++ code. Foundations of Linux Debugging, Disassembling, and Reversing is the perfect companion to Foundations of ARM64 Linux Debugging, Disassembling, and Reversing for readers interested in the cloud or cybersecurity.


What You'll Learn
  • Review the basics of x64 assembly language
  • Examine the essential GDB debugger commands for debugging and binary analysis 
  • Study C and C++ compiler code generation with and without compiler optimizations 
  • Look at binary code disassembly and reversing patterns
  • See how pointers in C and C++ are implemented and used
        Who This Book Is For

        Software support and escalation engineers, cloud security engineers, site reliability engineers, DevSecOps, platform engineers, software testers, Linux C/C++ software engineers and security researchers without Intel x64 assembly language background, beginners learning Linux software reverse engineering techniques, and engineers coming from non-Linux environments.


        Frequently asked questions

        Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
        No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
        Perlego offers two plans: Essential and Complete
        • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
        • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
        Both plans are available with monthly, semester, or annual billing cycles.
        We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
        Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
        Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
        Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
        Yes, you can access Foundations of Linux Debugging, Disassembling, and Reversing by Dmitry Vostokov in PDF and/or ePUB format, as well as other popular books in Computer Science & Open Source Programming. We have over one million books available in our catalogue for you to explore.

        Information

        Table of contents

        1. Cover
        2. Front Matter
        3. 1. Memory, Registers, and Simple Arithmetic
        4. 2. Code Optimization
        5. 3. Number Representations
        6. 4. Pointers
        7. 5. Bytes, Words, Double, and Quad Words
        8. 6. Pointers to Memory
        9. 7. Logical Instructions and RIP
        10. 8. Reconstructing a Program with Pointers
        11. 9. Memory and Stacks
        12. 10. Frame Pointer and Local Variables
        13. 11. Function Parameters
        14. 12. More Instructions
        15. 13. Function Pointer Parameters
        16. 14. Summary of Code Disassembly Patterns
        17. Back Matter