strange vmaddr in infoArray of 32-Bit process
strange vmaddr in infoArray of 32-Bit process
- Subject: strange vmaddr in infoArray of 32-Bit process
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Mon, 09 Apr 2012 14:21:08 +0700
I am reading the dyld_all_image_infos->infoArray of another process.
All looks good. But for some 32-bit processes I get strange results.
E.g. a process has 15 infoArrays (out of a total of 202) which have a header with flags 0x100085, filetype 0x6; the imageFilePath of the first of these is: /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
and another 4 with flags 0x85, filetype 0x8 - these all have the imageFilePath = cl_kernels.
The problem: the LC_SEGMENTs of these 19 strange infoArrays have vmaddr which are NOT the same, as the result of vmmmap.
The content of vmaddr + size = 0-06000 -- but vmmap has:
__TEXT 03786000-0378c000 [ 24K] r-x/rwx SM=COW /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengine.dylib
That is: the header has the original (unshifted) address. How do I know their real address?
Kind regards,
Gerriet.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden