Book description
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 background 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.
- 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
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.
Table of contents
- Cover
- Front Matter
- 1. Memory, Registers, and Simple Arithmetic
- 2. Code Optimization
- 3. Number Representations
- 4. Pointers
- 5. Bytes, Words, Double, and Quad Words
- 6. Pointers to Memory
- 7. Logical Instructions and RIP
- 8. Reconstructing a Program with Pointers
- 9. Memory and Stacks
- 10. Frame Pointer and Local Variables
- 11. Function Parameters
- 12. More Instructions
- 13. Function Pointer Parameters
- 14. Summary of Code Disassembly Patterns
- Back Matter
Product information
- Title: Foundations of Linux Debugging, Disassembling, and Reversing: Analyze Binary Code, Understand Stack Memory Usage, and Reconstruct C/C++ Code with Intel x64
- Author(s):
- Release date: January 2023
- Publisher(s): Apress
- ISBN: 9781484291535
You might also like
book
Foundations of ARM64 Linux Debugging, Disassembling, and Reversing: Analyze Code, Understand Stack Memory Usage, and Reconstruct Original C/C++ Code with ARM64
Gain a solid understanding of how Linux C and C++ compilers generate binary code. This book …
book
C++ Programming for Linux Systems
Boost your C++ skills by working through realistic examples and exploring system specifications Key Features Master …
book
Beginning x64 Assembly Programming: From Novice to AVX Professional
Program in assembly starting with simple and basic programs, all the way up to AVX programming. …
book
Practical System Programming with C: Pragmatic Example Applications in Linux and Unix-Based Operating Systems
This book teaches system programming with the latest versions of C through a set of practical …