Page 1 of 1

Listing 12-1: vmmap(1) for iOS

PostPosted: Wed Aug 06, 2014 5:28 pm
by ericgorr
The source code is a bit incomplete for:

http://www.newosxbook.com/src.jl?tree=listings&file=12-1-vmmap.c

DYLD_ALL_IMAGE_INFOS_OFFSET_OFFSET does not appear to be defined.

How should this constant be defined?

Re: Listing 12-1: vmmap(1) for iOS

PostPosted: Tue Apr 14, 2015 11:27 pm
by morpheus
oh geez. How did I miss this for months (blush).

DYLD_IMAGE_ constants and structures used to be in <mach-o/dyld_images.h> but Apple since pulled some of them out. So it's not that it's incomplete, it's that Apple realized they're leaking too much info. vmmap willl still compile fine, just remove the refs to this - Ill post an updated version as well.

Sorry for somehow not noticing this!