Reading virtual address for any physical address

TRINATH KARRI

New Member
Joined
Mar 18, 2021
Messages
4
Reaction score
0
Credits
59
How to read virtual address for a physical address without using devmem2 command. Is there any function to do so ?
 


NorthWest

Member
Joined
Nov 4, 2021
Messages
34
Reaction score
24
Credits
395
I believe the information (virtual addresses) you seek is in /proc/pid/maps but any function to extract data would likely have to be a script written to accomplish that task. I guess someone may have written such scripts but I'm not familiar with any.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!


Top