Advanced Apple Debugging & Reverse Engineering: Exploring Apple code through LLBD, Python, and DTrace

PDF
- eBook:Advanced Apple Debugging & Reverse Engineering: Exploring Apple code through LLBD, Python, and DTrace
- Author:Derek Selander
- Edition:-
- Categories:
- Data:January 21, 2019
- ISBN:1942878672
- ISBN-13:9781942878674
- Language:English
- Pages:561 pages
- Format:PDF
- LLDB Max Achievement: Master LLDB and learn about its extensive list of subcommands and options.
- 1's and 0's: Learn the low-level components available to help extract useful information from a program, from assembly calling conventions to exploring the process of dynamically-loaded frameworks.
- The Power of Python: Use LLDB’s Python module to create powerful custom debugging commands to introspect and augment existing programs.
- Nothing is Secret: Learn how to use DTrace, a dynamic tracing framework, and how to write D scripts to query anything you were ever curious about on your macOS machine.
- Case Studies: Quickly find and solve the real-world issues that iOS and macOS developers typically face in their day-to-day development workflow.
-
Content
Chapter 1: Getting Started
Chapter 2: Help & Apropos
Chapter 3: Attaching with LLDB
Chapter 4: Stopping in Code
Chapter 5: Expression
Chapter 6: Thread, Frame & Stepping Around
Chapter 7: Image
Chapter 8: Watchpoints
Chapter 9: Persisting & Customizing Commands
Chapter 10: Regex Commands
Section II: Understanding Assembly
Chapter 11: Assembly Register Calling Convention
Chapter 12: Assembly & Memory
Chapter 13: Assembly & the Stack
Section III: Low Level
Chapter 14: Hello, Ptrace
Chapter 15: Dynamic Frameworks
Chapter 16: Hooking & Executing Code with dlopen & dlsym
Chapter 17: Exploring & Method Swizzling Objective-C Frameworks
Chapter 18: Hello, Mach-O
Chapter 19: Mach-O Fun
Chapter 20: Code Signing
Section IV: Custom LLDB Commands
Chapter 21: Hello, Script Bridging
Chapter 22: Debugging Script Bridging
Chapter 23: Script Bridging Classes & Hierarchy
Chapter 24: Script Bridging with Options & Arguments
Chapter 25: Script Bridging with SBValue & Memory
Chapter 26: SB Examples, Improved Lookup
Chapter 27: SB Examples, Resymbolicating a Stripped ObjC Binary
Chapter 28: SB Examples, Malloc Logging
Section V: DTrace
Chapter 29: Hello, DTrace
Chapter 30: Intermediate DTrace
Chapter 31: DTrace vs. objc_msgSend
Free sample
-