- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to get physical address accesses of a program with the help of PIN? I didn't see related things in the document
Can someone shed a light on that?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Assume there is a memory instruction and it is going to load something. An address is generated and I want to record that. At application level, the address is virtual, but the at the end of the day, there should be a physical address for cache/memory lookup.
I found this topic, but didn't found anything more than that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Linux systems there is an interface that a user process can use to convert from Virtual to Physical addresses: /proc/self/pagemap
Use of the interface is documented at https://www.kernel.org/doc/Documentation/vm/pagemap.txt
Additional information about the page's translation is available using /proc/kpageflags, but that requires root access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much. I am working on that will come back if there is any issue...

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page