Memory Mapping
Hi all,
I want to get the access to task structs in domUs to get the memory addresses of code segments in each process. So how do I read/map the data correctly which I get through xc_map_foreign_range or xc_map_foreign_batch?
Thanks,
Harshan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 5 lines · Lakshitha Harshan
Hi all,
I want to get the access to task structs in domUs to get the memory addresses of code segments in each process. So how do I read/map the data correctly which I get through
xc_map_foreign_rangeorxc_map_foreign_batch?
You mean, how do I identify that the blob of memory you mapped is a task struct? I would suggest you look in the debuggers (gdbsx for example) and see how they figure this out.