Questions and Answers about all things *OS (macOS, iOS, tvOS, watchOS)


Postby Delphi » Tue Mar 01, 2016 8:00 pm

Hi there! I wanted to ask a question about the above function (mach_vm_region_recurse()). In the book, there's a heading named "Experiment: Emulating vmmap(1) with mach_vm_region_recurse", but then the code sample goes on to use mach_vm_region(). Was this just a typo in the heading, or was the code sample changed at last minute?
Posts: 1
Joined: Tue Mar 01, 2016 7:54 pm

Re: mach_vm_region_recurse()

Postby morpheus » Wed Mar 02, 2016 2:24 am

Changed at the last minute; _recurse is a more efficient function that also goes into submaps. You could also use the non _recurse variant, but it's more code..
Site Admin
Posts: 717
Joined: Thu Apr 11, 2013 6:24 pm

Return to Questions and Answers

Who is online

Users browsing this forum: No registered users and 5 guests