is mach_vm_region confused or am I?
is mach_vm_region confused or am I?
- Subject: is mach_vm_region confused or am I?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sat, 14 Apr 2012 08:47:41 +0700
Doing:
pid_t pid = ... (of any 64-Bit process)
vm_map_t target_task = task_for_pid( pid ...)
mach_vm_address_t address = ...
mach_vm_size_t size
mach_vm_region( target_task, &address, &size, VM_REGION_TOP_INFO ...)
I get:
size = 0x1000 (i.e. one page)
top.shared_pages_resident = 2
When I do proc_regionfilename( pid, address, ... ) I get: "/usr/lib/dyld".
Is mach_vm_region not to be trusted? Am I misunderstanding something?
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