I am using a computer architecture simulator. I want to get the virtual address of a shared library of a program. What I can get from the simulator is computer architecture state, such as registers.
Can I do some math to get the virtual address of a shared library given a specified shared library name?