Mac OS X and iOS Internals: To the Apple’s Core

Mac OS X and iOS Internals: To the Apple’s Core
  • Paperback: 864 pages
  • Publisher: WOW! eBook; 1st edition (November 6, 2012)
  • Language: English
  • ISBN-10: 1118057651
  • ISBN-13: 978-1118057650
eBook Description:

An in-depth look into Mac OS X and iOS kernels

Powering Macs, iPhones, iPads and more, OS X and iOS are becoming ubiquitous. When it comes to documentation, however, much of them are shrouded in mystery. Cocoa and Carbon, the application frameworks, are neatly described, but system programmers find the rest lacking. This indispensable guide illuminates the darkest corners of those systems, starting with an architectural overview, then drilling all the way to the core. From architecture to implementation, this book is essential reading if you want to get serious about the internal workings of Mac OS X and iOS.

Mac OS X and iOS Internals: To the Apple’s Core: Peeling Apple’s Operating Systems

System-level developers, kernel hackers, and intrigued Apple-lytes, take heed: This book lets you explore the nooks and crannies of Mac OS X and iOS, delving into the architecture of both systems, and picking up where the frameworks (and documentation) leave off. It offers clear, detailed explanation of the inner workings of Apple’s systems, including proprietary APIs, most of which are documented for the first time.

As you traverse the architecture, moving from user to kernel mode, each layer and component is unraveled with annotated code samples and hands-on experiments, comparing and contrasting its implementation in both OSes.

  • Provides you with a top down view of OS X and iOS
  • Walks you through the phases of system startup both Mac (EFi) and mobile (iBoot)
  • Explains how processes, threads, virtual memory, and filesystems are maintained
  • Covers the security architecture
  • Reviews the internal Apis used by the system BSD and Mach
  • Dissects the kernel, XNU, into its sub components: Mach, the BSD Layer, and I/o kit, and explains each in detail
  • Explains the inner workings of device drivers

From architecture to implementation, this book is essential reading if you want to get serious about the internal workings of Mac OS X and iOS.

From the Back Cover

Mac OS X and iOS Internals: To the Apple’s Core: Peeling Apple’s Operating Systems

System-level developers, kernel hackers, and intrigued Apple-lytes, take heed: This book lets you explore the nooks and crannies of Mac OS X and iOS, delving into the architecture of both systems, and picking up where the frameworks (and documentation) leave off. It offers clear, detailed explanation of the inner workings of Apple’s systems, including proprietary APIs, most of which are documented for the first time.

As you traverse the architecture, moving from user to kernel mode, each layer and component is unraveled with annotated code samples and hands-on experiments, comparing and contrasting its implementation in both OSes. Topics include:

  • The boot process: Mac’s EFI, iOS’s iBoot, and kernel startup
  • Processes, threads, and virtual memory management
  • Debugging and profiling, using DTrace, ptrace, and hidden system calls
  • The system level APIs: POSIX calls, Mach traps, and OS X/iOS proprietary
  • File system architecture, including VFS and HFS+
  • Network architecture: from sockets to interfaces, and network drivers
  • Kernel extensions, drivers, and a discussion of I/O Kit architecture
  • Security features, Mandatory Access Control, and iOS jail

The companion web site (http://www.newosxbook.com) includes sample programs, freely downloadable tools, updated references, and bonus additions.

WOW! eBook Professional guides are planned and written by working programmers to meet the real-world needs of programmers, developers, and IT professionals. Focused and relevant, they address the issues technology professionals face every day. They provide examples, practical solutions, and expert education in new technologies, all designed to help programmers do a better job.

wrox.com

Programmer Forums

Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.

Code Downloads

Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.

Read More

Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.

An in-depth look into Mac OS X and iOS kernels

Powering Macs, iPhones, iPads and more, OS X and iOS are becoming ubiquitous. When it comes to documentation, however, much of them are shrouded in mystery. Cocoa and Carbon, the application frameworks, are neatly described, but system programmers find the rest lacking. This indispensable guide illuminates the darkest corners of those systems, starting with an architectural overview, then drilling all the way to the core.

Evaluate & Comment:

Overall rating
  • 5 Starts
    0
  • 4 Starts
    0
  • 3 Starts
    0
  • 2 Starts
    0
  • 1 Starts
    0

Top