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

raywenderlich.com Team, Derek Selander

  • 出版商: Razeware LLC
  • 出版日期: 2017-03-14
  • 售價: $2,140
  • 貴賓價: 9.5$2,033
  • 語言: 英文
  • 頁數: 478
  • 裝訂: Paperback
  • ISBN: 1942878338
  • ISBN-13: 9781942878339
  • 相關分類: Python程式語言
  • 無法訂購

相關主題

商品描述

Explore Apple code through LLDB, Python and Dtrace!

Learn the powerful secrets of Apple's software debugger, LLDB, that can get more information out of any program than you ever thought possible.

In Advanced Apple Debugging and Reverse Engineering, you'll come to realize debugging is an enjoyable process to help you better understand software. Not only will you learn to find bugs faster, but you’ll also learn how other developers have solved problems similar to yours. You'll also learn how to create custom, powerful debugging scripts that will help you quickly find the secrets behind any bit of code that piques your interest.

Who This Book Is For

This book is for intermediate to advanced iOS/macOS developers who are already familiar with either Swift or Objective-C and want to take their debugging skills to the next level.

Topics Covered in Advanced Apple Debugging & Reverse Engineering
  • 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.

After reading this book, you'll have the tools and knowledge to answer even the most obscure question about your code — or someone else’s.

商品描述(中文翻譯)

探索 Apple 代碼,透過 LLDB、Python 和 Dtrace!

學習 Apple 軟體除錯器 LLDB 的強大秘密,讓你能從任何程式中獲取比你想像中更多的信息。

在《進階 Apple 除錯與逆向工程》中,你將會意識到除錯是一個愉快的過程,幫助你更好地理解軟體。你不僅會學會更快地找到錯誤,還會了解其他開發者是如何解決類似問題的。你還將學會如何創建自訂的強大除錯腳本,幫助你快速找到任何引起你興趣的代碼背後的秘密。

本書適合對象

本書適合中級到高級的 iOS/macOS 開發者,他們已經熟悉 Swift 或 Objective-C,並希望將他們的除錯技能提升到更高的水平。

《進階 Apple 除錯與逆向工程》涵蓋的主題

- LLDB 最大成就:精通 LLDB,了解其廣泛的子命令和選項列表。
- 1 和 0:學習可用於從程式中提取有用信息的低階組件,從組合語言調用約定到探索動態加載框架的過程。
- Python 的力量:使用 LLDB 的 Python 模組創建強大的自訂除錯命令,以檢查和增強現有程式。
- 無所不知:學習如何使用 Dtrace,一個動態追蹤框架,以及如何編寫 D 腳本來查詢你在 macOS 機器上曾經好奇的任何事情。
- 案例研究:快速找到並解決 iOS 和 macOS 開發者在日常開發工作流程中通常面臨的現實問題。

閱讀完本書後,你將擁有工具和知識,能夠回答關於你的代碼——或其他人的代碼——的任何晦澀問題。