Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books even without a Kindle device-with the FREE Kindle app for smartphones and tablets.
Mac OS X and iOS Internals: To the Apple's Core

Mac OS X and iOS Internals: To the Apple's Core [Kindle Edition]

Jonathan Levin

Print List Price: 33.99
Kindle Price: 18.78 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: 15.21 (45%)
* Unlike print books, digital books are subject to VAT.


Amazon Price New from Used from
Kindle Edition 18.78  
Paperback 22.09  
Kid's and Teen books from £0.99 on Kindle
Browse our selection of top children's and teen title in our one week sale, with top titles from only £0.99.Browse the sale here

Product Description

Product 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.

  • 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

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 ( includes sample programs, freely downloadable tools, updated references, and bonus additions. Wrox 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. 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.

Product details

  • Format: Kindle Edition
  • File Size: 17011 KB
  • Print Length: 864 pages
  • Publisher: Wrox; 1 edition (5 Nov 2012)
  • Sold by: Amazon Media EU S. r.l.
  • Language: English
  • ASIN: B00A6WOS1Y
  • Text-to-Speech: Enabled
  • X-Ray:
  • Amazon Bestsellers Rank: #204,078 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Author

Discover books, learn about writers, and more.

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on (beta) 4.4 out of 5 stars  14 reviews
14 of 14 people found the following review helpful
5.0 out of 5 stars Awesome 2 Nov 2012
By Daniel Zimmerman - Published on
Format:Paperback|Verified Purchase
So I've got an entire bookshelf dedicated to lower level software books and this is by far the most versatile and most information packed. It is incredibly terse and comprehensive. I can see anyone from just an average user that wants to learn about macs to a senior developer who has much experience in c and even objective c but not necessarily the inner workings of Darwin find a lot of use from this book. I have not finished it yet (its almost 1000 pages) but I have already learned enough to fill 10 buckets. What I also love is how it refers to other books that go far more in depth on each topic. So yes in a sense this book is comprised of summaries but they still go in depth enough for one to understand the gist of whats going on. I can say from the start that the chapter on EFI is pretty phenomenal and that coupled with all the information on the mach architecture has taught me an incredible amount. Overall if you are interested in learning about macs and how they work, or are a programmer and want to learn how to take advantage of some lower level stuff or if you're more in the hacker field and enjoy seeing how things work under the hood and how you can manipulate them to your advantage (me) you will definitely enjoy this book.
6 of 6 people found the following review helpful
5.0 out of 5 stars Excellent book! 11 Dec 2012
By rgviva - Published on
This book is a result of an extensive, epic research made by the author. Yes it is all open source, you could go an read the code to understand the architecture - but this is why you have books! It covers the subject really thoroughly and written in an easy to read format. The book contains some amazing reverse engineering work which is just cool and revealing things never covered since Amit's book. I wonder what Apple engineers think of this book. I bet they could buy it for their new recruits!
8 of 9 people found the following review helpful
5.0 out of 5 stars A Perfect Security Resource as Well 18 Dec 2012
By Jason Haddix - Published on
Format:Paperback|Verified Purchase
Doing iOS and Mac OSX security research becomes pretty hairy with the mountain of code and nature of objective-c and ARM. This book provides a reference that has just simply not been available in any other book. Our mobile penetration testers at Fortify are all reading this release right now and signing it's praises. We look forward to it aiding our automation efforts in identification of security vulnerabilities of iOS code. Also, the new command line tools and descriptions of them alone are worth the book cost.
8 of 10 people found the following review helpful
4.0 out of 5 stars A worthy successor. 3 Nov 2012
By RichL - Published on
Format:Paperback|Verified Purchase
This is best book on OS X internals since Amit Singh's Mac OS X Internals: A Systems Approach, and certainly a good companion to the iOS Hacker's Handbook.
It covers OS X up to Lion and iOS up to iOS 5, which is understandable as it would be almost impossible to publish an up to date book given Apple's release schedule.

I would certainly recommend this to people look for a modern OS X internals reference.
5 of 6 people found the following review helpful
5.0 out of 5 stars Brilliant 11 Nov 2012
By Mike Park - Published on
I picked this up as a reference only. But once I started reading it, I was hooked. By Chapter 10 I had learned more about XNU OSX and iOS than I had learned from Zdzarski's book and IOSHH combined.

If you want to understand, truly understand Apple OSes. This is the book. The software and exercises make it real, and increase the understanding of the text immensely.

Great book.
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category