Hi,
I need to get the base addresses of all shared objects loaded by a particular process. The output of the command
Can anyone help? I don’t mind whether it’s C code or a shell command.
Thanks.
I need to get the base addresses of all shared objects loaded by a particular process. The output of the command
procstat -v pid
is incomplete; the PATH field is blank for most memory regions (well, all except the name of the main program and the dynamic loader). I know my library is loaded because I’m printing out text in its constructor. But procstat doesn’t show its name.Can anyone help? I don’t mind whether it’s C code or a shell command.
Thanks.