This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10228] Add more vma-tracking for user space symbol/backtraces
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 5 Jan 2010 08:50:13 -0000
- Subject: [Bug translator/10228] Add more vma-tracking for user space symbol/backtraces
- References: <20090602132248.10228.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mjw at redhat dot com 2010-01-05 08:50 -------
A quick workaround if you need all modules/shared libraries for a program:
stap <...> $(ldd /path/to/prog | grep '=> /' | cut -f2 -d\> | cut -f2 -d\ | sed
"s/^\//\ -d\ \//" | xargs)
Note that running ldd is apparently not safe on untrusted binaries:
http://www.catonmat.net/blog/ldd-arbitrary-code-execution/
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|mjw at redhat dot com |systemtap at sources dot
| |redhat dot com
Status|ASSIGNED |NEW
http://sourceware.org/bugzilla/show_bug.cgi?id=10228
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.